From f7d29f6651a231b8a6753e9a0273b4e937cef735 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 29 Jan 2010 17:00:14 +0000 Subject: [PATCH] - user web: if Akismet rejects thread reply, show warning svn path=/trunk/boinc/; revision=20318 --- checkin_notes | 6 ++++++ html/user/forum_reply.php | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/checkin_notes b/checkin_notes index f046c399d3..84ca5e1311 100644 --- a/checkin_notes +++ b/checkin_notes @@ -801,3 +801,9 @@ David 29 Jan 2010 client/ work_fetch.cpp makefile_sim + +David 29 Jan 2010 + - user web: if Akismet rejects thread reply, show warning + + html/user/ + forum_reply.php diff --git a/html/user/forum_reply.php b/html/user/forum_reply.php index 358c8f9939..bfa0ee1153 100644 --- a/html/user/forum_reply.php +++ b/html/user/forum_reply.php @@ -86,6 +86,10 @@ page_head(tra("Post to thread"),'','','', $bbcode_js); show_forum_header($logged_in_user); +if ($warning) { + echo "$warning

"; +} + switch ($forum->parent_type) { case 0: $category = BoincCategory::lookup_id($forum->category);