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:
parent
ae8e1f1198
commit
2fabda120f
@ -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))
|
||||
{
|
||||
|
@ -16,11 +16,6 @@ if (!getperms("2"))
|
||||
exit;
|
||||
}
|
||||
|
||||
if(!deftrue("e_DEBUG_MENUMANAGER"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
$sql = e107::getDb();
|
||||
$tp = e107::getParser();
|
||||
|
Loading…
x
Reference in New Issue
Block a user