Changeset 1014 for trunk/buddypress-theme/buddypress-home/archive.php
- Timestamp:
- 02/02/2009 10:26:13 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/buddypress-theme/buddypress-home/archive.php
r395 r1014 3 3 <div id="content" class="narrowcolumn"> 4 4 <div class="widget" id="latest-news"> 5 <h2 class="widgettitle"> News</h2>5 <h2 class="widgettitle"><?php _e( 'Blog', 'buddypress' ) ?></h2> 6 6 7 7 <?php if (have_posts()) : ?> … … 9 9 <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> 10 10 <?php /* If this is a category archive */ if (is_category()) { ?> 11 <h3 class="pageTitle"> Archive for the ‘<?php single_cat_title(); ?>’ Category</h2>11 <h3 class="pageTitle"><?php _e( 'Archive for the', 'buddypress' ) ?> ‘<?php single_cat_title(); ?>’ <?php _e( 'Category', 'buddypress' ) ?></h2> 12 12 13 13 <?php /* If this is a daily archive */ } elseif (is_day()) { ?> 14 <h3 class="pageTitle"> Archive for<?php the_time('F jS, Y'); ?></h2>14 <h3 class="pageTitle"><?php _e( 'Archive for', 'buddypress' ) ?> <?php the_time('F jS, Y'); ?></h2> 15 15 16 16 <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> 17 <h3 class="pageTitle"> Archive for<?php the_time('F, Y'); ?></h2>17 <h3 class="pageTitle"><?php _e( 'Archive for', 'buddypress' ) ?> <?php the_time('F, Y'); ?></h2> 18 18 19 19 <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> 20 <h3 class="pageTitle"> Archive for<?php the_time('Y'); ?></h2>20 <h3 class="pageTitle"><?php _e( 'Archive for', 'buddypress' ) ?> <?php the_time('Y'); ?></h2> 21 21 22 22 <?php /* If this is an author archive */ } elseif (is_author()) { ?> 23 <h3 class="pageTitle"> Author Archive</h2>23 <h3 class="pageTitle"><?php _e( 'Author Archive', 'buddypress' ) ?></h2> 24 24 25 25 <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> 26 <h3 class="pageTitle"> Blog Archives</h2>26 <h3 class="pageTitle"><?php _e( 'Blog Archives', 'buddypress' ) ?></h2> 27 27 28 28 <?php } ?> … … 43 43 </div> 44 44 45 <p class="postmetadata"> Posted in<?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>45 <p class="postmetadata"><?php _e( 'Posted in', 'buddypress' ) ?> <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p> 46 46 47 47 </div> … … 56 56 <?php else : ?> 57 57 58 <h2 class="center"> Not Found</h2>58 <h2 class="center"><?php _e( 'Not Found', 'buddypress' ) ?></h2> 59 59 <?php include (TEMPLATEPATH . '/searchform.php'); ?> 60 60
Note: See TracChangeset
for help on using the changeset viewer.