WordPress.org

Make WordPress Core

Changeset 19438


Ignore:
Timestamp:
11/23/11 23:08:02 (2 years ago)
Author:
ryan
Message:

Indent cleanup. see #19020

Location:
trunk/wp-admin
Files:
2 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( 
  • trunk/wp-admin/users.php

    r19436 r19438  
    2121 
    2222// contextual help - choose Help on the top right of admin panel to preview this. 
    23     get_current_screen()->add_help_tab( array(  
    24         'id'      => 'screen-info', 
    25         'title'   => __('Users List'),  
    26         'content' => '<p>' . __('This screen lists all the existing users for your site. Each user has one of five defined roles as set by the site admin: Site Administrator, Editor, Author, Contributor, or Subscriber. Users with roles other than Administrator will see fewer options in the dashboard navigation when they are logged in, based on their role.') . '</p>' . 
    27                     '<p>' . __('To add a new user for your site, click the Add New button at the top of the screen or Add New in the Users menu section.') . '</p>' 
    28     ) ) ; 
    29  
    30     get_current_screen()->add_help_tab( array(  
    31         'id'      => 'customize-display', 
    32         'title'   => __('Customizing This Display'),  
    33         'content' => '<p>' . __('You can customize the display of this screen in a number of ways:') . '</p>' .  
    34                         '<ul>' .  
    35                         '<li>' . __('You can hide/display columns based on your needs and decide how many users to list per screen using the Screen Options tab.') . '</li>' .  
    36                         '<li>' . __('You can filter the list of users by User Role using the text links in the upper left to show All, Administrator, Editor, Author, Contributor, or Subscriber. The default view is to show all users.  Unused User Roles are not listed.') . '</li>' .  
    37                         '<li>' . __('You can view all posts made by a user by clicking on the number under the Posts column.') . '</li>' .  
    38                         '</ul>'  
    39     ) );  
    40  
    41     get_current_screen()->add_help_tab( array(  
    42         'id'      => 'row-actions',  
    43         'title'   => __('Action Links'),  
    44         'content' => '<p>' . __('Hovering over a row in the users list will display action links that allow you to manage users. You can perform the following actions:') . '</p>' .  
    45                         '<ul>' . 
    46                         '<li>' . __('Edit takes you to the editable profile screen for that user. You can also reach that screen by clicking on the username.') . '</li>' . 
    47                         ( is_multisite() ? '<li>' . __('Remove allows you to remove a user from your site.  It does not delete their posts.') . '</li>' : '<li>' . __('Delete brings you to the Delete Users screen for confirmation, where you can permanently remove a user from your site and delete their posts.') . '</li>' ) . 
    48                         '</ul>'  
    49     ) ); 
     23get_current_screen()->add_help_tab( array(  
     24    'id'      => 'screen-info', 
     25    'title'   => __('Users List'),  
     26    'content' => '<p>' . __('This screen lists all the existing users for your site. Each user has one of five defined roles as set by the site admin: Site Administrator, Editor, Author, Contributor, or Subscriber. Users with roles other than Administrator will see fewer options in the dashboard navigation when they are logged in, based on their role.') . '</p>' . 
     27                '<p>' . __('To add a new user for your site, click the Add New button at the top of the screen or Add New in the Users menu section.') . '</p>' 
     28) ) ; 
     29 
     30get_current_screen()->add_help_tab( array(  
     31    'id'      => 'customize-display', 
     32    'title'   => __('Customizing This Display'),  
     33    'content' => '<p>' . __('You can customize the display of this screen in a number of ways:') . '</p>' .  
     34                    '<ul>' .  
     35                    '<li>' . __('You can hide/display columns based on your needs and decide how many users to list per screen using the Screen Options tab.') . '</li>' .  
     36                    '<li>' . __('You can filter the list of users by User Role using the text links in the upper left to show All, Administrator, Editor, Author, Contributor, or Subscriber. The default view is to show all users.  Unused User Roles are not listed.') . '</li>' .  
     37                    '<li>' . __('You can view all posts made by a user by clicking on the number under the Posts column.') . '</li>' .  
     38                    '</ul>'  
     39) );  
     40 
     41get_current_screen()->add_help_tab( array(  
     42    'id'      => 'row-actions',  
     43    'title'   => __('Action Links'),  
     44    'content' => '<p>' . __('Hovering over a row in the users list will display action links that allow you to manage users. You can perform the following actions:') . '</p>' .  
     45                    '<ul>' . 
     46                    '<li>' . __('Edit takes you to the editable profile screen for that user. You can also reach that screen by clicking on the username.') . '</li>' . 
     47                    ( is_multisite() ? '<li>' . __('Remove allows you to remove a user from your site.  It does not delete their posts.') . '</li>' : '<li>' . __('Delete brings you to the Delete Users screen for confirmation, where you can permanently remove a user from your site and delete their posts.') . '</li>' ) . 
     48                    '</ul>'  
     49) ); 
    5050     
    5151get_current_screen()->set_help_sidebar( 
Note: See TracChangeset for help on using the changeset viewer.