Make WordPress Core


Ignore:
Timestamp:
02/09/2011 05:36:23 PM (16 years ago)
Author:
ryan
Message:

Pink the whites.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/wp-admin/includes/class-wp-themes-list-table.php

    r17322 r17436  
    6767                        return;
    6868                }
    69                
     69
    7070                if ( is_multisite() ) {
    7171                        if ( current_user_can( 'install_themes' ) && current_user_can( 'manage_network_themes' ) ) {
     
    8989                printf( __( 'Only the current theme is available to you. Contact the %s administrator for information about accessing additional themes.' ), get_site_option( 'site_name' ) );
    9090        }
    91        
    92         function tablenav( $which = 'top' ) { 
     91
     92        function tablenav( $which = 'top' ) {
    9393                if ( $this->get_pagination_arg( 'total_pages' ) <= 1 )
    9494                        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
    102102        }
    103103
     
    105105                // wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' );
    106106?>
    107                 <?php $this->tablenav( 'top' ); ?> 
     107                <?php $this->tablenav( 'top' ); ?>
    108108
    109109                <table id="availablethemes" cellspacing="0" cellpadding="0">
     
    113113                </table>
    114114
    115                 <?php $this->tablenav( 'bottom' ); ?> 
     115                <?php $this->tablenav( 'bottom' ); ?>
    116116<?php
    117117        }
Note: See TracChangeset for help on using the changeset viewer.