added link to post on each comment
git-svn-id: http://svn.automattic.com/wordpress/trunk@386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bb1251c43e
commit
13a0e460d1
|
@ -143,12 +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&comment=".$comment->comment_ID."\">Edit</a>";
|
||||
echo " - <a href=\"b2edit.php?action=deletecomment&p=".$comment->post_ID."&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&comment=".$comment->comment_ID."\">Edit</a>";
|
||||
echo " - <a href=\"b2edit.php?action=deletecomment&p=".$comment->comment_post_ID."&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
|
||||
?>
|
||||
]
|
||||
<br />
|
||||
<strong><?php comment_author() ?> ( <?php comment_author_email_link() ?> / <?php comment_author_url_link() ?> )</strong> (IP: <?php comment_author_IP() ?>)
|
||||
<?php comment_text() ?>
|
||||
|
|
Loading…
Reference in New Issue