Ticket #10219: ASC-links.patch
File ASC-links.patch, 3.8 KB (added by , 15 years ago) |
---|
-
archive.php
30 30 31 31 32 32 <div class="navigation"> 33 <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> 34 <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> 33 <?php if (isset($_GET['order']) && $_GET['order'] == 'ASC') { ?> 34 <div class="alignleft"><?php previous_posts_link('« Older Entries') ?></div> 35 <div class="alignright"><?php next_posts_link('Newer Entries »') ?></div> 36 <?php } else { ?> 37 <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> 38 <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> 39 <?php } ?> 35 40 </div> 36 41 37 42 <?php while (have_posts()) : the_post(); ?> … … 50 55 <?php endwhile; ?> 51 56 52 57 <div class="navigation"> 53 <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> 54 <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> 58 <?php if (isset($_GET['order']) && $_GET['order'] == 'ASC') { ?> 59 <div class="alignleft"><?php previous_posts_link('« Older Entries') ?></div> 60 <div class="alignright"><?php next_posts_link('Newer Entries »') ?></div> 61 <?php } else { ?> 62 <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> 63 <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> 64 <?php } ?> 55 65 </div> 56 66 <?php else : 57 67 -
index.php
26 26 <?php endwhile; ?> 27 27 28 28 <div class="navigation"> 29 <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> 30 <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> 29 <?php if (isset($_GET['order']) && $_GET['order'] == 'ASC') { ?> 30 <div class="alignleft"><?php previous_posts_link('« Older Entries') ?></div> 31 <div class="alignright"><?php next_posts_link('Newer Entries »') ?></div> 32 <?php } else { ?> 33 <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> 34 <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> 35 <?php } ?> 31 36 </div> 32 37 33 38 <?php else : ?> -
search.php
13 13 <h2 class="pagetitle">Search Results</h2> 14 14 15 15 <div class="navigation"> 16 <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> 17 <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> 16 <?php if (isset($_GET['order']) && $_GET['order'] == 'ASC') { ?> 17 <div class="alignleft"><?php previous_posts_link('« Older Entries') ?></div> 18 <div class="alignright"><?php next_posts_link('Newer Entries »') ?></div> 19 <?php } else { ?> 20 <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> 21 <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> 22 <?php } ?> 18 23 </div> 19 24 20 25 … … 30 35 <?php endwhile; ?> 31 36 32 37 <div class="navigation"> 33 <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> 34 <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> 38 <?php if (isset($_GET['order']) && $_GET['order'] == 'ASC') { ?> 39 <div class="alignleft"><?php previous_posts_link('« Older Entries') ?></div> 40 <div class="alignright"><?php next_posts_link('Newer Entries »') ?></div> 41 <?php } else { ?> 42 <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> 43 <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> 44 <?php } ?> 35 45 </div> 36 46 37 47 <?php else : ?>