From a1b158334a4f2362caa5186f81b41c7cc32011a5 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 8 Mar 2001 19:30:41 +0000 Subject: - more small improvements --- includes/comment.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'includes/comment.inc') diff --git a/includes/comment.inc b/includes/comment.inc index 9dc3f5570..744ab0f9b 100644 --- a/includes/comment.inc +++ b/includes/comment.inc @@ -59,7 +59,7 @@ function comment_reply($pid, $id) { $pid = 0; if ($link == "story") { $item = db_fetch_object(db_query("SELECT stories.*, users.userid FROM stories LEFT JOIN users ON stories.author = users.id WHERE stories.status != 0 AND stories.id = '$id'")); - $theme->story($item, ""); + $theme->story($item, "[ ". t("reply to this story") ." ]"); } } @@ -93,9 +93,6 @@ function comment_reply($pid, $id) { function comment_preview($pid, $id, $subject, $comment) { global $allowed_html, $link, $REQUEST_URI, $theme, $user; - $subject = check_output($subject); - $comment = check_output($comment); - // Preview comment: comment_view(new Comment($user->userid, $subject, $comment, time(), $user->url, $user->fake_email, 0, 0, 0, 0), t("reply to this comment")); -- cgit v1.2.3