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">
@ -6,5 +6,6 @@
</div>
<?php include "sidebar.php"; ?>
<?php include "footer.php"; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>

View File

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

View File

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

View File

@ -14,7 +14,7 @@
}
/* This variable is for alternating comment background */
$oddcomment = "graybox";
$oddcomment = 'graybox';
?>
<!-- You can start editing here. -->
@ -26,7 +26,7 @@
<?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 />
<!--<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>
@ -36,8 +36,8 @@
</li>
<?php /* Changes every other comment to a different class */
if("graybox" == $oddcomment) {$oddcomment="";}
else { $oddcomment="graybox"; }
if('graybox' == $oddcomment) {$oddcomment="";}
else { $oddcomment = "graybox"; }
?>
<?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" />
<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>
<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>
<?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>
</form>
<?php // if you delete this the sky will fall on your head
endif; ?>
<?php endif; // if you delete this the sky will fall on your head ?>

View File

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

View File

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

View File

@ -1,4 +1,4 @@
<?php include "header.php"; ?>
<?php get_header(); ?>
<div id="content" class="narrowcolumn">
@ -32,11 +32,12 @@
<h2 class="center">Not Found</h2>
<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; ?>
</div>
<?php include "sidebar.php"; ?>
<?php include "footer.php"; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>

View File

@ -1,8 +1,4 @@
<?php /*
Template Name: Links
*/
?>
<?php include "header.php"; ?>
<?php get_header(); ?>
<div id="content" class="widecolumn">
@ -13,4 +9,4 @@
</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">
@ -14,4 +14,4 @@
<?php endwhile; endif; ?>
</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">
@ -39,11 +39,12 @@
<?php else : ?>
<h2 class="center">Not Found</h2>
<?php include "searchform.php"; ?>
<?php include (TEMPLATEPATH . "/searchform.php"; ?>
<?php endif; ?>
</div>
<?php include "sidebar.php"; ?>
<?php include "footer.php"; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>

View File

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

View File

@ -2,7 +2,7 @@
<ul>
<li>
<?php include "searchform.php"; ?>
<?php include (TEMPLATEPATH . "/searchform.php"; ?>
</li>
<!-- 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">
@ -63,4 +63,4 @@
</div>
<?php include "footer.php"; ?>
<?php get_footer(); ?>