1 <?php |
1 <?php |
2 /** |
2 /** |
3 * @package WordPress |
3 * @package WordPress |
4 * @subpackage Default_Theme |
4 * @subpackage Default_Theme |
5 */ |
5 */ |
6 |
6 |
7 get_header(); ?> |
7 get_header(); ?> |
8 |
8 |
9 <div id="content" class="narrowcolumn" role="main"> |
9 <div id="content" class="narrowcolumn" role="main"> |
10 |
|
11 <?php if (have_posts()) : ?> |
10 <?php if (have_posts()) : ?> |
12 |
11 |
13 <h2 class="pagetitle"><?php _e('Search Results', 'kubrick'); ?></h2> |
12 <h2 class="pagetitle">Résultats de recherche</h2> |
14 |
|
15 <div class="navigation"> |
13 <div class="navigation"> |
16 <div class="alignleft"><?php next_posts_link(__('« Older Entries', 'kubrick')) ?></div> |
14 <div class="alignleft"><?php next_posts_link('« Articles plus anciens') ?></div> |
17 <div class="alignright"><?php previous_posts_link(__('Newer Entries »', 'kubrick')) ?></div> |
15 <div class="alignright"><?php previous_posts_link('Articles plus récents »') ?></div> |
18 </div> |
16 </div> |
19 |
17 |
20 |
|
21 <?php while (have_posts()) : the_post(); ?> |
18 <?php while (have_posts()) : the_post(); ?> |
22 |
19 <div <?php post_class() ?> |
23 <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> |
24 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h3> |
21 <small><?php the_time('l j F Y') ?></small> |
25 <small><?php the_time('l, F jS, 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> |
26 |
|
27 <p class="postmetadata"><?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', '<br />'); ?> <?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?> | <?php edit_post_link(__('Edit', 'kubrick'), '', ' | '); ?> <?php comments_popup_link(__('No Comments »', 'kubrick'), __('1 Comment »', 'kubrick'), __('% Comments »', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?></p> |
|
28 </div> |
23 </div> |
29 |
|
30 <?php endwhile; ?> |
24 <?php endwhile; ?> |
31 |
25 |
32 <div class="navigation"> |
26 <div class="navigation"> |
33 <div class="alignleft"><?php next_posts_link(__('« Older Entries', 'kubrick')) ?></div> |
27 <div class="alignleft"><?php next_posts_link('« Articles plus anciens') ?></div> |
34 <div class="alignright"><?php previous_posts_link(__('Newer Entries »', 'kubrick')) ?></div> |
28 <div class="alignright"><?php previous_posts_link('Articles plus récents »') ?></div> |
35 </div> |
29 </div> |
36 |
30 |
37 <?php else : ?> |
31 <?php else : ?> |
38 |
32 |
39 <h2 class="center"><?php _e('No posts found. Try a different search?', 'kubrick'); ?></h2> |
33 <h2 class="center">Aucun article trouvé. Essayer une autre recherche ?</h2> |
40 <?php get_search_form(); ?> |
34 <?php get_search_form(); ?> |
41 |
35 |
42 <?php endif; ?> |
36 <?php endif; ?> |
43 |
37 </div> |
44 </div> |
|
45 |
38 |
46 <?php get_sidebar(); ?> |
39 <?php get_sidebar(); ?> |
47 |
|
48 <?php get_footer(); ?> |
40 <?php get_footer(); ?> |