From 02c622dea123ff89ca45d19bd4ee402f8cf74a00 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 27 Jan 2004 22:10:47 +0000 Subject: - Patch 4332 by Goba: eliminate compose tips module. --- modules/comment.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/comment.module') diff --git a/modules/comment.module b/modules/comment.module index 4e78e7677..9c937dde0 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -150,7 +150,7 @@ function comment_user($type, $edit, &$user) { break; case "edit_form": // when user tries to edit his own data - return form_textarea(t("Signature"), "signature", $user->signature, 70, 3, t("Your signature will be publicly displayed at the end of your comments.") ."
". form_allowed_tags_text()); + return form_textarea(t("Signature"), "signature", $user->signature, 70, 3, t("Your signature will be publicly displayed at the end of your comments.") ."
". filter_tips_short()); case "edit_validate": // validate user data editing return array("signature" => $edit["signature"]); @@ -1259,7 +1259,7 @@ function theme_comment_form($edit, $title) { $form .= form_textfield(t("Subject"), "subject", $edit["subject"], 50, 64); // comment field: - $form .= form_textarea(t("Comment"), "comment", $edit["comment"] ? $edit["comment"] : $user->signature, 70, 10, form_allowed_tags_text()); + $form .= form_textarea(t("Comment"), "comment", $edit["comment"] ? $edit["comment"] : $user->signature, 70, 10, filter_tips_short()); // preview button: $form .= form_hidden("cid", $edit["cid"]); -- cgit v1.2.3