mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Disable menus help panel.
This commit is contained in:
@@ -161,9 +161,15 @@ class admin_shortcodes
|
|||||||
$help_text = $ns->tablerender($tmp['caption'],$tmp['text'],'e_help',true);
|
$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 = '';
|
$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))
|
if (is_readable(e_LANGUAGEDIR.e_LANGUAGE.'/admin/help/'.e_PAGE))
|
||||||
{
|
{
|
||||||
|
@@ -16,11 +16,6 @@ if (!getperms("2"))
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!deftrue("e_DEBUG_MENUMANAGER"))
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
$sql = e107::getDb();
|
$sql = e107::getDb();
|
||||||
$tp = e107::getParser();
|
$tp = e107::getParser();
|
||||||
|
Reference in New Issue
Block a user