Changeset 16117
- Timestamp:
- 10/31/2010 11:38:04 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/list-table-ms-themes.php
r16113 r16117 162 162 } 163 163 164 function display_tablenav( $which ) {165 global $status;166 167 parent::display_tablenav( $which );168 }169 170 164 function get_views() { 171 165 global $totals, $status; … … 209 203 $actions = array(); 210 204 if ( 'enabled' != $status ) 211 $actions['network-enable-selected'] = __( ' NetworkEnable' );205 $actions['network-enable-selected'] = __( 'Enable' ); 212 206 if ( 'disabled' != $status ) 213 $actions['network-disable-selected'] = __( ' NetworkDisable' );207 $actions['network-disable-selected'] = __( 'Disable' ); 214 208 if ( current_user_can( 'update_themes' ) ) 215 209 $actions['update-selected'] = __( 'Update' ); … … 244 238 if ( empty( $theme['enabled'] ) ) { 245 239 if ( current_user_can( 'manage_network_themes' ) ) 246 $actions['network_enable'] = '<a href="' . wp_nonce_url('themes.php?action=network-enable&theme=' . $theme_key . '&paged=' . $page . '&s=' . $s, 'enable-theme_' . $theme_key) . '" title="' . __('Enable this theme for all sites in this network') . '" class="edit">' . __(' NetworkEnable') . '</a>';240 $actions['network_enable'] = '<a href="' . wp_nonce_url('themes.php?action=network-enable&theme=' . $theme_key . '&paged=' . $page . '&s=' . $s, 'enable-theme_' . $theme_key) . '" title="' . __('Enable this theme for all sites in this network') . '" class="edit">' . __('Enable') . '</a>'; 247 241 } else { 248 242 if ( current_user_can( 'manage_network_themes' ) ) 249 $actions['network_disable'] = '<a href="' . wp_nonce_url('themes.php?action=network-disable&theme=' . $theme_key . '&paged=' . $page . '&s=' . $s, 'disable-theme_' . $theme_key) . '" title="' . __('Disable this theme') . '">' . __(' NetworkDisable') . '</a>';243 $actions['network_disable'] = '<a href="' . wp_nonce_url('themes.php?action=network-disable&theme=' . $theme_key . '&paged=' . $page . '&s=' . $s, 'disable-theme_' . $theme_key) . '" title="' . __('Disable this theme') . '">' . __('Disable') . '</a>'; 250 244 } 251 245
Note: See TracChangeset
for help on using the changeset viewer.