New status fields.

git-svn-id: https://develop.svn.wordpress.org/trunk@143 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2003-06-01 14:49:30 +00:00
parent e95f55e8a3
commit abb10dc720
3 changed files with 79 additions and 24 deletions

View File

@@ -233,7 +233,7 @@ if ($i == "ASC")
$posts_per_page = 10;
start_b2(); ?>
<p>
<strong><?php the_time('Y/m/d @ H:i:s'); ?></strong> [ <a href="b2edit.php?p=<?php echo $id ?>&c=1"><?php comments_number('no comment', '1 comment', "% comments") ?></a>
<strong><?php the_time('Y/m/d @ H:i:s'); ?></strong> [ <a href="b2edit.php?p=<?php echo $id ?>&c=1"><?php comments_number('no comments', '1 comment', "% comments") ?></a>
<?php
if (($user_level > $authordata[13]) or ($user_login == $authordata[1])) {
echo " - <a href='b2edit.php?action=edit&amp;post=$id";
@@ -242,6 +242,7 @@ if ($i == "ASC")
echo "'>Edit</a>";
echo " - <a href='b2edit.php?action=delete&amp;post=$id' onclick=\"return confirm('You are about to delete this post \'".$row->post_title."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete</a> ";
}
if ('private' == $post->post_status) echo ' - <strong>Private</strong>';
?>
]
<br />