Make WordPress Core


Ignore:
Timestamp:
11/23/2011 11:08:02 PM (12 years ago)
Author:
ryan
Message:

Indent cleanup. see #19020

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-new.php

    r19436 r19438  
    140140    $do_both = true;
    141141
    142     get_current_screen()->add_help_tab( array( 
    143     'id'      => 'add-new-user',
    144     'title'   => __('Adding New Users'),
    145     'content' => '<p>' . __('To add a new user to your site, fill in the form on this screen. If you&#8217;re not sure which role to assign, you can use the link below to review the different roles and their capabilities. Here is a basic overview of roles:') . '</p>' .
    146                     '<ul>' .
    147                     '<li>' . __('Administrators have access to all the administration features.') . '</li>' .
    148                     '<li>' . __('Editors can publish posts, manage posts as well as manage other people&#8217;s posts, etc.')  . '</li>' .
    149                     '<li>' . __('Authors can publish and manage their own posts.') . '</li>' .
    150                     '<li>' . __('Contributors can write and manage their posts but not publish posts or upload media files.') . '</li>' .
    151                     '<li>' . __('Subscribers can read comments/comment/receive newsletters, etc.') . '</li>' .
    152                     '</ul>' .
    153                 ( is_multisite() ? '<p>' . __('Because this is a multisite installation, you may add accounts that already exist on the Network by specifying a username or email, and defining a role. For more options, such as specifying a password, you have to be a Network Administrator and use the hover link under an existing user&#8217;s name to Edit the user profile under Network Admin > All Users.') . '</p>' : '<p>' . __('You must assign a password to the new user, but don&#8217;t worry; when they log in for the first time they will be prompted to change it. The username, however, cannot be changed.') . '</p>' ).
    154                 ( is_multisite() ? '<p>' . __('New users will receive an email letting them know they&#8217;ve been added as a user for your site. This email will also contain their password. Check the box if you don&#8217;t want the user to recieve a welcome email.') . '</p>' : '<p>' . __('New users will receive an email letting them know they&#8217;ve been added as a user for your site. By default, this email will also contain their password. Uncheck the box if you don&#8217;t want the password to be included in the welcome email.') . '</p>' ) .
    155                 '<p>' . __('Remember to click the Add User button at the bottom of this screen when you are finished.') . '</p>'
    156     ) );
     142get_current_screen()->add_help_tab( array( 
     143'id'      => 'add-new-user',
     144'title'   => __('Adding New Users'),
     145'content' => '<p>' . __('To add a new user to your site, fill in the form on this screen. If you&#8217;re not sure which role to assign, you can use the link below to review the different roles and their capabilities. Here is a basic overview of roles:') . '</p>' .
     146                '<ul>' .
     147                '<li>' . __('Administrators have access to all the administration features.') . '</li>' .
     148                '<li>' . __('Editors can publish posts, manage posts as well as manage other people&#8217;s posts, etc.')  . '</li>' .
     149                '<li>' . __('Authors can publish and manage their own posts.') . '</li>' .
     150                '<li>' . __('Contributors can write and manage their posts but not publish posts or upload media files.') . '</li>' .
     151                '<li>' . __('Subscribers can read comments/comment/receive newsletters, etc.') . '</li>' .
     152                '</ul>' .
     153            ( is_multisite() ? '<p>' . __('Because this is a multisite installation, you may add accounts that already exist on the Network by specifying a username or email, and defining a role. For more options, such as specifying a password, you have to be a Network Administrator and use the hover link under an existing user&#8217;s name to Edit the user profile under Network Admin > All Users.') . '</p>' : '<p>' . __('You must assign a password to the new user, but don&#8217;t worry; when they log in for the first time they will be prompted to change it. The username, however, cannot be changed.') . '</p>' ).
     154            ( is_multisite() ? '<p>' . __('New users will receive an email letting them know they&#8217;ve been added as a user for your site. This email will also contain their password. Check the box if you don&#8217;t want the user to recieve a welcome email.') . '</p>' : '<p>' . __('New users will receive an email letting them know they&#8217;ve been added as a user for your site. By default, this email will also contain their password. Uncheck the box if you don&#8217;t want the password to be included in the welcome email.') . '</p>' ) .
     155            '<p>' . __('Remember to click the Add User button at the bottom of this screen when you are finished.') . '</p>'
     156) );
    157157
    158158get_current_screen()->set_help_sidebar(
Note: See TracChangeset for help on using the changeset viewer.