From f6e4abd08cc5c2182a678394b748721d74d8e9f1 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Wed, 19 Nov 2008 18:38:09 -0500 Subject: Removed "title" field from comments Previously, for about two weeks (while Four Island was down), Four Island used a threaded commenting system with comment titles (yes, like Slashdot). I quickly grew tired of this and was too lazy to completely remove the title field. --- includes/comments.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'includes') diff --git a/includes/comments.php b/includes/comments.php index 9cb8b18..682aa0e 100755 --- a/includes/comments.php +++ b/includes/comments.php @@ -75,20 +75,12 @@ while ($getcomments3[$i] = mysql_fetch_array($getcomments2)) $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!)'; } - if ($getcomments3[$i]['title'] != '') - { - $title2 = $getcomments3[$i]['title']; - } else { - $title2 = 'Untitled'; - } - $template->add_ref($curID, 'COMMENTS', array( 'CODEDEMAIL' => md5(strtolower($email)), 'USERNAME' => (($website != '') ? '' . $username . '' : $username), 'DATE' => date("F dS Y \a\\t g:i:s a",strtotime($getcomments3[$i]['posttime'])), 'RATING' => $getcomments3[$i]['rating'], 'ID' => $getcomments3[$i]['id'], - 'TEXT' => $text, - 'TITLE' => $title2)); + 'TEXT' => $text)); } $i++; } -- cgit 1.4.1