summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xincludes/comments.php10
-rwxr-xr-xtheme/comments.tpl9
2 files changed, 1 insertions, 18 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}
diff --git a/theme/comments.tpl b/theme/comments.tpl index ab4e05b..30c78ba 100755 --- a/theme/comments.tpl +++ b/theme/comments.tpl
@@ -1,12 +1,3 @@
1<!--<script>
2var idcomments_acct = '150cde7e591dedeb7098b992cc4f382a';
3var idcomments_post_id;
4var idcomments_post_url;
5</script>
6<span id="IDCommentsPostTitle" style="display:none"></span>
7<script type='text/javascript' src='http://www.intensedebate.com/js/genericCommentWrapperV2.js'></script>
8-->
9
10<!--BEGIN COMMENTS--> 1<!--BEGIN COMMENTS-->
11<DIV CLASS="bubble"> 2<DIV CLASS="bubble">
12 <BLOCKQUOTE> 3 <BLOCKQUOTE>