diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2008-12-07 17:27:58 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2008-12-07 17:27:58 -0500 |
commit | 07aae7e8f8b752e6b37b338783a6d6fef290ee10 (patch) | |
tree | 1072b9822f7e52e7d28e92979c4e88a3e261ec55 /includes/comments.php | |
parent | bb736bb631788574137742f60dfaa2a808573af8 (diff) | |
download | fourisland-07aae7e8f8b752e6b37b338783a6d6fef290ee10.tar.gz fourisland-07aae7e8f8b752e6b37b338783a6d6fef290ee10.tar.bz2 fourisland-07aae7e8f8b752e6b37b338783a6d6fef290ee10.zip |
Removed comment rating system
Diffstat (limited to 'includes/comments.php')
-rwxr-xr-x | includes/comments.php | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/includes/comments.php b/includes/comments.php index 682aa0e..ca5528e 100755 --- a/includes/comments.php +++ b/includes/comments.php | |||
@@ -68,19 +68,11 @@ while ($getcomments3[$i] = mysql_fetch_array($getcomments2)) | |||
68 | 68 | ||
69 | if (isset($username)) | 69 | if (isset($username)) |
70 | { | 70 | { |
71 | if ($getcomments3[$i]['rating'] > -2) | ||
72 | { | ||
73 | $text = parseBBCode($getcomments3[$i]['comment']); | ||
74 | } else { | ||
75 | $text = 'This comment has been rated down below the threshold for public viewing (-1), suggesting that it may contain inappropriate or off topic content. (Or it may have been flame bait, or simply bad!)'; | ||
76 | } | ||
77 | |||
78 | $template->add_ref($curID, 'COMMENTS', array( 'CODEDEMAIL' => md5(strtolower($email)), | 71 | $template->add_ref($curID, 'COMMENTS', array( 'CODEDEMAIL' => md5(strtolower($email)), |
79 | 'USERNAME' => (($website != '') ? '<A HREF="http://' . $website . '">' . $username . '</A>' : $username), | 72 | 'USERNAME' => (($website != '') ? '<A HREF="http://' . $website . '">' . $username . '</A>' : $username), |
80 | 'DATE' => date("F dS Y \a\\t g:i:s a",strtotime($getcomments3[$i]['posttime'])), | 73 | 'DATE' => date("F dS Y \a\\t g:i:s a",strtotime($getcomments3[$i]['posttime'])), |
81 | 'RATING' => $getcomments3[$i]['rating'], | ||
82 | 'ID' => $getcomments3[$i]['id'], | 74 | 'ID' => $getcomments3[$i]['id'], |
83 | 'TEXT' => $text)); | 75 | 'TEXT' => parseBBCode($getcomments3[$i]['comment']))); |
84 | } | 76 | } |
85 | $i++; | 77 | $i++; |
86 | } | 78 | } |