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 <?php while (have_posts()) : the_post(); ?> |
|
13 |
|
14 <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> |
|
15 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Lien permanent vers <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> |
|
16 <small><?php the_time('j F Y') ?> <!-- par <?php the_author() ?> --></small> |
|
17 <div class="entry"> |
|
18 <?php the_content('Lire le reste de cet article »'); ?> |
|
19 </div> |
|
20 <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> |
|
21 </div> |
|
22 |
|
23 <?php endwhile; ?> |
|
24 |
|
25 <div class="navigation"> |
|
26 <div class="alignleft"><?php next_posts_link('« Articles plus anciens') ?></div> |
|
27 <div class="alignright"><?php previous_posts_link('Articles plus récents »') ?></div> |
|
28 </div> |
|
29 |
|
30 <?php else : ?> |
|
31 |
|
32 <h2 class="center">Introuvable</h2> |
|
33 <p class="center">Désolé, mais vous cherchez quelque chose qui ne se trouve pas ici.</p> |
|
34 <?php get_search_form(); ?> |
|
35 |
|
36 <?php endif; ?> |
|
37 </div> |
|
38 |
|
39 <?php get_sidebar(); ?> |
|
40 <?php get_footer(); ?> |