1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Disable menus help panel.

This commit is contained in:
Cameron 2017-03-20 12:38:11 -07:00
parent ae8e1f1198
commit 2fabda120f
2 changed files with 7 additions and 6 deletions

View File

@ -161,9 +161,15 @@ class admin_shortcodes
$help_text = $ns->tablerender($tmp['caption'],$tmp['text'],'e_help',true);
}
if(e_PAGE === "menus.php") // quite fix to disable e107_admin/menus.php help file in all languages.
{
return $help_text;
}
$helpfile = '';
if(strpos(e_SELF, e_ADMIN_ABS) !== FALSE)
if(strpos(e_SELF, e_ADMIN_ABS) !== false)
{
if (is_readable(e_LANGUAGEDIR.e_LANGUAGE.'/admin/help/'.e_PAGE))
{

View File

@ -16,11 +16,6 @@ if (!getperms("2"))
exit;
}
if(!deftrue("e_DEBUG_MENUMANAGER"))
{
return;
}
$sql = e107::getDb();
$tp = e107::getParser();