| 90 |
/*** check for help ***/ |
/*** check for help ***/ |
| 91 |
function moduleinfo_get_help($module){ |
function moduleinfo_get_help($module){ |
| 92 |
if (module_hook($module,"help")){ |
if (module_hook($module,"help")){ |
| 93 |
$res = module_invoke($module,"help","admin/help#".$module,arg()); |
$res = module_invoke($module,"help","admin/help#$module"); |
| 94 |
if ($res) |
if ($res) |
| 95 |
return array("<li>".t("You can find help for this module on the page ").l(moduleinfo_get_menu_name("admin/help/".$module).t(" help"),"admin/help/".$module)."</li>"); |
return array("<li>".t("You can find help for this module on the page ").l(moduleinfo_get_menu_name("admin/help/".$module).t(" help"),"admin/help/".$module)."</li>"); |
| 96 |
} |
} |