Changeset 579 for trunk/wp-admin/wp-moderation.php
- Timestamp:
- 12/07/2003 09:45:57 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/wp-moderation.php
r560 r579 48 48 die('<p>Your level is not high enough to moderate comments. Ask for a promotion from your <a href="mailto:$admin_email">blog admin</a>. :)</p>'); 49 49 } 50 51 // check if comment moderation is turned on in the settings52 // if not, just give a short note and stop53 if ('none' == get_settings('comment_moderation')) {54 echo '<div class="wrap">55 <p>Comment moderation has been turned off.</p>56 </div>';57 require('b2footer.php');58 exit;59 }60 50 61 51 $item_ignored = 0; … … 106 96 </ul> 107 97 <?php 108 // check if comment moderation is turned on in the settings109 // if not, just give a short note and stop110 if ('none' == get_settings('comment_moderation')) {111 echo '<div class="wrap">112 <p>Comment moderation has been turned off.</p>113 </div>';114 include("b2footer.php");115 exit;116 }117 98 118 99 // if we come here after deleting/approving comments we give … … 171 152 echo "<a href=\"wp-post.php?action=editcomment&comment=".$comment->comment_ID."\">Edit</a>"; 172 153 echo " | <a href=\"wp-post.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 just this comment</a> | "; ?>Bulk action: 173 < label><input type="radio" name="comment[$comment->comment_ID]" value="approve" />Approve</label>174 < label><input type="radio" name="comment[$comment->comment_ID]" value="delete" />Delete</label>175 < label><input type="radio" name="comment[$comment->comment_ID]" value="later" checked="checked" />Do nothing</label>154 <input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment[<?php echo $comment->comment_ID; ?>]-approve" value="approve" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-approve">Approve</label> 155 <input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment[<?php echo $comment->comment_ID; ?>]-delete" value="delete" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-delete">Delete</label> 156 <input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment[<?php echo $comment->comment_ID; ?>]-nothing" value="later" checked="checked" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-nothing">Do nothing</label> 176 157 177 158 </li>
Note: See TracChangeset
for help on using the changeset viewer.