clean some indentation

This commit is contained in:
John Bintz 2009-06-30 19:53:35 -04:00
parent ab7f12911c
commit 5ba2cc53a3
2 changed files with 94 additions and 94 deletions

View File

@ -2,68 +2,68 @@
<div id="column" class="archive"> <div id="column" class="archive">
<div class="post-page-head"></div> <div class="post-page-head"></div>
<div class="post-page"> <div class="post-page">
<?php <?php
$tmp_search = new WP_Query('s=' . wp_specialchars($_GET['s']) . '&show_posts=-1&posts_per_page=-1'); $tmp_search = new WP_Query('s=' . wp_specialchars($_GET['s']) . '&show_posts=-1&posts_per_page=-1');
$count = $tmp_search->post_count; $count = $tmp_search->post_count;
?> ?>
<h2 class="pagetitle">Transcript search for &lsquo;<?php the_search_query() ?>&rsquo;</h2> <h2 class="pagetitle">Transcript search for &lsquo;<?php the_search_query() ?>&rsquo;</h2>
Found <?php echo $count; ?> result<?php if ($count !== 1) { echo "s"; } ?>. Found <?php echo $count; ?> result<?php if ($count !== 1) { echo "s"; } ?>.
</div> </div>
<div class="post-page-foot"></div> <div class="post-page-foot"></div>
<?php if (have_posts()) : ?> <?php if (have_posts()) : ?>
<?php $posts = query_posts($query_string.'&order=asc'); <?php $posts = query_posts($query_string.'&order=asc');
while (have_posts()) : the_post() ?> while (have_posts()) : the_post() ?>
<?php if (in_comic_category()) { ?> <?php if (in_comic_category()) { ?>
<div class="post-comic-head"></div> <div class="post-comic-head"></div>
<div class="post-comic"> <div class="post-comic">
<div class="comicarchiveframe" style="width:<?php echo $archive_comic_width ?>px;"> <div class="comicarchiveframe" style="width:<?php echo $archive_comic_width ?>px;">
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="<?php the_transcript() ?>" width="<?php echo $archive_comic_width ?>" /><br /> <a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="<?php the_transcript() ?>" width="<?php echo $archive_comic_width ?>" /><br />
<h3><?php the_title() ?></h3> <h3><?php the_title() ?></h3>
<small><?php the_time('F jS, Y') ?></small></a> <small><?php the_time('F jS, Y') ?></small></a>
</div> </div>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>
<div class="post-comic-foot"></div> <div class="post-comic-foot"></div>
<?php } else { ?> <?php } else { ?>
<div class="post-head"></div> <div class="post-head"></div>
<div class="post"> <div class="post">
<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title() ?>"><?php the_title() ?></a></h3> <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title() ?>"><?php the_title() ?></a></h3>
<div class="postdate"><?php the_time('F jS, Y') ?></div> <div class="postdate"><?php the_time('F jS, Y') ?></div>
<?php the_excerpt() ?> <?php the_excerpt() ?>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>
<div class="post-foot"></div> <div class="post-foot"></div>
<?php } ?> <?php } ?>
<?php endwhile; ?> <?php endwhile; ?>
<div class="pagenav"> <div class="pagenav">
<div class="pagenav-right"><?php next_posts_link('Next Page &rsaquo;') ?></div> <div class="pagenav-right"><?php next_posts_link('Next Page &rsaquo;') ?></div>
<div class="pagenav-left"><?php previous_posts_link('&lsaquo; Previous Page') ?></div> <div class="pagenav-left"><?php previous_posts_link('&lsaquo; Previous Page') ?></div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<?php else : ?> <?php else : ?>
<div class="post-page-head"></div> <div class="post-page-head"></div>
<div class="post-page"> <div class="post-page">
<h3>No transcripts found.</h3> <h3>No transcripts found.</h3>
<p>Try another search?</p> <p>Try another search?</p>
<p><?php include (TEMPLATEPATH . '/searchform-transcript.php') ?></p> <p><?php include (TEMPLATEPATH . '/searchform-transcript.php') ?></p>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>
<div class="post-page-foot"></div> <div class="post-page-foot"></div>
<?php endif; ?> <?php endif; ?>
</div> </div>

View File

@ -2,8 +2,8 @@
<div id="column" class="archive"> <div id="column" class="archive">
<div class="post-page-head"></div> <div class="post-page-head"></div>
<div class="post-page"> <div class="post-page">
<?php <?php
$tmp_search = new WP_Query('s=' . wp_specialchars($_GET['s']) . '&show_posts=-1&posts_per_page=-1'); $tmp_search = new WP_Query('s=' . wp_specialchars($_GET['s']) . '&show_posts=-1&posts_per_page=-1');
$count = $tmp_search->post_count; $count = $tmp_search->post_count;
@ -11,59 +11,59 @@
<h2 class="pagetitle">Search for &lsquo;<?php the_search_query() ?>&rsquo;</h2> <h2 class="pagetitle">Search for &lsquo;<?php the_search_query() ?>&rsquo;</h2>
Found <?php echo $count; ?> result<?php if ($count !== 1) { echo "s"; } ?>. Found <?php echo $count; ?> result<?php if ($count !== 1) { echo "s"; } ?>.
</div> </div>
<div class="post-page-foot"></div> <div class="post-page-foot"></div>
<?php if (have_posts()) : ?> <?php if (have_posts()) : ?>
<?php $posts = query_posts($query_string.'&order=asc'); <?php $posts = query_posts($query_string.'&order=asc');
while (have_posts()) : the_post() ?> while (have_posts()) : the_post() ?>
<?php global $archive_comic_width; if (in_comic_category()) { ?> <?php global $archive_comic_width; if (in_comic_category()) { ?>
<div class="post-comic-head"></div> <div class="post-comic-head"></div>
<div class="post-comic"> <div class="post-comic">
<div class="comicarchiveframe" style="width:<?php echo $archive_comic_width ?>px;"> <div class="comicarchiveframe" style="width:<?php echo $archive_comic_width ?>px;">
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="Click for full size." title="Click for full size" width="<?php echo $archive_comic_width ?>" /><br /> <a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="Click for full size." title="Click for full size" width="<?php echo $archive_comic_width ?>" /><br />
<h3><?php the_title() ?></h3> <h3><?php the_title() ?></h3>
<small><?php the_time('F jS, Y') ?></small></a> <small><?php the_time('F jS, Y') ?></small></a>
</div> </div>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>
<div class="post-comic-foot"></div> <div class="post-comic-foot"></div>
<?php } else { ?> <?php } else { ?>
<div class="post-head"></div> <div class="post-head"></div>
<div class="post"> <div class="post">
<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title() ?>"><?php the_title() ?></a></h3> <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title() ?>"><?php the_title() ?></a></h3>
<div class="postdate"><?php the_time('F jS, Y') ?></div> <div class="postdate"><?php the_time('F jS, Y') ?></div>
<?php the_excerpt() ?> <?php the_excerpt() ?>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>
<div class="post-foot"></div> <div class="post-foot"></div>
<?php } ?> <?php } ?>
<?php endwhile ?> <?php endwhile ?>
<div class="pagenav"> <div class="pagenav">
<div class="pagenav-right"><?php next_posts_link('Next Page &rsaquo;') ?></div> <div class="pagenav-right"><?php next_posts_link('Next Page &rsaquo;') ?></div>
<div class="pagenav-left"><?php previous_posts_link('&lsaquo; Previous Page') ?></div> <div class="pagenav-left"><?php previous_posts_link('&lsaquo; Previous Page') ?></div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<?php else : ?> <?php else : ?>
<div class="post-page-head"></div> <div class="post-page-head"></div>
<div class="post-page"> <div class="post-page">
<h3>No entries found.</h3> <h3>No entries found.</h3>
<p>Try another search?</p> <p>Try another search?</p>
<p><?php include (TEMPLATEPATH . '/searchform.php') ?></p> <p><?php include (TEMPLATEPATH . '/searchform.php') ?></p>
<br class="clear-margins" /> <br class="clear-margins" />
</div> </div>
<div class="post-page-foot"></div> <div class="post-page-foot"></div>
<?php endif ?> <?php endif ?>
</div> </div>