wp_die(__('You do not have permission to access this page.'));
$title=__('Network Options');
$parent_file='settings.php';
add_contextual_help($current_screen,
'<p>'.__('This screen sets and changes options for the network as a whole. The first site is the main site in the network and network options are pulled from that original site’s options.').'</p>'.
'<p>'.__('Operational settings has fields for the network’s name and admin email.').'</p>'.
'<p>'.__('Dashboard Site is an option to give a site to users who do not have a site on the system. Their default role is Subscriber, but that default can be changed. The Admin Notice Feed can provide a notice on all dashboards of the latest post via RSS or Atom, or provide no such notice if left blank.').'</p>'.
'<p>'.__('Registration settings can disable/enable public signups. If you let others sign up for a site, install spam plugins. Spaces, not commas, should separate names banned as sites for this network.').'</p>'.
'<p>'.__('New site settings are defaults applied when a new site is created in the network. These include welcome email for when a new site or user account is registered, and what᾿s put in the first post, page, comment, comment author, and comment URL.').'</p>'.
'<p>'.__('Upload settings control the size of the uploaded files and the amount of available upload space for each site. You can change the default value for specific sites when you edit a particular site. Allowed file types are also listed (space separated only).').'</p>'.
'<p>'.__('Checkboxes for media upload buttons set which are shown in the visual editor. If unchecked, a generic upload button is still visible; other media types can still be uploaded if on the allowed file types list.').'</p>'.
'<p>'.__('Menu setting enables/disables the plugin menus from appearing for non super admins, so that only super admins, not site admins, have access to activate plugins.').'</p>'.
'<p>'.__('Super admins can no longer be added on the Options screen. You must now go to the list of existing users on Super Admin > Users and click on Username or the Edit action link below that name. This goes to an Edit User page where you can check a box to grant super admin privileges.').'</p>'.
'<p><strong>'.__('For more information:').'</strong></p>'.
<?phpprintf(__('Registration and support emails will come from this address. An address such as <code>support@%s</code> is recommended.'),$current_site->domain);?>
</td>
</tr>
</table>
<h3><?php_e('Registration Settings');?></h3>
<tableclass="form-table">
<trvalign="top">
<thscope="row"><?php_e('Allow new registrations')?></th>
<?php
if(!get_site_option('registration'))
update_site_option('registration','none');
$reg=get_site_option('registration');
?>
<td>
<label><inputname="registration"type="radio"id="registration1"value="none"<?phpchecked($reg,'none')?> /> <?php _e( 'Registration is disabled.' ); ?></label><br />
<label><inputname="registration"type="radio"id="registration2"value="user"<?phpchecked($reg,'user')?> /> <?php _e( 'User accounts may be registered.' ); ?></label><br />
<label><inputname="registration"type="radio"id="registration3"value="blog"<?phpchecked($reg,'blog')?> /> <?php _e( 'Logged in users may register new sites.' ); ?></label><br />
<label><inputname="registration"type="radio"id="registration4"value="all"<?phpchecked($reg,'all')?> /> <?php _e( 'Both sites and user accounts can be registered.' ); ?></label><br />
_e('If registration is disabled, please set <code>NOBLOGREDIRECT</code> in <code>wp-config.php</code> to a URL you will redirect visitors to if they visit a non-existent site.');
<label><inputname="registrationnotification"type="checkbox"id="registrationnotification"value="yes"<?phpchecked(get_site_option('registrationnotification'),'yes')?> /> <?php _e( 'Send the network admin an email notification every time someone registers a site or user account.' ) ?></label>
</td>
</tr>
<trvalign="top"id="addnewusers">
<thscope="row"><?php_e('Add New Users')?></th>
<td>
<label><inputname="add_new_users"type="checkbox"id="add_new_users"value="1"<?phpchecked(get_site_option('add_new_users'))?> /> <?php _e( 'Allow site administrators to add new users to their site via the "Users->Add New" page.' ); ?></label>
<?php_e('The media upload buttons to display on the “Write Post” page. Make sure you update the allowed upload file types below as well.');?></td>