All pastes #966486 Raw Edit

Fixed Dusk theme index page

public php v1 · immutable
·published 2008-04-01 19:40 UTC
rendered paste body
<?php get_header(); ?><?php $showauthor = dusk_showauthor(); $dateformat = dusk_dateformat(); ?>	<div id="content">	<?php if (have_posts()) : ?>				<?php while (have_posts()) : the_post(); ?>							<div class="post" id="post-<?php the_ID(); ?>">				<h2 class="posttitle"><a href="<?php the_permalink(); ?>" title="<?php _e('Permanent link to'); ?> <?php the_title(); ?>"><?php the_title(); ?></a></h2>				<p class="postmeta">					<?php if ($dateformat == 'default') { 						the_time(get_settings('date_format'));					} else { 						the_time('F jS, Y');					} ?>					at <?php the_time() ?> 					<?php if ($showauthor == 'true') {						_e('by'); echo ' '; the_author_posts_link();					} ?>					(<?php the_category(', ') ?>)					<?php edit_post_link(__('Edit'),' &#183; ',''); ?>				</p>				<?php if (is_search()) { ?>					<?php the_excerpt(); ?>				<?php } else { ?>					<?php the_content(__('Read the rest of this entry &raquo;')); ?>				<?php } ?>				<p class="postfeedback">					<a href="<?php the_permalink() ?>" title="<?php _e('Permanent link to '); ?><?php the_title(); ?>"><?php _e('Permalink'); ?></a>					<?php comments_popup_link(__('Comments'), __('1 Comment'), __('% Comments')); ?>				</p>			</div>			<?php endwhile; ?>		<div class="postnav">		<div class="prev"><?php next_posts_link(__('&laquo; Previous Entries')) ?></div>		<div class="next"><?php previous_posts_link(__('Next Entries &raquo;')) ?></div>		</div>			<?php else : ?>		<h2 class="pagetitle"><?php _e('Search Results'); ?></h2>		<p><?php _e('Sorry, but no posts matched your criteria.'); ?></p>		<?php include (TEMPLATEPATH . '/searchform.php'); ?>	<?php endif; ?>	</div><?php get_sidebar(); ?><?php get_footer(); ?>