From 16818777616eadeb8a4670324e099b95c8d53e3b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 3 May 2001 18:48:42 +0000 Subject: CHANGES: - Added moderator information to forum.module. - Simplified story.module, page.module, forum.module and book.module by removing redundant code, and by doing other small house-keeping tasks. --- 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 e87e6d2c9..c8f14006f 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -22,7 +22,7 @@ function comment_edit($id) { $form .= form_item(t("Author"), format_username($comment->userid)); $form .= form_textfield(t("Subject"), "subject", $comment->subject, 50, 128); $form .= form_textarea(t("Comment"), "comment", $comment->comment, 50, 10); - $form .= form_submit("Submit"); + $form .= form_submit(t("Submit")); return form($REQUEST_URI, $form); } @@ -58,7 +58,7 @@ function comment_admin() { print search_form($keys); print search_data($keys, $mod); break; - case "Submit": + case t("Submit"): print status(comment_save(check_input($id), $edit)); print comment_overview(); break; -- cgit v1.2.3