Changeset 16210
- Timestamp:
- 11/05/2010 05:26:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/user-edit.php
r15896 r16210 230 230 </tr> 231 231 232 <?php if ( !IS_PROFILE_PAGE ): ?>232 <?php if ( !IS_PROFILE_PAGE && !is_network_admin() ): ?> 233 233 <tr><th><label for="role"><?php _e('Role:') ?></label></th> 234 234 <td><select name="role" id="role"> … … 249 249 ?> 250 250 </select> 251 <?php if ( is_multisite() && is_network_admin() && current_user_can( 'manage_network_options' ) && !isset($super_admins) ) { ?> 251 <?php endif; //!IS_PROFILE_PAGE 252 if ( is_multisite() && is_network_admin() && current_user_can( 'manage_network_options' ) && !isset($super_admins) ) { ?> 253 <tr><th><label for="role"><?php _e('Super Admin'); ?></label></th> 254 <td> 252 255 <p><label><input type="checkbox" id="super_admin" name="super_admin"<?php checked( is_super_admin( $profileuser->ID ) ); ?> /> <?php _e( 'Grant this user super admin privileges for the Network.'); ?></label></p> 253 256 <?php } ?> 254 257 </td></tr> 255 <?php endif; //!IS_PROFILE_PAGE ?>256 258 257 259 <tr>
Note: See TracChangeset
for help on using the changeset viewer.