mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 09:24:17 +09:00
issue 70 admin setup modified.
add gnb logo add gnb title git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8888 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
06e6799316
commit
df4d760117
6 changed files with 112 additions and 37 deletions
|
|
@ -99,12 +99,19 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Admin logo, title setup
|
||||
$configObject = $oModuleModel->getModuleConfig('admin');
|
||||
$gnbTitleInfo->adminTitle = $configObject->adminTitle?$configObject->adminTitle:'XE Admin';
|
||||
$gnbTitleInfo->adminLogo = $configObject->adminLogo?$configObject->adminLogo:'modules/admin/tpl/img/xe.h1.png';
|
||||
|
||||
$browserTitle = 'Dashboard';
|
||||
if($subMenuTitle) $browserTitle = $subMenuTitle;
|
||||
$browserTitle .= ' - XE Admin';
|
||||
$browserTitle .= ' - '.$gnbTitleInfo->adminTitle;
|
||||
|
||||
Context::set('gnbUrlList', $menu->list);
|
||||
Context::set('parentSrl', $parentSrl);
|
||||
Context::set('gnb_title_info', $gnbTitleInfo);
|
||||
Context::setBrowserTitle($browserTitle);
|
||||
}
|
||||
|
||||
|
|
@ -320,10 +327,14 @@
|
|||
**/
|
||||
function dispAdminMenuSetup()
|
||||
{
|
||||
$oModuleModel = &getModel('module');
|
||||
$configObject = $oModuleModel->getModuleConfig('admin');
|
||||
|
||||
$oMenuAdminModel = &getAdminModel('menu');
|
||||
$output = $oMenuAdminModel->getMenuByTitle('__XE_ADMIN__');
|
||||
|
||||
Context::set('menu_srl', $output->menu_srl);
|
||||
Context::set('config_object', $configObject);
|
||||
$this->setTemplateFile('menu_setup');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue