1
0
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:
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); $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))
{ {

View File

@@ -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();