Changeset 17435 for trunk/wp-admin/includes/class-wp-themes-list-table.php
- Timestamp:
- 02/09/2011 05:35:36 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-themes-list-table.php
r17322 r17435 67 67 return; 68 68 } 69 69 70 70 if ( is_multisite() ) { 71 71 if ( current_user_can( 'install_themes' ) && current_user_can( 'manage_network_themes' ) ) { … … 89 89 printf( __( 'Only the current theme is available to you. Contact the %s administrator for information about accessing additional themes.' ), get_site_option( 'site_name' ) ); 90 90 } 91 92 function tablenav( $which = 'top' ) { 91 92 function tablenav( $which = 'top' ) { 93 93 if ( $this->get_pagination_arg( 'total_pages' ) <= 1 ) 94 94 return; 95 ?> 96 <div class="tablenav <?php echo $which; ?>"> 97 <?php $this->pagination( $which ); ?> 98 <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading list-ajax-loading" alt="" /> 99 <br class="clear" /> 100 </div> 101 <?php 95 ?> 96 <div class="tablenav <?php echo $which; ?>"> 97 <?php $this->pagination( $which ); ?> 98 <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading list-ajax-loading" alt="" /> 99 <br class="clear" /> 100 </div> 101 <?php 102 102 } 103 103 … … 105 105 // wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' ); 106 106 ?> 107 <?php $this->tablenav( 'top' ); ?> 107 <?php $this->tablenav( 'top' ); ?> 108 108 109 109 <table id="availablethemes" cellspacing="0" cellpadding="0"> … … 113 113 </table> 114 114 115 <?php $this->tablenav( 'bottom' ); ?> 115 <?php $this->tablenav( 'bottom' ); ?> 116 116 <?php 117 117 }
Note: See TracChangeset
for help on using the changeset viewer.