Commit 05676eda authored by Dries's avatar Dries

- Patch #12713 by Goba: remove useless t() function from help module.

parent bb0f78ec
......@@ -67,7 +67,7 @@ function help_links_as_list() {
foreach (module_list() as $name) {
if (module_hook($name, 'help')) {
if (module_invoke($name, 'help', "admin/help#$name")) {
$output .= '<li>' . t("<a href=\"%url\">$name</a>", array('%url' => url("admin/help/$name"))) . '</li>';
$output .= '<li><a href="' . url("admin/help/$name") . '">' . t($name) . '</a></li>';
}
}
}
......
......@@ -67,7 +67,7 @@ function help_links_as_list() {
foreach (module_list() as $name) {
if (module_hook($name, 'help')) {
if (module_invoke($name, 'help', "admin/help#$name")) {
$output .= '<li>' . t("<a href=\"%url\">$name</a>", array('%url' => url("admin/help/$name"))) . '</li>';
$output .= '<li><a href="' . url("admin/help/$name") . '">' . t($name) . '</a></li>';
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment