Changeset 13379 for trunk/wp-admin/ms-options.php
- Timestamp:
- 02/24/2010 07:56:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-options.php
r13301 r13379 22 22 <div class="wrap"> 23 23 <?php screen_icon(); ?> 24 <h2><?php _e(' SiteOptions') ?></h2>24 <h2><?php _e('Network Options') ?></h2> 25 25 <form method="post" action="ms-edit.php?action=siteoptions"> 26 26 <?php wp_nonce_field( "siteoptions" ); ?> 27 <h3><?php _e('Operational Settings <em>(These settings cannot be modified by blogowners)</em>') ?></h3>28 <table class="form-table"> 29 <tr valign="top"> 30 <th scope="row"><?php _e(' SiteName') ?></th>27 <h3><?php _e('Operational Settings <em>(These settings cannot be modified by site owners)</em>') ?></h3> 28 <table class="form-table"> 29 <tr valign="top"> 30 <th scope="row"><?php _e('Network Name') ?></th> 31 31 <td> 32 32 <input name="site_name" type="text" id="site_name" style="width: 95%" value="<?php echo esc_attr($current_site->site_name) ?>" size="45" /> … … 37 37 38 38 <tr valign="top"> 39 <th scope="row"><?php _e(' SiteAdmin Email') ?></th>39 <th scope="row"><?php _e('Network Admin Email') ?></th> 40 40 <td> 41 41 <input name="admin_email" type="text" id="admin_email" style="width: 95%" value="<?php echo esc_attr( get_site_option('admin_email') ) ?>" size="45" /> … … 53 53 <td> 54 54 <label><input name="registration" type="radio" id="registration1" value='none' <?php checked( get_site_option('registration'), 'none') ?> /> <?php _e('Disabled'); ?></label><br /> 55 <label><input name="registration" type="radio" id="registration2" value='all' <?php checked( get_site_option('registration'), 'all') ?> /> <?php _e('Enabled. Blogs and user accounts can be created.'); ?></label><br />55 <label><input name="registration" type="radio" id="registration2" value='all' <?php checked( get_site_option('registration'), 'all') ?> /> <?php _e('Enabled. Sites and user accounts can be created.'); ?></label><br /> 56 56 <label><input name="registration" type="radio" id="registration3" value='user' <?php checked( get_site_option('registration'), 'user') ?> /> <?php _e('Only user account can be created.'); ?></label><br /> 57 <label><input name="registration" type="radio" id="registration4" value='blog' <?php checked( get_site_option('registration'), 'blog') ?> /> <?php _e('Only logged in users can create new blogs.'); ?></label><br />58 <p><?php _e('Disable or enable registration and who or what can be registered. (Default= all)'); ?></p>57 <label><input name="registration" type="radio" id="registration4" value='blog' <?php checked( get_site_option('registration'), 'blog') ?> /> <?php _e('Only logged in users can create new sites.'); ?></label><br /> 58 <p><?php _e('Disable or enable registration and who or what can be registered. (Default=Disabled)'); ?></p> 59 59 <?php if ( is_subdomain_install() ) { 60 echo '<p>' . __('If registration is disabled, please set "NOBLOGREDIRECT" in wp-config.php to a url you will redirect visitors to if they visit a non existant blog.') . '</p>';60 echo '<p>' . __('If registration is disabled, please set "NOBLOGREDIRECT" in wp-config.php to a url you will redirect visitors to if they visit a non existant site.') . '</p>'; 61 61 } ?> 62 62 </td> … … 72 72 <input name="registrationnotification" type="radio" id="registrationnotification1" value='yes' <?php checked( get_site_option('registrationnotification'), 'yes') ?> /> <?php _e('Yes'); ?><br /> 73 73 <input name="registrationnotification" type="radio" id="registrationnotification2" value='no' <?php checked( get_site_option('registrationnotification'), 'no') ?> /> <?php _e('No'); ?><br /> 74 <?php _e('Send the site admin an email notification every time someone registers a blogor user account.') ?>74 <?php _e('Send the network admin an email notification every time someone registers a site or user account.') ?> 75 75 </td> 76 76 </tr> … … 80 80 <td> 81 81 <a name='addnewusers'></a> 82 <input name="add_new_users" type="radio" id="add_new_users1" value='1' <?php checked( get_site_option('add_new_users') ) ?> /> <?php _e('Yes'); ?><br />83 <input name="add_new_users" type="radio" id="add_new_users2" value='0' <?php checked( get_site_option('add_new_users'), 0 ) ?> /> <?php _e('No'); ?><br />84 <?php _e('Allow blog administrators to add new users to their blogvia the Users->Add New page.') ?>85 </td> 86 </tr> 87 88 <tr valign="top"> 89 <th scope="row"><?php _e('Dashboard Blog') ?></th>82 <input name="add_new_users" type="radio" id="add_new_users1" value='1' <?php checked( get_site_option('add_new_users'), 1 ) ?> /> <?php _e('Yes'); ?><br /> 83 <input name="add_new_users" type="radio" id="add_new_users2" value='0' <?php checked( get_site_option('add_new_users'), 0 ) ?> /> <?php _e('No'); ?><br /> 84 <?php _e('Allow site administrators to add new users to their site via the Users->Add New page.') ?> 85 </td> 86 </tr> 87 88 <tr valign="top"> 89 <th scope="row"><?php _e('Dashboard Site') ?></th> 90 90 <td> 91 91 <?php … … 99 99 <input name="dashboard_blog" type="text" id="dashboard_blog" value="<?php echo esc_attr($blogname); ?>" size="30" /> 100 100 <br /> 101 <?php _e( "Blogname ('dashboard', 'control', 'manager', etc) or blog id.<br />New users are added to this blog as subscribers (or the user role defined below) if they don't have a blog. Leave blank for the main blog. 'Subscriber' users on old blog will be moved to the new blog if changed. New blogwill be created if it does not exist." ); ?>101 <?php _e( "Blogname ('dashboard', 'control', 'manager', etc) or blog id.<br />New users are added to this site as subscribers (or the user role defined below) if they don't have a site. Leave blank for the main site. 'Subscriber' users on old site will be moved to the new site if changed. New site will be created if it does not exist." ); ?> 102 102 </td> 103 103 </tr> … … 110 110 </select> 111 111 <br /> 112 <?php _e( "The default role for new users on the Dashboard blog. This should probably be 'Subscriber' or maybe 'Contributor'." ); ?>112 <?php _e( "The default role for new users on the Dashboard site. This should probably be 'Subscriber' or maybe 'Contributor'." ); ?> 113 113 </td> 114 114 </tr> … … 119 119 <input name="illegal_names" type="text" id="illegal_names" style="width: 95%" value="<?php echo esc_attr( implode( " ", get_site_option('illegal_names') ) ); ?>" size="45" /> 120 120 <br /> 121 <?php _e('Users are not allowed to register these blogs. Separate names by spaces.') ?>121 <?php _e('Users are not allowed to register these sites. Separate names by spaces.') ?> 122 122 </td> 123 123 </tr> … … 130 130 <textarea name="limited_email_domains" id="limited_email_domains" cols='40' rows='5'><?php echo $limited_email_domains == '' ? '' : @implode( "\n", $limited_email_domains ); ?></textarea> 131 131 <br /> 132 <?php _e('If you want to limit blogregistrations to certain domains. One domain per line.') ?>132 <?php _e('If you want to limit site registrations to certain domains. One domain per line.') ?> 133 133 </td> 134 134 </tr> … … 139 139 <textarea name="banned_email_domains" id="banned_email_domains" cols='40' rows='5'><?php echo get_site_option('banned_email_domains') == '' ? '' : @implode( "\n", get_site_option('banned_email_domains') ); ?></textarea> 140 140 <br /> 141 <?php _e('If you want to ban certain email domains from blogregistrations. One domain per line.') ?>141 <?php _e('If you want to ban certain email domains from site registrations. One domain per line.') ?> 142 142 </td> 143 143 </tr> … … 148 148 <textarea name="welcome_email" id="welcome_email" rows='5' cols='45' style="width: 95%"><?php echo stripslashes( get_site_option('welcome_email') ) ?></textarea> 149 149 <br /> 150 <?php _e('The welcome email sent to new blogowners.') ?>150 <?php _e('The welcome email sent to new site owners.') ?> 151 151 </td> 152 152 </tr> … … 164 164 <textarea name="first_post" id="first_post" rows='5' cols='45' style="width: 95%"><?php echo stripslashes( get_site_option('first_post') ) ?></textarea> 165 165 <br /> 166 <?php _e('First post on a new blog.') ?>166 <?php _e('First post on a new site.') ?> 167 167 </td> 168 168 </tr> … … 172 172 <textarea name="first_page" id="first_page" rows='5' cols='45' style="width: 95%"><?php echo stripslashes( get_site_option('first_page') ) ?></textarea> 173 173 <br /> 174 <?php _e('First page on a new blog.') ?>174 <?php _e('First page on a new site.') ?> 175 175 </td> 176 176 </tr> … … 180 180 <textarea name="first_comment" id="first_comment" rows='5' cols='45' style="width: 95%"><?php echo stripslashes( get_site_option('first_comment') ) ?></textarea> 181 181 <br /> 182 <?php _e('First comment on a new blog.') ?>182 <?php _e('First comment on a new site.') ?> 183 183 </td> 184 184 </tr> … … 188 188 <input type="text" size='40' name="first_comment_author" id="first_comment_author" value="<?php echo get_site_option('first_comment_author') ?>" /> 189 189 <br /> 190 <?php _e('Author of first comment on a new blog.') ?>190 <?php _e('Author of first comment on a new site.') ?> 191 191 </td> 192 192 </tr> … … 196 196 <input type="text" size='40' name="first_comment_url" id="first_comment_url" value="<?php echo esc_attr(get_site_option('first_comment_url')) ?>" /> 197 197 <br /> 198 <?php _e('URL on first comment on a new blog.') ?>198 <?php _e('URL on first comment on a new site.') ?> 199 199 </td> 200 200 </tr> … … 209 209 </tr> 210 210 <tr valign="top"> 211 <th scope="row"><?php _e(' Blogupload space check') ?></th>211 <th scope="row"><?php _e('Site upload space check') ?></th> 212 212 <td> 213 213 <label><input type='radio' id="upload_space_check_disabled" name="upload_space_check_disabled" value='0' <?php checked( get_site_option( 'upload_space_check_disabled' ), 0 ) ?>/> <?php _e( 'Enabled' ); ?></label><br /> … … 216 216 </tr> 217 217 <tr valign="top"> 218 <th scope="row"><?php _e(' Blogupload space') ?></th>218 <th scope="row"><?php _e('Site upload space') ?></th> 219 219 <td><input name="blog_upload_space" type="text" id="blog_upload_space" value="<?php echo esc_attr( get_site_option('blog_upload_space', 10) ) ?>" size="3" /> MB</td> 220 220 </tr> … … 232 232 <th scope="row"><?php _e('Admin Notice Feed') ?></th> 233 233 <td><input name="admin_notice_feed" style="width: 95%" type="text" id="admin_notice_feed" value="<?php echo esc_attr( get_site_option( 'admin_notice_feed' ) ) ?>" size="80" /><br /> 234 <?php _e( 'Display the latest post from this RSS or Atom feed on all blogdashboards. Leave blank to disable.' ); ?><br />234 <?php _e( 'Display the latest post from this RSS or Atom feed on all site dashboards. Leave blank to disable.' ); ?><br /> 235 235 <?php if ( get_site_option( 'admin_notice_feed' ) != 'http://' . $current_site->domain . $current_site->path . 'feed/' ) 236 echo __( "A good one to use would be the feed from your main blog: " ) . 'http://' . $current_site->domain . $current_site->path . 'feed/'; ?></td>236 echo __( "A good one to use would be the feed from your main site: " ) . 'http://' . $current_site->domain . $current_site->path . 'feed/'; ?></td> 237 237 </tr> 238 238 </table> … … 241 241 <table class="form-table"> 242 242 <tr valign="top"> 243 <th scope="row"><?php _e(' SiteAdmins') ?></th>243 <th scope="row"><?php _e('Network Admins') ?></th> 244 244 <td> 245 245 <input name="site_admins" type="text" id="site_admins" style="width: 95%" value="<?php echo esc_attr( implode(' ', get_site_option( 'site_admins', array( 'admin' ) ) ) ) ?>" size="45" /> 246 246 <br /> 247 <?php _e('These users may login to the main blog and administer the site. Space separated list of usernames.') ?>248 </td> 249 </tr> 250 </table> 251 252 <h3><?php _e(' Site Wide Settings <em>(These settings may be overridden by blogowners)</em>') ?></h3>247 <?php _e('These users may login to the main site and administer the network. Space separated list of usernames.') ?> 248 </td> 249 </tr> 250 </table> 251 252 <h3><?php _e('Network Wide Settings <em>(These settings may be overridden by site owners)</em>') ?></h3> 253 253 <table class="form-table"> 254 254 <?php
Note: See TracChangeset
for help on using the changeset viewer.