1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-28 16:50:07 +02:00

General cleanup for left-side admin-menu navigation

This commit is contained in:
CaMer0n
2012-05-23 13:59:12 +00:00
parent e7c33909a4
commit c5e60dd7f2
17 changed files with 86 additions and 381 deletions

View File

@@ -801,9 +801,9 @@ class page_admin_ui extends e_admin_ui
}
require_once('auth.php');
new page_admin();
new page_admin();
require_once('auth.php');
e107::getAdminUI()->runPage();
@@ -1011,38 +1011,13 @@ class page
*/
}
/*
function cpage_adminmenu()
{
global $page;
global $action;
$page->show_options($action);
// $page->show_options($action);
}
*/
/**
* Handle page DOM within the page header
*
* @return string JS source
*/
function headerjs()
{
return;
require_once(e_HANDLER.'js_helper.php');
$ret = "
<script type='text/javascript'>
if(typeof e107Admin == 'undefined') var e107Admin = {}
/**
* OnLoad Init Control
*/
e107Admin.initRules = {
'Helper': true,
'AdminMenu': false
}
</script>
<script type='text/javascript' src='".e_FILE_ABS."jslib/core/admin.js'></script>
";
return $ret;
}
?>