diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-06-09 13:52:08 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-06-09 13:52:08 +0000 |
commit | ca9fc85e4bbca7e8cc19801bf28aff4c6c5affa1 (patch) | |
tree | aa7995c5abd7542d528e303cfe7258bedc21cb6a | |
parent | 28a7179a22783218a01d349a1cbed6bacde23edd (diff) | |
download | brdo-ca9fc85e4bbca7e8cc19801bf28aff4c6c5affa1.tar.gz brdo-ca9fc85e4bbca7e8cc19801bf28aff4c6c5affa1.tar.bz2 |
- Bugfix: the comment module has a help function but it wasn't linked to.
-rw-r--r-- | modules/comment.module | 5 | ||||
-rw-r--r-- | modules/comment/comment.module | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/modules/comment.module b/modules/comment.module index 0adf660ec..41eb876b2 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -763,9 +763,12 @@ function comment_admin() { if (user_access("administer comments")) { - print "<small>". la(t("overview"), array("mod" => "comment")) ." | ". la(t("search comment"), array("mod" => "comment", "op" => "search")) ."</small><hr />\n"; + print "<small>". la(t("overview"), array("mod" => "comment")) ." | ". la(t("search comment"), array("mod" => "comment", "op" => "search")) ." | ". la(t("help"), array("mod" => "comment", "op" => "help")) ."</small><hr />\n"; switch ($op) { + case "help": + print comment_help(); + break; case "edit": print comment_admin_edit($id); break; diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 0adf660ec..41eb876b2 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -763,9 +763,12 @@ function comment_admin() { if (user_access("administer comments")) { - print "<small>". la(t("overview"), array("mod" => "comment")) ." | ". la(t("search comment"), array("mod" => "comment", "op" => "search")) ."</small><hr />\n"; + print "<small>". la(t("overview"), array("mod" => "comment")) ." | ". la(t("search comment"), array("mod" => "comment", "op" => "search")) ." | ". la(t("help"), array("mod" => "comment", "op" => "help")) ."</small><hr />\n"; switch ($op) { + case "help": + print comment_help(); + break; case "edit": print comment_admin_edit($id); break; |