|
1 <?php get_header(); ?> |
|
2 |
|
3 <div id="content" class="widecolumn"> |
|
4 <?php if (have_posts()) : while (have_posts()) : the_post(); ?> |
|
5 |
|
6 <div class="navigation"> |
|
7 <div class="alignleft"> </div> |
|
8 <div class="alignright"> </div> |
|
9 </div> |
|
10 |
|
11 <?php $attachment_link = get_the_attachment_link($post->ID, true, array(450, 800)); // This also populates the iconsize for the next line ?> |
|
12 <?php $_post = &get_post($post->ID); $classname = ($_post->iconsize[0] <= 128 ? 'small' : '') . 'attachment'; // This lets us style narrow icons specially ?> |
|
13 |
|
14 <div class="post" id="post-<?php the_ID(); ?>"> |
|
15 <h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> » <a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> |
|
16 <div class="entry"> |
|
17 <p class="<?php echo $classname; ?>"><?php echo $attachment_link; ?><br /><?php echo basename($post->guid); ?></p> |
|
18 <?php the_content('<p class="serif">Lire la suite de cet article »</p>'); ?> |
|
19 <?php link_pages('<p><strong>Pages :</strong> ', '</p>', 'number'); ?> |
|
20 <p class="postmetadata alt"> |
|
21 <small> |
|
22 Ce fichier a été publié le <?php the_time('l j F Y') ?> à <?php the_time() ?> et est classé dans <?php the_category(', ') ?>. |
|
23 Vous pouvez suivre toutes les réponses à ce fichier par le biais du flux |
|
24 <?php post_comments_feed_link('RSS 2.0'); ?>. |
|
25 <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { |
|
26 // Both Comments and Pings are open ?> |
|
27 Vous pouvez <a href="#respond">laisser un commentaire</a>, ou <a href="<?php trackback_url(); ?>" rel="trackback">faire un trackback</a> depuis votre propre site. |
|
28 <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { |
|
29 // Only Pings are Open ?> |
|
30 Les commentaires sont fermés pour le moment, mais vous pouvez <a href="<?php trackback_url(); ?> " rel="trackback">faire un trackback</a> depuis votre propre site. |
|
31 <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) { |
|
32 // Comments are open, Pings are not ?> |
|
33 Vous poussez aller directement à la fin et laisser un commentaire. Le ping n'est pas autorisé. |
|
34 <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) { |
|
35 // Neither Comments, nor Pings are open ?> |
|
36 Les commentaires tout comme les pings sont fermés. |
|
37 <?php } edit_post_link('Modifier ce fichier.','',''); ?> |
|
38 </small> |
|
39 </p> |
|
40 </div> |
|
41 </div> |
|
42 |
|
43 <?php comments_template(); ?> |
|
44 <?php endwhile; else: ?> |
|
45 |
|
46 <p>Désolé, aucun fichier ne correspond à vos critères.</p> |
|
47 |
|
48 <?php endif; ?> |
|
49 </div> |
|
50 |
|
51 <?php get_footer(); ?> |