mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-01 00:27:38 +02:00
Some Kubrick cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d7da12c7d2
commit
7844233eb2
@ -14,13 +14,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* This variable is for alternating comment background */
|
/* This variable is for alternating comment background */
|
||||||
$oddcomment = 'graybox';
|
$oddcomment = 'alt';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!-- You can start editing here. -->
|
<!-- You can start editing here. -->
|
||||||
|
|
||||||
<?php if ($comments) : ?>
|
<?php if ($comments) : ?>
|
||||||
<h3 id="comments"><?php comments_number('No Responses','One Response','% Responses' );?> to '<?php the_title(); ?>'</h3>
|
<h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to “<?php the_title(); ?>”</h3>
|
||||||
|
|
||||||
<ol class="commentlist">
|
<ol class="commentlist">
|
||||||
|
|
||||||
@ -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 ('alt' == $oddcomment) $oddcomment = '';
|
||||||
else { $oddcomment = "graybox"; }
|
else $oddcomment = 'alt';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php endforeach; /* end for each comment */ ?>
|
<?php endforeach; /* end for each comment */ ?>
|
||||||
@ -62,12 +62,12 @@
|
|||||||
<h3 id="respond">Leave a Reply</h3>
|
<h3 id="respond">Leave a Reply</h3>
|
||||||
<form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
|
<form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
|
||||||
|
|
||||||
<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" 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; ?>" />
|
||||||
<label for="author"><small>Name</small></label></p>
|
<label for="author"><small>Name <?php if ($req) _e('(required)'); ?></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" />
|
||||||
<label for="email"><small>Mail (will not be published)</small></label></p>
|
<label for="email"><small>Mail (will not be published) <?php if ($req) _e('(required)'); ?></small></label></p>
|
||||||
|
|
||||||
<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
|
<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
|
||||||
<label for="url"><small>Website</small></label></p>
|
<label for="url"><small>Website</small></label></p>
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php endwhile; endif; ?>
|
<?php endwhile; endif; ?>
|
||||||
|
<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php get_sidebar(); ?>
|
<?php get_sidebar(); ?>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>">
|
<form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>">
|
||||||
<div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
|
<div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
|
||||||
<input type="submit" id="searchsubmit" name="Submit" value="Go!" />
|
<input type="submit" id="searchsubmit" name="Submit" value="Search" />
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
@ -37,15 +37,6 @@
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- The Calendar is disabled per default. Uncomment if you want to use it.
|
|
||||||
<li><h2><?php _e('Calendar'); ?></h2>
|
|
||||||
<?php get_calendar(); ?>
|
|
||||||
</li>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?>
|
<?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?>
|
||||||
|
|
||||||
<li><h2><?php _e('Archives'); ?></h2>
|
<li><h2><?php _e('Archives'); ?></h2>
|
||||||
@ -60,12 +51,8 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<?php /* If this is the frontpage */ if (is_home()) { ?>
|
<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
|
||||||
<li><h2><?php _e('Links'); ?></h2>
|
<?php get_links_list(); ?>
|
||||||
<ul>
|
|
||||||
<?php get_links('-1', '<li>', '</li>', '<br />'); ?>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li><h2><?php _e('Meta'); ?></h2>
|
<li><h2><?php _e('Meta'); ?></h2>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
|
|
||||||
<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
|
<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
|
||||||
|
|
||||||
<p class="postmetadata graybox">
|
<p class="postmetadata alt">
|
||||||
<small>
|
<small>
|
||||||
This entry was posted
|
This entry was posted
|
||||||
<?php /* This is uncommented, because it requires a little adjusting sometimes.
|
<?php /* This is commented, because it requires a little adjusting sometimes.
|
||||||
You'll need to download this plugin, and follow the instructions:
|
You'll need to download this plugin, and follow the instructions:
|
||||||
http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
|
http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
|
||||||
/* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
|
/* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
|
||||||
|
@ -64,7 +64,7 @@ body {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.graybox {
|
.alt {
|
||||||
background-color: #f8f8f8;
|
background-color: #f8f8f8;
|
||||||
border-top: 1px solid #ddd;
|
border-top: 1px solid #ddd;
|
||||||
border-bottom: 1px solid #ddd;
|
border-bottom: 1px solid #ddd;
|
||||||
@ -437,7 +437,7 @@ ol li, #sidebar ul ol li {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#sidebar #searchform #s {
|
#sidebar #searchform #s {
|
||||||
width: 130px;
|
width: 115px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -473,7 +473,7 @@ select {
|
|||||||
|
|
||||||
|
|
||||||
/* Begin Comments*/
|
/* Begin Comments*/
|
||||||
.graybox {
|
.alt {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user