equal
deleted
inserted
replaced
|
1 <?php |
|
2 /** |
|
3 * @package WordPress |
|
4 * @subpackage Default_Theme |
|
5 */ |
|
6 |
|
7 get_header(); ?> |
|
8 |
|
9 <div id="content" class="narrowcolumn" role="main"> |
|
10 <?php if (have_posts()) : ?> |
|
11 |
|
12 <h2 class="pagetitle">Résultats de recherche</h2> |
|
13 <div class="navigation"> |
|
14 <div class="alignleft"><?php next_posts_link('« Articles plus anciens') ?></div> |
|
15 <div class="alignright"><?php previous_posts_link('Articles plus récents »') ?></div> |
|
16 </div> |
|
17 |
|
18 <?php while (have_posts()) : the_post(); ?> |
|
19 <div <?php post_class() ?> |
|
20 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permalien vers <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3> |
|
21 <small><?php the_time('l j F Y') ?></small> |
|
22 <p class="postmetadata"><?php the_tags('Mots-clefs : ', ', ', '<br />'); ?> Publié dans <?php the_category(', ') ?> | <?php edit_post_link('Modifier', '', ' | '); ?> <?php comments_popup_link('Aucun commentaire »', '1 commentaire »', '% commentaires »', 'comments-link', 'Les commentaires sont fermés'); ?></p> |
|
23 </div> |
|
24 <?php endwhile; ?> |
|
25 |
|
26 <div class="navigation"> |
|
27 <div class="alignleft"><?php next_posts_link('« Articles plus anciens') ?></div> |
|
28 <div class="alignright"><?php previous_posts_link('Articles plus récents »') ?></div> |
|
29 </div> |
|
30 |
|
31 <?php else : ?> |
|
32 |
|
33 <h2 class="center">Aucun article trouvé. Essayer une autre recherche ?</h2> |
|
34 <?php get_search_form(); ?> |
|
35 |
|
36 <?php endif; ?> |
|
37 </div> |
|
38 |
|
39 <?php get_sidebar(); ?> |
|
40 <?php get_footer(); ?> |