Changeset 386
- Timestamp:
- 09/25/2003 03:15:23 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/wp-edit.showcomments.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/wp-edit.showcomments.php
r382 r386 144 144 <p> 145 145 <?php comment_date('Y/m/d') ?> @ <?php comment_time() ?> 146 [ <a href="b2edit.php?p=<?php echo $comment->comment_post_ID; ?>&c=1">View Post</a> 146 147 <?php 147 148 if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) { 148 echo " [<a href=\"b2edit.php?action=editcomment&comment=".$comment->comment_ID."\">Edit</a>";149 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> ]";149 echo " - <a href=\"b2edit.php?action=editcomment&comment=".$comment->comment_ID."\">Edit</a>"; 150 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>"; 150 151 } // end if any comments to show 151 152 ?> 153 ] 152 154 <br /> 153 155 <strong><?php comment_author() ?> ( <?php comment_author_email_link() ?> / <?php comment_author_url_link() ?> )</strong> (IP: <?php comment_author_IP() ?>)
Note: See TracChangeset
for help on using the changeset viewer.