summaryrefslogtreecommitdiff
path: root/discussion.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-11-02 09:23:07 +0000
committerDries Buytaert <dries@buytaert.net>2000-11-02 09:23:07 +0000
commit8a866e6d51ba27eecc186e7001bfcc4af42e6dfe (patch)
tree736ae0a9b4169bd96fe7f1c94d11588a989549ea /discussion.php
parent70520c7b0548bd70b30b1c553bda087c7321e1dc (diff)
downloadbrdo-8a866e6d51ba27eecc186e7001bfcc4af42e6dfe.tar.gz
brdo-8a866e6d51ba27eecc186e7001bfcc4af42e6dfe.tar.bz2
- Fixed quote bug in the comment tracker.
(suggestion UnConeD) - Added anchors to comment links to easy comment navigation. (suggestion UnConeD) - Fixed duplicate `you voted' after moderating a story. (suggestion UnConeD) - Fixed quote bug in administration center. - Expanded user administration with timezone information. - Improved the theme system by eliminating the "preview" function. Let's not make the system more complex then it ought to be. - Refined watchdog administration. - ...
Diffstat (limited to 'discussion.php')
-rw-r--r--discussion.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/discussion.php b/discussion.php
index b5f8805f5..24c6d6ab0 100644
--- a/discussion.php
+++ b/discussion.php
@@ -152,7 +152,7 @@ function discussion_display($sid, $pid, $cid, $level = 0) {
}
function discussion_reply($pid, $sid) {
- global $user, $theme;
+ global $user, $theme, $allowed_html;
### Extract parent-information/data:
if ($pid) {
@@ -183,6 +183,7 @@ function discussion_reply($pid, $sid) {
$output .= "<P>\n";
$output .= " <B>Comment:</B><BR>\n";
$output .= " <TEXTAREA WRAP=\"virtual\" COLS=\"50\" ROWS=\"10\" NAME=\"comment\">". check_output(check_field($user->signature)) ."</TEXTAREA><BR>\n";
+ $output .= " <SMALL><I>Allowed HTML tags: ". htmlspecialchars($allowed_html) .".</I></SMALL>\n";
$output .= "</P>\n";
### Hidden fields:
@@ -197,7 +198,7 @@ function discussion_reply($pid, $sid) {
}
function comment_preview($pid, $sid, $subject, $comment) {
- global $user, $theme;
+ global $user, $theme, $allowed_html;
### Preview comment:
$theme->comment($user->userid, check_output($subject), check_output($comment), time(), check_output($user->url), check_output($user->fake_email), "", "", "", "reply to this comment");
@@ -221,6 +222,7 @@ function comment_preview($pid, $sid, $subject, $comment) {
$output .= "<P>\n";
$output .= " <B>Comment:</B><BR>\n";
$output .= " <TEXTAREA WRAP=\"virtual\" COLS=\"50\" ROWS=\"10\" NAME=\"comment\">". check_output(check_field($comment)) ."</TEXTAREA><BR>\n";
+ $output .= " <SMALL><I>Allowed HTML tags: ". htmlspecialchars($allowed_html) .".</I></SMALL>\n";
$output .= "</P>\n";
### Hidden fields: