--- a/web/wp-content/themes/IRI-Theme/archive.php Tue Mar 16 14:14:44 2010 +0000
+++ b/web/wp-content/themes/IRI-Theme/archive.php Thu Mar 18 09:56:33 2010 +0000
@@ -3,11 +3,14 @@
<div class="content">
<?php if (have_posts()) : ?>
+
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php /* If this is a category archive */ if (is_category()) { ?>
- <?php if( function_exists(page2cat_output)){ page2cat_output($cat);} ?>
+ <?php if( function_exists(xilimlSam_page2cat_output_Hook)){ xilimlSam_page2cat_output_Hook($cat);}
+
+ ?>
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
<h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2>
@@ -23,14 +26,14 @@
<?php /* If this is a tag archive */ if (is_tag()) { ?>
<div id="p2c-header">
- <h2 >Mot-clef : <?php single_tag_title(); ?></h2>
+ <h2 ><?php _e("Tag : ",'IriTheme'); single_tag_title(); ?></h2>
</div>
<?php echo(tag_description()); ?>
<?php } ?>
<div class="navigation">
- <div class="alignleft"><?php next_posts_link('« Précédent') ?></div>
- <div class="alignright"><?php previous_posts_link('Suivant »') ?></div>
+ <div class="alignleft"><?php next_posts_link(__('« Précédent','IriTheme')) ?></div>
+ <div class="alignright"><?php previous_posts_link(__('Suivant »','IriTheme')) ?></div>
</div>
<div> </div
@@ -39,11 +42,11 @@
<?php endwhile; ?>
<div class="navigation">
- <div class="alignleft"><?php next_posts_link('« Précédent') ?></div>
- <div class="alignright"><?php previous_posts_link('Suivant »') ?></div>
+ <div class="alignleft"><?php next_posts_link(__('« Précédent','IriTheme')) ?></div>
+ <div class="alignright"><?php previous_posts_link(__('Suivant »','IriTheme')) ?></div>
</div>
<?php else : ?>
- <h2 class="center">Not Found</h2>
+ <h2 class="center"><?php _e('Not Found','IriTheme') ?></h2>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
<?php endif; ?>
</div>