Make WordPress Core


Ignore:
Timestamp:
02/24/2010 07:56:10 PM (15 years ago)
Author:
wpmuguru
Message:

more multisite UX rebranding, See #11644

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/ms-options.php

    r13301 r13379  
    2222<div class="wrap">
    2323    <?php screen_icon(); ?>
    24     <h2><?php _e('Site Options') ?></h2>
     24    <h2><?php _e('Network Options') ?></h2>
    2525    <form method="post" action="ms-edit.php?action=siteoptions">
    2626        <?php wp_nonce_field( "siteoptions" ); ?>
    27         <h3><?php _e('Operational Settings <em>(These settings cannot be modified by blog owners)</em>') ?></h3>
    28         <table class="form-table">
    29             <tr valign="top">
    30                 <th scope="row"><?php _e('Site Name') ?></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>
    3131                <td>
    3232                    <input name="site_name" type="text" id="site_name" style="width: 95%" value="<?php echo esc_attr($current_site->site_name) ?>" size="45" />
     
    3737
    3838            <tr valign="top">
    39                 <th scope="row"><?php _e('Site Admin Email') ?></th>
     39                <th scope="row"><?php _e('Network Admin Email') ?></th>
    4040                <td>
    4141                    <input name="admin_email" type="text" id="admin_email" style="width: 95%" value="<?php echo esc_attr( get_site_option('admin_email') ) ?>" size="45" />
     
    5353                <td>
    5454                    <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 />
    5656                    <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>
    5959                    <?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>';
    6161                    } ?>
    6262                </td>
     
    7272                    <input name="registrationnotification" type="radio" id="registrationnotification1" value='yes' <?php checked( get_site_option('registrationnotification'), 'yes') ?> /> <?php _e('Yes'); ?><br />
    7373                    <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 blog or user account.') ?>
     74                    <?php _e('Send the network admin an email notification every time someone registers a site or user account.') ?>
    7575                </td>
    7676            </tr>
     
    8080                <td>
    8181                    <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 blog via 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>
    9090                <td>
    9191                    <?php
     
    9999                    <input name="dashboard_blog" type="text" id="dashboard_blog" value="<?php echo esc_attr($blogname); ?>" size="30" />
    100100                    <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 blog will 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." ); ?>
    102102                </td>
    103103            </tr>
     
    110110                    </select>
    111111                    <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'." ); ?>
    113113                </td>
    114114            </tr>
     
    119119                    <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" />
    120120                    <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.') ?>
    122122                </td>
    123123            </tr>
     
    130130                    <textarea name="limited_email_domains" id="limited_email_domains" cols='40' rows='5'><?php echo $limited_email_domains == '' ? '' : @implode( "\n", $limited_email_domains ); ?></textarea>
    131131                    <br />
    132                     <?php _e('If you want to limit blog registrations to certain domains. One domain per line.') ?>
     132                    <?php _e('If you want to limit site registrations to certain domains. One domain per line.') ?>
    133133                </td>
    134134            </tr>
     
    139139                    <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>
    140140                    <br />
    141                     <?php _e('If you want to ban certain email domains from blog registrations. One domain per line.') ?>
     141                    <?php _e('If you want to ban certain email domains from site registrations. One domain per line.') ?>
    142142                </td>
    143143            </tr>
     
    148148                    <textarea name="welcome_email" id="welcome_email" rows='5' cols='45' style="width: 95%"><?php echo stripslashes( get_site_option('welcome_email') ) ?></textarea>
    149149                    <br />
    150                     <?php _e('The welcome email sent to new blog owners.') ?>
     150                    <?php _e('The welcome email sent to new site owners.') ?>
    151151                </td>
    152152            </tr>
     
    164164                    <textarea name="first_post" id="first_post" rows='5' cols='45' style="width: 95%"><?php echo stripslashes( get_site_option('first_post') ) ?></textarea>
    165165                    <br />
    166                     <?php _e('First post on a new blog.') ?>
     166                    <?php _e('First post on a new site.') ?>
    167167                </td>
    168168            </tr>
     
    172172                    <textarea name="first_page" id="first_page" rows='5' cols='45' style="width: 95%"><?php echo stripslashes( get_site_option('first_page') ) ?></textarea>
    173173                    <br />
    174                     <?php _e('First page on a new blog.') ?>
     174                    <?php _e('First page on a new site.') ?>
    175175                </td>
    176176            </tr>
     
    180180                    <textarea name="first_comment" id="first_comment" rows='5' cols='45' style="width: 95%"><?php echo stripslashes( get_site_option('first_comment') ) ?></textarea>
    181181                    <br />
    182                     <?php _e('First comment on a new blog.') ?>
     182                    <?php _e('First comment on a new site.') ?>
    183183                </td>
    184184            </tr>
     
    188188                    <input type="text" size='40' name="first_comment_author" id="first_comment_author" value="<?php echo get_site_option('first_comment_author') ?>" />
    189189                    <br />
    190                     <?php _e('Author of first comment on a new blog.') ?>
     190                    <?php _e('Author of first comment on a new site.') ?>
    191191                </td>
    192192            </tr>
     
    196196                    <input type="text" size='40' name="first_comment_url" id="first_comment_url" value="<?php echo esc_attr(get_site_option('first_comment_url')) ?>" />
    197197                    <br />
    198                     <?php _e('URL on first comment on a new blog.') ?>
     198                    <?php _e('URL on first comment on a new site.') ?>
    199199                </td>
    200200            </tr>
     
    209209            </tr>
    210210            <tr valign="top">
    211                 <th scope="row"><?php _e('Blog upload space check') ?></th>
     211                <th scope="row"><?php _e('Site upload space check') ?></th>
    212212                <td>
    213213                <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 />
     
    216216            </tr>
    217217            <tr valign="top">
    218                 <th scope="row"><?php _e('Blog upload space') ?></th>
     218                <th scope="row"><?php _e('Site upload space') ?></th>
    219219                <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>
    220220            </tr>
     
    232232                <th scope="row"><?php _e('Admin Notice Feed') ?></th>
    233233                <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 blog dashboards. 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 />
    235235                <?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>
    237237            </tr>
    238238        </table>
     
    241241        <table class="form-table">
    242242            <tr valign="top">
    243                 <th scope="row"><?php _e('Site Admins') ?></th>
     243                <th scope="row"><?php _e('Network Admins') ?></th>
    244244                <td>
    245245                    <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" />
    246246                    <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 blog owners)</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>
    253253        <table class="form-table">
    254254            <?php
Note: See TracChangeset for help on using the changeset viewer.