Some Kubrick cleanups.

git-svn-id: http://svn.automattic.com/wordpress/trunk@2013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-12-30 11:25:15 +00:00
parent 520fe2ed03
commit 74dbae73ec
13 changed files with 41 additions and 52 deletions

View File

@ -1,4 +1,4 @@
<?php include "header.php"; ?> <?php get_header(); ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
@ -6,5 +6,6 @@
</div> </div>
<?php include "sidebar.php"; ?> <?php get_sidebar(); ?>
<?php include "footer.php"; ?>
<?php get_footer(); ?>

View File

@ -1,4 +1,4 @@
<?php include "header.php"; ?> <?php get_header(); ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
@ -60,11 +60,12 @@
<?php else : ?> <?php else : ?>
<h2 class="center">Not Found</h2> <h2 class="center">Not Found</h2>
<?php include "searchform.php"; ?> <?php include (TEMPLATEPATH . "/searchform.php"; ?>
<?php endif; ?> <?php endif; ?>
</div> </div>
<?php include "sidebar.php"; ?> <?php get_sidebar(); ?>
<?php include "footer.php"; ?>
<?php get_footer(); ?>

View File

@ -1,12 +1,8 @@
<?php /* <?php get_header(); ?>
Template Name: Archives
*/
?>
<?php include "header.php"; ?>
<div id="content" class="widecolumn"> <div id="content" class="widecolumn">
<?php include "searchform.php"; ?> <?php include (TEMPLATEPATH . '/searchform.php'; ?>
<h2>Archives by Month:</h2> <h2>Archives by Month:</h2>
<ul> <ul>
@ -20,4 +16,4 @@
</div> </div>
<?php include "footer.php"; ?> <?php get_footer(); ?>

View File

@ -14,7 +14,7 @@
} }
/* This variable is for alternating comment background */ /* This variable is for alternating comment background */
$oddcomment = "graybox"; $oddcomment = 'graybox';
?> ?>
<!-- You can start editing here. --> <!-- You can start editing here. -->
@ -26,7 +26,7 @@
<?php foreach ($comments as $comment) : ?> <?php foreach ($comments as $comment) : ?>
<li class="<?=$oddcomment;?>"> <li class="<?php echo $oddcomment; ?>">
<a name="comment-<?php comment_ID() ?>"></a><cite><?php comment_author_link() ?></cite> Says:<br /> <a name="comment-<?php comment_ID() ?>"></a><cite><?php comment_author_link() ?></cite> Says:<br />
<!--<small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title="<?php comment_date('l, F jS, Y') ?> at <?php comment_time() ?>"><?php /* $entry_datetime = abs(strtotime($post->post_date)); $comment_datetime = abs(strtotime($comment->comment_date)); echo time_since($entry_datetime, $comment_datetime) */ ?></a> after publication. <?php edit_comment_link('e','',''); ?></small>--> <!--<small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title="<?php comment_date('l, F jS, Y') ?> at <?php comment_time() ?>"><?php /* $entry_datetime = abs(strtotime($post->post_date)); $comment_datetime = abs(strtotime($comment->comment_date)); echo time_since($entry_datetime, $comment_datetime) */ ?></a> after publication. <?php edit_comment_link('e','',''); ?></small>-->
<small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> at <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small> <small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> at <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small>
@ -36,8 +36,8 @@
</li> </li>
<?php /* Changes every other comment to a different class */ <?php /* Changes every other comment to a different class */
if("graybox" == $oddcomment) {$oddcomment="";} if('graybox' == $oddcomment) {$oddcomment="";}
else { $oddcomment="graybox"; } else { $oddcomment = "graybox"; }
?> ?>
<?php endforeach; /* end for each comment */ ?> <?php endforeach; /* end for each comment */ ?>
@ -64,7 +64,6 @@
<p><input type="text" name="author" id="author" class="styled" value="<?php echo $comment_author; ?>" size="22" tabindex="1" /> <p><input type="text" name="author" id="author" class="styled" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
<input type="hidden" name="redirect_to" value="<?php echo htmlspecialchars($_SERVER["REQUEST_URI"]); ?>" />
<label for="author"><small>Name</small></label></p> <label for="author"><small>Name</small></label></p>
<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" /> <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
@ -77,14 +76,9 @@
<p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p> <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>
<?php if ('none' != get_settings("comment_moderation")) { ?>
<p><small><strong>Please note:</strong> Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.</small></p>
<?php } ?>
<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /></p> <p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /></p>
</form> </form>
<?php // if you delete this the sky will fall on your head <?php endif; // if you delete this the sky will fall on your head ?>
endif; ?>

View File

@ -1,4 +1,4 @@
<? // Begin Footer ?>
<hr /> <hr />
<div id="footer"> <div id="footer">
<p> <p>
@ -15,7 +15,6 @@
</p> </p>
</div> </div>
</div> </div>
<? // End Footer ?>
<?php /* "Just what do you think you're doing Dave?" */ ?> <?php /* "Just what do you think you're doing Dave?" */ ?>

View File

@ -55,7 +55,7 @@
<body> <body>
<div id="page"> <div id="page">
<? // Begin Header ?>
<div id="header"> <div id="header">
<div id="headerimg"> <div id="headerimg">
<h1><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1> <h1><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
@ -63,4 +63,3 @@
</div> </div>
</div> </div>
<hr /> <hr />
<? // End Header ?>

View File

@ -1,4 +1,4 @@
<?php include "header.php"; ?> <?php get_header(); ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
@ -32,11 +32,12 @@
<h2 class="center">Not Found</h2> <h2 class="center">Not Found</h2>
<p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?></p> <p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?></p>
<?php include "searchform.php"; ?> <?php include (TEMPLATEPATH . "/searchform.php"; ?>
<?php endif; ?> <?php endif; ?>
</div> </div>
<?php include "sidebar.php"; ?> <?php get_sidebar(); ?>
<?php include "footer.php"; ?>
<?php get_footer(); ?>

View File

@ -1,8 +1,4 @@
<?php /* <?php get_header(); ?>
Template Name: Links
*/
?>
<?php include "header.php"; ?>
<div id="content" class="widecolumn"> <div id="content" class="widecolumn">
@ -13,4 +9,4 @@
</div> </div>
<?php include "footer.php"; ?> <?php get_footer(); ?>

View File

@ -1,4 +1,4 @@
<?php include "header.php"; ?> <?php get_header(); ?>
<div id="content" class="widecolumn"> <div id="content" class="widecolumn">
@ -14,4 +14,4 @@
<?php endwhile; endif; ?> <?php endwhile; endif; ?>
</div> </div>
<?php include "footer.php"; ?> <?php get_footer(); ?>

View File

@ -1,4 +1,4 @@
<?php include "header.php"; ?> <?php get_header(); ?>
<div id="content" class="narrowcolumn"> <div id="content" class="narrowcolumn">
@ -39,11 +39,12 @@
<?php else : ?> <?php else : ?>
<h2 class="center">Not Found</h2> <h2 class="center">Not Found</h2>
<?php include "searchform.php"; ?> <?php include (TEMPLATEPATH . "/searchform.php"; ?>
<?php endif; ?> <?php endif; ?>
</div> </div>
<?php include "sidebar.php"; ?> <?php get_sidebar(); ?>
<?php include "footer.php"; ?>
<?php get_footer(); ?>

View File

@ -1,4 +1,5 @@
<form method="get" id="searchform" action="<?php echo $PHP_SELF; ?>"> <form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<input type="text" value="<?=$s; ?>" name="s" id="s" /> <div><input type="text" value="<?php echo bb_specialchars($s, 1); ?>" name="s" id="s" />
<input type="submit" id="searchsubmit" name="Submit" value="<?php _e('Go!'); ?>" /> <input type="submit" id="searchsubmit" name="Submit" value="Go!" />
</form> </div>
</form>

View File

@ -2,7 +2,7 @@
<ul> <ul>
<li> <li>
<?php include "searchform.php"; ?> <?php include (TEMPLATEPATH . "/searchform.php"; ?>
</li> </li>
<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it. <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.

View File

@ -1,4 +1,4 @@
<?php include "header.php"; ?> <?php get_header(); ?>
<div id="content" class="widecolumn"> <div id="content" class="widecolumn">
@ -63,4 +63,4 @@
</div> </div>
<?php include "footer.php"; ?> <?php get_footer(); ?>