Ticket #22451: 22451-users.diff
File 22451-users.diff, 7.4 KB (added by , 12 years ago) |
---|
-
wp-admin/users.php
22 22 // contextual help - choose Help on the top right of admin panel to preview this. 23 23 get_current_screen()->add_help_tab( array( 24 24 'id' => 'overview', 25 'title' => __( 'Overview'),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>'25 'title' => __( 'Overview' ), 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 28 ) ) ; 29 29 30 30 get_current_screen()->add_help_tab( array( … … 38 38 '</ul>' 39 39 ) ); 40 40 41 $help = '<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>' . 42 '<ul>' . 43 '<li>' . __('Edit takes you to the editable profile screen for that user. You can also reach that screen by clicking on the username.') . '</li>'; 41 $help = '<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>'; 42 $help .= '<ul><li>' . __( 'Edit takes you to the editable profile screen for that user. You can also reach that screen by clicking on the username.' ) . '</li>'; 44 43 45 44 if ( is_multisite() ) 46 45 $help .= '<li>' . __( 'Remove allows you to remove a user from your site. It does not delete their posts. You can also remove multiple users at once by using Bulk Actions.' ) . '</li>'; … … 51 50 52 51 get_current_screen()->add_help_tab( array( 53 52 'id' => 'actions', 54 'title' => __( 'Actions'),53 'title' => __( 'Actions' ), 55 54 'content' => $help, 56 55 ) ); 57 56 unset( $help ); -
wp-admin/user-new.php
142 142 if ( is_multisite() && current_user_can('promote_users') && current_user_can('create_users') ) 143 143 $do_both = true; 144 144 145 $help = '<p>' . __( 'To add a new user to your site, fill in the form on this screen and click the Add New User button at the bottom.') . '</p>';145 $help = '<p>' . __( 'To add a new user to your site, fill in the form on this screen and click the Add New User button at the bottom.' ) . '</p>'; 146 146 147 147 if ( is_multisite() ) { 148 $help .= '<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’s name to Edit the user profile under Network Admin > All Users.') . '</p>' .149 '<p>' . __( 'New users will receive an email letting them know they’ve been added as a user for your site. This email will also contain their password. Check the box if you don’t want the user to receive a welcome email.') . '</p>';148 $help .= '<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’s name to Edit the user profile under Network Admin > All Users.' ) . '</p>' . 149 '<p>' . __( 'New users will receive an email letting them know they’ve been added as a user for your site. This email will also contain their password. Check the box if you don’t want the user to receive a welcome email.' ) . '</p>'; 150 150 } else { 151 $help .= '<p>' . __( 'You must assign a password to the new user, which they can change after logging in. The username, however, cannot be changed.') . '</p>' .152 '<p>' . __('New users will receive an email letting them know they’ve been added as a user for your site. By default, this email will also contain their password. Uncheck the box if you don’t want the password to be included in the welcome email.') . '</p>';151 $help .= '<p>' . __( 'You must assign a password to the new user, which they can change after logging in. The username, however, cannot be changed.' ) . '</p>'; 152 $help .= '<p>' . __( 'New users will receive an email letting them know they’ve been added as a user for your site. By default, this email will also contain their password. Uncheck the box if you don’t want the password to be included in the welcome email.' ) . '</p>'; 153 153 } 154 154 155 $help .= '<p>' . __( 'Remember to click the Add New User button at the bottom of this screen when you are finished.') . '</p>';155 $help .= '<p>' . __( 'Remember to click the Add New User button at the bottom of this screen when you are finished.' ) . '</p>'; 156 156 157 157 get_current_screen()->add_help_tab( array( 158 158 'id' => 'overview', 159 'title' => __( 'Overview'),159 'title' => __( 'Overview' ), 160 160 'content' => $help, 161 161 ) ); 162 162 163 163 get_current_screen()->add_help_tab( array( 164 164 'id' => 'user-roles', 165 'title' => __( 'User Roles'),166 'content' => '<p>' . __( 'Here is a basic overview of the different user roles and the permissions associated with each one:') . '</p>' .165 'title' => __( 'User Roles' ), 166 'content' => '<p>' . __( 'Here is a basic overview of the different user roles and the permissions associated with each one:' ) . '</p>' . 167 167 '<ul>' . 168 '<li>' . __( 'Administrators have access to all the administration features.') . '</li>' .169 '<li>' . __( 'Editors can publish posts, manage posts as well as manage other people’s posts, etc.') . '</li>' .170 '<li>' . __( 'Authors can publish and manage their own posts, and are able to upload files.') . '</li>' .171 '<li>' . __( 'Contributors can write and manage their posts but not publish posts or upload media files.') . '</li>' .172 '<li>' . __( 'Subscribers can read comments/comment/receive newsletters, etc. but cannot create regular site content.') . '</li>' .168 '<li>' . __( '<strong>Administrators</strong> have access to all the administration features.' ) . '</li>' . 169 '<li>' . __( '<strong>Editors</strong> can publish posts, manage posts as well as manage other people’s posts, etc.' ) . '</li>' . 170 '<li>' . __( '<strong>Authors</strong> can publish and manage their own posts, and are able to upload files.' ) . '</li>' . 171 '<li>' . __( '<strong>Contributors</strong> can write and manage their posts but not publish posts or upload media files.' ) . '</li>' . 172 '<li>' . __( '<strong>Subscribers</strong> can read comments/comment/receive newsletters, etc. but cannot create regular site content.' ) . '</li>' . 173 173 '</ul>' 174 174 ) ); 175 175