Changeset 16930
- Timestamp:
- 12/15/2010 02:22:53 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/network/site-users.php
r16892 r16930 219 219 220 220 <?php if ( current_user_can( 'promote_users' ) && apply_filters( 'show_network_site_users_add_existing_form', true ) ) : ?> 221 <h3 id="add-existing-user"><?php _e('Add Existing User') ?></h3> 222 <p><?php _e( 'Enter the username of an existing user on this network.' ) ?></p> 221 <h4 id="add-user"><?php _e('Add User to This Site') ?></h4> 222 <?php if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_users_add_new_form', true ) ) : ?> 223 <p><?php _e( 'You may add from existing network users, or set up a new user to add to this site.' ); ?></p> 224 <?php else : ?> 225 <p><?php _e( 'You may add from existing network users to this site.' ); ?></p> 226 <?php endif; ?> 227 <h5 id="add-existing-user"><?php _e('Add Existing User') ?></h5> 223 228 <form action="site-users.php?action=adduser" id="adduser" method="post"> 224 229 <?php wp_nonce_field( 'edit-site' ); ?> … … 248 253 <?php endif; ?> 249 254 250 <?php if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_users_add_new_form', true ) ) : ?> 251 <h3 id="add-new-user"><?php _e('Create New User') ?></h3> 252 <p><?php _e( 'Create a brand new user and add it to this site.' ) ?></p> 255 <?php if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_users_add_new_form', true ) ) : ?> 256 <h5 id="add-new-user"><?php _e('Add New User') ?></h5> 253 257 <form action="<?php echo network_admin_url('site-users.php?action=newuser'); ?>" id="newuser" method="post"> 254 258 <?php wp_nonce_field( 'edit-site' ); ?> … … 281 285 </table> 282 286 <?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?> 283 <?php submit_button( __('Add User'), 'primary', 'add-user' ); ?>287 <?php submit_button( __('Add New User'), 'primary', 'add-user' ); ?> 284 288 </form> 285 289 </div>
Note: See TracChangeset
for help on using the changeset viewer.