diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-01-31 21:16:42 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-01-31 21:16:42 +0000 |
commit | 48a4dff89750be86a64cccf0ce6ab76e58957351 (patch) | |
tree | fc6cfb7b91b67a97ef049ed91682cb97fb2a359b /modules/comment.module | |
parent | 294286687a9ea1a327469e25580f5836106ab61f (diff) | |
download | brdo-48a4dff89750be86a64cccf0ce6ab76e58957351.tar.gz brdo-48a4dff89750be86a64cccf0ce6ab76e58957351.tar.bz2 |
- Patch by Goba: added form descriptions where appropriate and removed some
duplicated code from the comment module.
Diffstat (limited to 'modules/comment.module')
-rw-r--r-- | modules/comment.module | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/comment.module b/modules/comment.module index 09d8e3d43..677d1b263 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -139,10 +139,6 @@ function comment_settings() { function comment_user($type, $edit, &$user) { switch ($type) { case "view_public": - if ($user->signature) { - return form_item(t("Signature"), check_output($user->signature)); - } - break; case "view_private": if ($user->signature) { return form_item(t("Signature"), check_output($user->signature)); @@ -909,7 +905,7 @@ function comment_admin_edit($id) { if ($comment) { $form .= form_item(t("Author"), format_name($comment)); $form .= form_textfield(t("Subject"), "subject", $comment->subject, 70, 128); - $form .= form_textarea(t("Comment"), "comment", $comment->comment, 70, 15); + $form .= form_textarea(t("Comment"), "comment", $comment->comment, 70, 15, filter_tips_short()); $form .= form_radios(t("Status"), "status", $comment->status, array("published", "not published")); $form .= form_hidden("cid", $id); $form .= form_submit(t("Submit")); |