Skip to:
Content

BuddyPress.org

Ticket #6760: 6760.patch

File 6760.patch, 1.9 KB (added by mercime, 9 years ago)
  • src/bp-core/admin/bp-core-admin-components.php

     
    148148                        break;
    149149        } ?>
    150150
     151        <h3 class="screen-reader-text"><?php _e( 'Filter components list', 'buddypress' ); ?></h3>
     152
    151153        <ul class="subsubsub">
    152154                <li><a href="<?php echo esc_url( add_query_arg( array( 'page' => 'bp-components', 'action' => 'all'      ), bp_get_admin_url( $page ) ) ); ?>" <?php if ( $action === 'all'      ) : ?>class="current"<?php endif; ?>><?php printf( _nx( 'All <span class="count">(%s)</span>',      'All <span class="count">(%s)</span>',      $all_count,         'plugins', 'buddypress' ), number_format_i18n( $all_count                    ) ); ?></a> | </li>
    153155                <li><a href="<?php echo esc_url( add_query_arg( array( 'page' => 'bp-components', 'action' => 'active'   ), bp_get_admin_url( $page ) ) ); ?>" <?php if ( $action === 'active'   ) : ?>class="current"<?php endif; ?>><?php printf( _n(  'Active <span class="count">(%s)</span>',   'Active <span class="count">(%s)</span>',   count( $active_components   ), 'buddypress' ), number_format_i18n( count( $active_components   ) ) ); ?></a> | </li>
     
    156158                <li><a href="<?php echo esc_url( add_query_arg( array( 'page' => 'bp-components', 'action' => 'retired'  ), bp_get_admin_url( $page ) ) ); ?>" <?php if ( $action === 'retired'  ) : ?>class="current"<?php endif; ?>><?php printf( _n(  'Retired <span class="count">(%s)</span>',  'Retired <span class="count">(%s)</span>',  count( $retired_components ),  'buddypress' ), number_format_i18n( count( $retired_components  ) ) ); ?></a></li>
    157159        </ul>
    158160
     161        <h3 class="screen-reader-text"><?php _e( 'Components list', 'buddypress' ); ?></h3>
     162
    159163        <table class="widefat fixed plugins" cellspacing="0">
    160164                <thead>
    161165                        <tr>