Changeset 6342 for trunk/bp-core/admin/bp-core-components.php
- Timestamp:
- 09/18/2012 06:03:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-components.php
r6155 r6342 154 154 $page = bp_core_do_network_admin() ? 'settings.php' : 'options-general.php'; 155 155 $action = !empty( $_GET['action'] ) ? $_GET['action'] : 'all'; 156 156 157 157 switch( $action ) { 158 158 case 'all' : … … 173 173 break; 174 174 } 175 175 176 176 // The setup wizard uses different, more descriptive text 177 177 if ( bp_get_maintenance_mode() ) : ?> … … 182 182 183 183 <?php endif ?> 184 184 185 185 <ul class="subsubsub"> 186 186 <li><a href="<?php echo 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> … … 208 208 209 209 <tbody id="the-list"> 210 210 211 211 <?php if ( !empty( $current_components ) ) : ?> 212 212 … … 234 234 <strong><?php echo esc_html( $labels['title'] ); ?></strong> 235 235 <div class="row-actions-visible"> 236 236 237 237 </div> 238 238 </td> … … 243 243 </div> 244 244 <div class="active second plugin-version-author-uri"> 245 245 246 246 </div> 247 247 </td> … … 251 251 252 252 <?php else : ?> 253 253 254 254 <tr class="no-items"> 255 255 <td class="colspanchange" colspan="3"><?php _e( 'No components found.', 'buddypress' ); ?></td> … … 297 297 } 298 298 add_action( 'admin_init', 'bp_core_admin_components_settings_handler' ); 299 300 ?>
Note: See TracChangeset
for help on using the changeset viewer.