Ticket #21233: 21223.2.diff
File 21223.2.diff, 1.6 KB (added by , 12 years ago) |
---|
-
wp-admin/network/site-users.php
254 254 <?php do_action( 'network_site_users_after_list_table', '' );?> 255 255 256 256 <?php if ( current_user_can( 'promote_users' ) && apply_filters( 'show_network_site_users_add_existing_form', true ) ) : ?> 257 <h4 id="add-user"><?php _e('Add User to This Site') ?></h4> 258 <?php if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_users_add_new_form', true ) ) : ?> 259 <p><?php _e( 'You may add from existing network users, or set up a new user to add to this site.' ); ?></p> 260 <?php else : ?> 261 <p><?php _e( 'You may add from existing network users to this site.' ); ?></p> 262 <?php endif; ?> 263 <h5 id="add-existing-user"><?php _e('Add Existing User') ?></h5> 257 <h3 id="add-existing-user"><?php _e( 'Add Existing User' ); ?></h3> 264 258 <form action="site-users.php?action=adduser" id="adduser" method="post"> 265 259 <?php wp_nonce_field( 'edit-site' ); ?> 266 260 <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> … … 289 283 <?php endif; ?> 290 284 291 285 <?php if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_users_add_new_form', true ) ) : ?> 292 <h 5 id="add-new-user"><?php _e('Add New User') ?></h5>286 <h3 id="add-new-user"><?php _e( 'Add New User' ); ?></h3> 293 287 <form action="<?php echo network_admin_url('site-users.php?action=newuser'); ?>" id="newuser" method="post"> 294 288 <?php wp_nonce_field( 'edit-site' ); ?> 295 289 <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />