From a75464d544a9e99010fc3b07470623986390eead Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 29 Jul 2003 02:01:58 +0000 Subject: [PATCH] Rating controls now respond to the show_controls variable. svn path=/trunk/boinc/; revision=1854 --- html/forum/forum.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/html/forum/forum.inc b/html/forum/forum.inc index 58150bfac5..d39b6174fb 100644 --- a/html/forum/forum.inc +++ b/html/forum/forum.inc @@ -317,6 +317,9 @@ function show_post($post, $thread, $logged_in_user, $n, $show_controls=true) { echo "

+ "; + if ($show_controls) { + echo " Rate this post: + "; + } + echo "

", nl2br(stripslashes($post->content)), "

";