Skip to content
Snippets Groups Projects
Commit ca9fc85e authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Bugfix: the comment module has a help function but it wasn't linked to.
parent 28a7179a
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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;
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment