Changeset 2481 for trunk/wp-admin/edit.php
- Timestamp:
- 03/28/2005 02:34:16 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit.php
r2452 r2481 67 67 <h2> 68 68 <?php 69 if ( $_GET['m'] ) { 70 echo $month[substr( $_GET['m'], 4, 2 )] . ' ' . substr( $_GET['m'], 0, 4 ); 71 } elseif ( isset( $_GET['s'] ) ) { 69 $what_to_show = 'posts'; 70 $posts_per_page = 15; 71 $posts_per_archive_page = -1; 72 73 include(ABSPATH.'wp-blog-header.php'); 74 75 if ( is_month() ) { 76 single_month_title(' '); 77 } elseif ( is_search() ) { 72 78 printf(__('Search for “%s”'), wp_specialchars($_GET['s']) ); 73 79 } else { 74 _e('Last 15 Posts'); 80 if ( ! is_paged() || get_query_var('paged') == 1 ) 81 _e('Last 15 Posts'); 82 else 83 _e('Previous Posts'); 75 84 } 76 85 ?> … … 141 150 </tr> 142 151 <?php 143 $what_to_show = 'posts';144 if ( empty($_GET['m']) || 0 == $_GET['m'] && empty($_GET['s']) ) {145 $showposts = 15;146 } else {147 $nopaging = true;148 }149 150 include(ABSPATH.'wp-blog-header.php');151 152 152 if ($posts) { 153 153 $bgcolor = ''; … … 239 239 ?> 240 240 </table> 241 242 <div class="navigation"> 243 <div class="alignleft"><?php next_posts_link(__('« Previous Entries')) ?></div> 244 <div class="alignright"><?php previous_posts_link(__('Next Entries »')) ?></div> 245 </div> 246 241 247 <?php 242 248 if ( 1 == count($posts) ) {
Note: See TracChangeset
for help on using the changeset viewer.