diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2008-11-19 18:38:09 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2008-11-19 18:38:09 -0500 |
commit | f6e4abd08cc5c2182a678394b748721d74d8e9f1 (patch) | |
tree | 71242d1ad93ad1eb436a6b973db08293305840e7 /includes | |
parent | 006b557637ef31a841c8f3be7079def46bf91b11 (diff) | |
download | fourisland-f6e4abd08cc5c2182a678394b748721d74d8e9f1.tar.gz fourisland-f6e4abd08cc5c2182a678394b748721d74d8e9f1.tar.bz2 fourisland-f6e4abd08cc5c2182a678394b748721d74d8e9f1.zip |
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.
Diffstat (limited to 'includes')
-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 9cb8b18..682aa0e 100755 --- a/includes/comments.php +++ b/includes/comments.php | |||
@@ -75,20 +75,12 @@ while ($getcomments3[$i] = mysql_fetch_array($getcomments2)) | |||
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!)'; | 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 | } | 76 | } |
77 | 77 | ||
78 | if ($getcomments3[$i]['title'] != '') | ||
79 | { | ||
80 | $title2 = $getcomments3[$i]['title']; | ||
81 | } else { | ||
82 | $title2 = 'Untitled'; | ||
83 | } | ||
84 | |||
85 | $template->add_ref($curID, 'COMMENTS', array( 'CODEDEMAIL' => md5(strtolower($email)), | 78 | $template->add_ref($curID, 'COMMENTS', array( 'CODEDEMAIL' => md5(strtolower($email)), |
86 | 'USERNAME' => (($website != '') ? '<A HREF="http://' . $website . '">' . $username . '</A>' : $username), | 79 | 'USERNAME' => (($website != '') ? '<A HREF="http://' . $website . '">' . $username . '</A>' : $username), |
87 | 'DATE' => date("F dS Y \a\\t g:i:s a",strtotime($getcomments3[$i]['posttime'])), | 80 | 'DATE' => date("F dS Y \a\\t g:i:s a",strtotime($getcomments3[$i]['posttime'])), |
88 | 'RATING' => $getcomments3[$i]['rating'], | 81 | 'RATING' => $getcomments3[$i]['rating'], |
89 | 'ID' => $getcomments3[$i]['id'], | 82 | 'ID' => $getcomments3[$i]['id'], |
90 | 'TEXT' => $text, | 83 | 'TEXT' => $text)); |
91 | 'TITLE' => $title2)); | ||
92 | } | 84 | } |
93 | $i++; | 85 | $i++; |
94 | } | 86 | } |