git-svn-id: https://develop.svn.wordpress.org/trunk@1454 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-07-06 18:14:42 +00:00
parent 1048b8353c
commit 3ec8ee1f14
3 changed files with 6 additions and 6 deletions

View File

@@ -94,9 +94,9 @@ include(ABSPATH.'wp-blog-header.php');
if ($posts) {
$bgcolor = '';
foreach ($posts as $post) { start_wp();
$bgcolor = ('#eee' == $bgcolor) ? 'none' : '#eee';
$class = ('alternate' == $class) ? '' : 'alternate';
?>
<tr style='background-color: <?php echo $bgcolor; ?>'>
<tr class='<?php echo $class; ?>'>
<th scope="row"><?php echo $id ?></th>
<td><?php the_time('Y-m-d \<\b\r \/\> g:i:s a'); ?></td>
<td><a href="<?php the_permalink(); ?>" rel="permalink">