Ticket #15974: pagination.rtl.patch
| File pagination.rtl.patch, 2.3 KB (added by , 15 years ago) |
|---|
-
wp-admin/includes/class-wp-list-table.php
487 487 'first-page', 488 488 esc_attr__( 'Go to the first page' ), 489 489 esc_url( remove_query_arg( 'paged', $current_url ) ), 490 is_rtl() ? '»' :'«'490 '«' 491 491 ); 492 492 493 493 $page_links[] = sprintf( "<a class='%s' title='%s' href='%s'>%s</a>", 494 494 'prev-page', 495 495 esc_attr__( 'Go to the previous page' ), 496 496 esc_url( add_query_arg( 'paged', max( 1, $current-1 ), $current_url ) ), 497 is_rtl() ? '›' :'‹'497 '‹' 498 498 ); 499 499 500 500 $html_current_page = sprintf( "<input class='current-page' title='%s' type='text' name='%s' value='%s' size='%d' />", … … 510 510 'next-page', 511 511 esc_attr__( 'Go to the next page' ), 512 512 esc_url( add_query_arg( 'paged', min( $total_pages, $current+1 ), $current_url ) ), 513 is_rtl() ? '‹' :'›'513 '›' 514 514 ); 515 515 516 516 $page_links[] = sprintf( "<a class='%s' title='%s' href='%s'>%s</a>", 517 517 'last-page', 518 518 esc_attr__( 'Go to the last page' ), 519 519 esc_url( add_query_arg( 'paged', $total_pages, $current_url ) ), 520 is_rtl() ? '«' :'»'520 '»' 521 521 ); 522 522 523 if ( is_rtl() )524 $page_links = array_reverse( $page_links );525 526 523 $output .= "\n" . join( "\n", $page_links ); 527 524 528 525 $this->_pagination = "<div class='tablenav-pages'>$output</div>"; -
wp-admin/css/wp-admin-rtl.dev.css
68 68 * html #template div { 69 69 margin-left: 0; 70 70 } 71 72 .list-ajax-loading { 73 float: left; 74 margin-right: 0; 75 margin-left: 9px; 76 } 77 71 78 #your-profile legend { 72 79 font-family: Tahoma, Arial, sans-serif; 73 80 } … … 89 96 } 90 97 .tablenav .tablenav-pages { 91 98 float: left; 92 direction: ltr;93 99 } 94 .tablenav .tablenav-pages .paging-input {95 direction: rtl;96 }97 100 .tablenav .displaying-num { 98 101 margin-right: 0; 99 float: right;100 102 margin-left: 10px; 101 103 font-family: Tahoma, Arial, sans-serif; 104 font-style:normal; 102 105 } 103 106 #postcustomstuff table input, 104 107 #postcustomstuff table select,