summaryrefslogtreecommitdiff
path: root/ajax.php
diff options
context:
space:
mode:
authorHash9 <hash9@users.sourceforge.net>2006-07-26 22:45:30 +0000
committerHash9 <hash9@users.sourceforge.net>2006-07-26 22:45:30 +0000
commite4a219b620c013a2a0d9edfc8e1a142a53d74ec3 (patch)
treec75711642d3fee9f673d32689a669c003d57ddb5 /ajax.php
parentb0591455ff887e82b17696c0eb4033a27cbc87a6 (diff)
downloadboards-e4a219b620c013a2a0d9edfc8e1a142a53d74ec3.tar.gz
boards-e4a219b620c013a2a0d9edfc8e1a142a53d74ec3.tar.bz2
boards-e4a219b620c013a2a0d9edfc8e1a142a53d74ec3.zip
Add moderation of anon posts, and warnings for registered posts, also improve style support, and show details about the number unregistered posts to admins
Diffstat (limited to 'ajax.php')
-rw-r--r--ajax.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/ajax.php b/ajax.php
index a9023ed..b04b5fe 100644
--- a/ajax.php
+++ b/ajax.php
@@ -149,6 +149,16 @@ switch ($_GET['req']) {
trigger_error(var_export($gContent->mErrors,true ));
}
break;
+
+ case 10:
+ $comment = new BitBoardPost($_GET['comment_id']);
+ $comment->loadMetaData();
+ if (@$comment->verifyId($comment->mCommentId)) {
+ print $comment->mInfo['warned_message'];
+ } else {
+ trigger_error(var_export($comment->mErrors,true ));
+ }
+ break;
default:
break;
}