diff --git a/checkin_notes b/checkin_notes index 73698f0e6d..d465d5e32e 100644 --- a/checkin_notes +++ b/checkin_notes @@ -9375,3 +9375,10 @@ David 11 Nov 2008 api/ boinc_api.cpp + +David 11 Nov 2008 + - web: don't show misleading message if forum rating disabled + fixes #768; from Nicolas + + html/user/ + forum_report_post.php diff --git a/html/user/forum_report_post.php b/html/user/forum_report_post.php index b09a14b6d3..a2973c94a7 100644 --- a/html/user/forum_report_post.php +++ b/html/user/forum_report_post.php @@ -56,7 +56,7 @@ if (get_str("submit",true)){ } } - +$no_forum_rating = parse_bool($config, "no_forum_rating"); //__--------------- Display part if ($success_page==1) { @@ -69,12 +69,14 @@ if ($success_page==1) { echo "id, "#", $post->id, "\">Return to thread"; } elseif ($success_page==0){ page_head('Report a forum post'); - echo "

Before reporting this post please - consider using the +/- rating system instead. - If enough users agree on rating a post negatively it will - eventually be hidden. -
You can find the rating system at the bottom of the post.

- "; + if (!$no_forum_rating) { + echo "

Before reporting this post please + consider using the +/- rating system instead. + If enough users agree on rating a post negatively it will + eventually be hidden. +
You can find the rating system at the bottom of the post.
+ "; + } start_forum_table(array(tra("Author"), tra("Message"),"")); show_post($post, $thread, $forum, $user, 0, 0); echo "

\n";