moved link to Show Post from beginning to end of actions links

git-svn-id: https://develop.svn.wordpress.org/trunk@387 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Alex King 2003-09-25 22:43:07 +00:00
parent 0af3658b8d
commit cf6d39815d

View File

@ -143,14 +143,14 @@ echo $comments_nav_bar;
?>
<p>
<?php comment_date('Y/m/d') ?> @ <?php comment_time() ?>
[ <a href="b2edit.php?p=<?php echo $comment->comment_post_ID; ?>&c=1">View Post</a>
[
<?php
if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) {
echo " - <a href=\"b2edit.php?action=editcomment&amp;comment=".$comment->comment_ID."\">Edit</a>";
echo " - <a href=\"b2edit.php?action=deletecomment&amp;p=".$comment->comment_post_ID."&amp;comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete</a>";
echo "<a href=\"b2edit.php?action=editcomment&amp;comment=".$comment->comment_ID."\">Edit</a>";
echo " - <a href=\"b2edit.php?action=deletecomment&amp;p=".$comment->comment_post_ID."&amp;comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete</a> - ";
} // end if any comments to show
?>
]
<a href="b2edit.php?p=<?php echo $comment->comment_post_ID; ?>&c=1">View Post</a> ]
<br />
<strong><?php comment_author() ?> ( <?php comment_author_email_link() ?> / <?php comment_author_url_link() ?> )</strong> (IP: <?php comment_author_IP() ?>)
<?php comment_text() ?>