WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/06/2008 09:56:29 PM (13 years ago)
Author:
azaozz
Message:

Implementing new design for Edit Posts, Comments, etc. lists, props mdawaffe, see #8083

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/themes.php

    r9328 r9556  
    126126
    127127<?php if ( $page_links ) : ?>
    128 <div class="tablenav">
    129 <?php echo "<div class='tablenav-pages'>$page_links</div>"; ?>
    130 <br class="clear" />
    131 </div>
    132 <br class="clear" />
     128<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s-%s of %s' ) . '</span>' . __( '%s' ),
     129    number_format_i18n( $start + 1 ),
     130    number_format_i18n( min( $page * $per_page, $theme_total ) ),
     131    number_format_i18n( $theme_total ),
     132    $page_links
     133); echo $page_links_text; ?></div>
    133134<?php endif; ?>
    134135
     
    200201<?php if ( $page_links ) : ?>
    201202<div class="tablenav">
    202 <?php echo "<div class='tablenav-pages'>$page_links</div>"; ?>
     203<?php echo "<div class='tablenav-pages'>$page_links_text</div>"; ?>
    203204<br class="clear" />
    204205</div>
Note: See TracChangeset for help on using the changeset viewer.