summaryrefslogtreecommitdiff
path: root/modules/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-05-03 18:48:42 +0000
committerDries Buytaert <dries@buytaert.net>2001-05-03 18:48:42 +0000
commit16818777616eadeb8a4670324e099b95c8d53e3b (patch)
treecba5c6389300c695f2be81097b5b3f8210f0fcc2 /modules/comment.module
parent97ec8e0c10743d9ec2c7d8d09c79a5db64533035 (diff)
downloadbrdo-16818777616eadeb8a4670324e099b95c8d53e3b.tar.gz
brdo-16818777616eadeb8a4670324e099b95c8d53e3b.tar.bz2
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.
Diffstat (limited to 'modules/comment.module')
-rw-r--r--modules/comment.module4
1 files changed, 2 insertions, 2 deletions
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;