364 | | <?php if ( count($profileuser->caps) > count($profileuser->roles) && apply_filters('additional_capabilities_display', true, $profileuser) ) { ?> |
365 | | <br class="clear" /> |
366 | | <table width="99%" style="border: none;" cellspacing="2" cellpadding="3" class="editform"> |
367 | | <tr> |
368 | | <th scope="row"><?php _e('Additional Capabilities') ?></th> |
369 | | <td><?php |
370 | | $output = ''; |
371 | | foreach ( $profileuser->caps as $cap => $value ) { |
372 | | if ( !$wp_roles->is_role($cap) ) { |
373 | | if ( $output != '' ) |
374 | | $output .= ', '; |
375 | | $output .= $value ? $cap : "Denied: {$cap}"; |
376 | | } |
| 364 | <?php if ( count($profileuser->caps) > count($profileuser->roles) && apply_filters('additional_capabilities_display', true, $profileuser) ) : ?> |
| 365 | <h3><?php _e( 'Additional Capabilities' ); ?></h3> |
| 366 | <table class="form-table"> |
| 367 | <tr> |
| 368 | <th scope="row"><?php _e( 'Capabilities' ); ?></th> |
| 369 | <td> |
| 370 | <?php |
| 371 | $output = ''; |
| 372 | foreach ( $profileuser->caps as $cap => $value ) { |
| 373 | if ( !$wp_roles->is_role( $cap ) ) { |
| 374 | if ( $output != '' ) |
| 375 | $output .= ', '; |
| 376 | $output .= $value ? $cap : sprintf( __( 'Denied: %s' ), $cap ); |