mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
issue 70 gnb menu setting
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8587 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1e70e0240b
commit
38cc94f26e
12 changed files with 230 additions and 34 deletions
|
|
@ -28,6 +28,7 @@
|
|||
// Retrieve the list of installed modules
|
||||
|
||||
$db_info = Context::getDBInfo();
|
||||
$this->_makeGnbUrl();
|
||||
|
||||
Context::set('time_zone_list', $GLOBALS['time_zone']);
|
||||
Context::set('time_zone', $GLOBALS['_time_zone']);
|
||||
|
|
@ -46,6 +47,51 @@
|
|||
|
||||
}
|
||||
|
||||
function _makeGnbUrl()
|
||||
{
|
||||
$gnbUrlList = array(
|
||||
'site' => getUrl(''),
|
||||
'user' => getUrl(''),
|
||||
'content' => getUrl('', 'module', 'admin', 'act', 'dispDocumentAdminList'),
|
||||
'theme' => getUrl(''),
|
||||
'extensions' => getUrl(''),
|
||||
'configuration' => getUrl('')
|
||||
);
|
||||
$gnbSubUrlList = array(
|
||||
'site' => array(),
|
||||
'user' => array(
|
||||
'userList'=>getUrl(''),
|
||||
'setting'=>getUrl(''),
|
||||
'point'=>getUrl('')
|
||||
),
|
||||
'content' => array(
|
||||
'document'=>getUrl('', 'module', 'admin', 'act', 'dispDocumentAdminList'),
|
||||
'comment'=>getUrl(''),
|
||||
'trackback'=>getUrl(''),
|
||||
'file'=>getUrl(''),
|
||||
'poll'=>getUrl(''),
|
||||
'accusation'=>getUrl(''),
|
||||
'dataMigration'=>getUrl('')
|
||||
),
|
||||
'theme' => array(),
|
||||
'extensions' => array(
|
||||
'easyInstaller'=>getUrl(''),
|
||||
'installedLayout'=>getUrl(''),
|
||||
'installedModule'=>getUrl(''),
|
||||
'installedWidget'=>getUrl(''),
|
||||
'installedAddon'=>getUrl(''),
|
||||
'WYSIWYGEditor'=>getUrl(''),
|
||||
'spamFilter'=>getUrl('')
|
||||
),
|
||||
'configuration' => array(
|
||||
'general'=>getUrl(''),
|
||||
'fileUpload'=>getUrl('')
|
||||
),
|
||||
);
|
||||
Context::set('gnbUrlList', $gnbUrlList);
|
||||
Context::set('gnbSubUrlList', $gnbSubUrlList);
|
||||
}
|
||||
|
||||
function loadSideBar()
|
||||
{
|
||||
$oModuleModel = &getModel('module');
|
||||
|
|
|
|||
|
|
@ -24,6 +24,22 @@ $lang->module_category_title = array(
|
|||
'system' => 'System Setting',
|
||||
);
|
||||
|
||||
$lang->menu_gnb = array(
|
||||
'site' => '사이트',
|
||||
'user' => '유저',
|
||||
'content' => '콘텐츠',
|
||||
'theme' => '테마',
|
||||
'extensions' => '확장기능',
|
||||
'configuration' => '설정',
|
||||
);
|
||||
$lang->menu_gnb_sub = array(
|
||||
'site' => array(),
|
||||
'user' => array('userList'=>'유저 목록', 'setting'=>'설정', 'point'=>'포인트'),
|
||||
'content' => array('document'=>'문서', 'comment'=>'댓글', 'trackback'=>'트랙백', 'file'=>'파일', 'poll'=>'투표', 'accusation'=>'신고', 'dataMigration'=>'데이터 이전'),
|
||||
'theme' => array(),
|
||||
'extensions' => array('easyInstaller'=>'쉬운설치', 'installedLayout'=>'레이아웃', 'installedModule'=>'모듈', 'installedWidget'=>'위젯', 'installedAddon'=>'애드온', 'WYSIWYGEditor'=>'에디터', 'spamFilter'=>'스팸필터'),
|
||||
'configuration' => array('general'=>'일반', 'fileUpload'=>'파일 업로드'),
|
||||
);
|
||||
$lang->newest_news = "Latest News";
|
||||
|
||||
$lang->env_setup = "Setting";
|
||||
|
|
|
|||
|
|
@ -24,6 +24,22 @@ $lang->module_category_title = array(
|
|||
'system' => 'System Setting',
|
||||
);
|
||||
|
||||
$lang->menu_gnb = array(
|
||||
'site' => '사이트',
|
||||
'user' => '유저',
|
||||
'content' => '콘텐츠',
|
||||
'theme' => '테마',
|
||||
'extensions' => '확장기능',
|
||||
'configuration' => '설정',
|
||||
);
|
||||
$lang->menu_gnb_sub = array(
|
||||
'site' => array(),
|
||||
'user' => array('userList'=>'유저 목록', 'setting'=>'설정', 'point'=>'포인트'),
|
||||
'content' => array('document'=>'문서', 'comment'=>'댓글', 'trackback'=>'트랙백', 'file'=>'파일', 'poll'=>'투표', 'accusation'=>'신고', 'dataMigration'=>'데이터 이전'),
|
||||
'theme' => array(),
|
||||
'extensions' => array('easyInstaller'=>'쉬운설치', 'installedLayout'=>'레이아웃', 'installedModule'=>'모듈', 'installedWidget'=>'위젯', 'installedAddon'=>'애드온', 'WYSIWYGEditor'=>'에디터', 'spamFilter'=>'스팸필터'),
|
||||
'configuration' => array('general'=>'일반', 'fileUpload'=>'파일 업로드'),
|
||||
);
|
||||
$lang->newest_news = "Noticias recientes";
|
||||
|
||||
$lang->env_setup = "Configuración";
|
||||
|
|
|
|||
|
|
@ -24,6 +24,22 @@ $lang->module_category_title = array(
|
|||
'system' => 'System Setting',
|
||||
);
|
||||
|
||||
$lang->menu_gnb = array(
|
||||
'site' => '사이트',
|
||||
'user' => '유저',
|
||||
'content' => '콘텐츠',
|
||||
'theme' => '테마',
|
||||
'extensions' => '확장기능',
|
||||
'configuration' => '설정',
|
||||
);
|
||||
$lang->menu_gnb_sub = array(
|
||||
'site' => array(),
|
||||
'user' => array('userList'=>'유저 목록', 'setting'=>'설정', 'point'=>'포인트'),
|
||||
'content' => array('document'=>'문서', 'comment'=>'댓글', 'trackback'=>'트랙백', 'file'=>'파일', 'poll'=>'투표', 'accusation'=>'신고', 'dataMigration'=>'데이터 이전'),
|
||||
'theme' => array(),
|
||||
'extensions' => array('easyInstaller'=>'쉬운설치', 'installedLayout'=>'레이아웃', 'installedModule'=>'모듈', 'installedWidget'=>'위젯', 'installedAddon'=>'애드온', 'WYSIWYGEditor'=>'에디터', 'spamFilter'=>'스팸필터'),
|
||||
'configuration' => array('general'=>'일반', 'fileUpload'=>'파일 업로드'),
|
||||
);
|
||||
$lang->newest_news = "Dernières Nouvelles";
|
||||
|
||||
$lang->env_setup = "Configuration";
|
||||
|
|
|
|||
|
|
@ -24,6 +24,22 @@ $lang->module_category_title = array(
|
|||
'system' => 'システム管理',
|
||||
);
|
||||
|
||||
$lang->menu_gnb = array(
|
||||
'site' => '사이트',
|
||||
'user' => '유저',
|
||||
'content' => '콘텐츠',
|
||||
'theme' => '테마',
|
||||
'extensions' => '확장기능',
|
||||
'configuration' => '설정',
|
||||
);
|
||||
$lang->menu_gnb_sub = array(
|
||||
'site' => array(),
|
||||
'user' => array('userList'=>'유저 목록', 'setting'=>'설정', 'point'=>'포인트'),
|
||||
'content' => array('document'=>'문서', 'comment'=>'댓글', 'trackback'=>'트랙백', 'file'=>'파일', 'poll'=>'투표', 'accusation'=>'신고', 'dataMigration'=>'데이터 이전'),
|
||||
'theme' => array(),
|
||||
'extensions' => array('easyInstaller'=>'쉬운설치', 'installedLayout'=>'레이아웃', 'installedModule'=>'모듈', 'installedWidget'=>'위젯', 'installedAddon'=>'애드온', 'WYSIWYGEditor'=>'에디터', 'spamFilter'=>'스팸필터'),
|
||||
'configuration' => array('general'=>'일반', 'fileUpload'=>'파일 업로드'),
|
||||
);
|
||||
$lang->newest_news = '最新ニュース';
|
||||
|
||||
$lang->env_setup = '環境設定';
|
||||
|
|
|
|||
|
|
@ -26,6 +26,22 @@ $lang->module_category_title = array(
|
|||
'migration' => '데이터 관리/복원',
|
||||
'system' => '시스템 관리',
|
||||
);
|
||||
$lang->menu_gnb = array(
|
||||
'site' => '사이트',
|
||||
'user' => '유저',
|
||||
'content' => '콘텐츠',
|
||||
'theme' => '테마',
|
||||
'extensions' => '확장기능',
|
||||
'configuration' => '설정',
|
||||
);
|
||||
$lang->menu_gnb_sub = array(
|
||||
'site' => array(),
|
||||
'user' => array('userList'=>'유저 목록', 'setting'=>'설정', 'point'=>'포인트'),
|
||||
'content' => array('document'=>'문서', 'comment'=>'댓글', 'trackback'=>'트랙백', 'file'=>'파일', 'poll'=>'투표', 'accusation'=>'신고', 'dataMigration'=>'데이터 이전'),
|
||||
'theme' => array(),
|
||||
'extensions' => array('easyInstaller'=>'쉬운설치', 'installedLayout'=>'레이아웃', 'installedModule'=>'모듈', 'installedWidget'=>'위젯', 'installedAddon'=>'애드온', 'WYSIWYGEditor'=>'에디터', 'spamFilter'=>'스팸필터'),
|
||||
'configuration' => array('general'=>'일반', 'fileUpload'=>'파일 업로드'),
|
||||
);
|
||||
$lang->newest_news = '최신 소식';
|
||||
$lang->env_setup = '환경 설정';
|
||||
$lang->default_url = '기본 URL';
|
||||
|
|
|
|||
|
|
@ -24,6 +24,22 @@ $lang->module_category_title = array(
|
|||
'system' => 'System Setting',
|
||||
);
|
||||
|
||||
$lang->menu_gnb = array(
|
||||
'site' => '사이트',
|
||||
'user' => '유저',
|
||||
'content' => '콘텐츠',
|
||||
'theme' => '테마',
|
||||
'extensions' => '확장기능',
|
||||
'configuration' => '설정',
|
||||
);
|
||||
$lang->menu_gnb_sub = array(
|
||||
'site' => array(),
|
||||
'user' => array('userList'=>'유저 목록', 'setting'=>'설정', 'point'=>'포인트'),
|
||||
'content' => array('document'=>'문서', 'comment'=>'댓글', 'trackback'=>'트랙백', 'file'=>'파일', 'poll'=>'투표', 'accusation'=>'신고', 'dataMigration'=>'데이터 이전'),
|
||||
'theme' => array(),
|
||||
'extensions' => array('easyInstaller'=>'쉬운설치', 'installedLayout'=>'레이아웃', 'installedModule'=>'모듈', 'installedWidget'=>'위젯', 'installedAddon'=>'애드온', 'WYSIWYGEditor'=>'에디터', 'spamFilter'=>'스팸필터'),
|
||||
'configuration' => array('general'=>'일반', 'fileUpload'=>'파일 업로드'),
|
||||
);
|
||||
$lang->newest_news = 'Последние новости';
|
||||
|
||||
$lang->env_setup = 'Настройка';
|
||||
|
|
|
|||
|
|
@ -24,6 +24,38 @@ $lang->module_category_title = array(
|
|||
'system' => 'Sistem Ayarları',
|
||||
);
|
||||
|
||||
$lang->menu_gnb = array(
|
||||
'site' => '사이트',
|
||||
'user' => '유저',
|
||||
'content' => '콘텐츠',
|
||||
'theme' => '테마',
|
||||
'extensions' => '확장기능',
|
||||
'configuration' => '설정',
|
||||
);
|
||||
$lang->menu_gnb_sub = array(
|
||||
'site' => array(),
|
||||
'user' => array('userList'=>'유저 목록', 'setting'=>'설정', 'point'=>'포인트'),
|
||||
'content' => array('document'=>'문서', 'comment'=>'댓글', 'trackback'=>'트랙백', 'file'=>'파일', 'poll'=>'투표', 'accusation'=>'신고', 'dataMigration'=>'데이터 이전'),
|
||||
'theme' => array(),
|
||||
'extensions' => array('easyInstaller'=>'쉬운설치', 'installedLayout'=>'레이아웃', 'installedModule'=>'모듈', 'installedWidget'=>'위젯', 'installedAddon'=>'애드온', 'WYSIWYGEditor'=>'에디터', 'spamFilter'=>'스팸필터'),
|
||||
'configuration' => array('general'=>'일반', 'fileUpload'=>'파일 업로드'),
|
||||
);
|
||||
$lang->menu_gnb = array(
|
||||
'site' => '사이트',
|
||||
'user' => '유저',
|
||||
'content' => '콘텐츠',
|
||||
'theme' => '테마',
|
||||
'extensions' => '확장기능',
|
||||
'configuration' => '설정',
|
||||
);
|
||||
$lang->menu_gnb_sub = array(
|
||||
'site' => array(),
|
||||
'user' => array('userList'=>'유저 목록', 'setting'=>'설정', 'point'=>'포인트'),
|
||||
'content' => array('document'=>'문서', 'comment'=>'댓글', 'trackback'=>'트랙백', 'file'=>'파일', 'poll'=>'투표', 'accusation'=>'신고', 'dataMigration'=>'데이터 이전'),
|
||||
'theme' => array(),
|
||||
'extensions' => array('easyInstaller'=>'쉬운설치', 'installedLayout'=>'레이아웃', 'installedModule'=>'모듈', 'installedWidget'=>'위젯', 'installedAddon'=>'애드온', 'WYSIWYGEditor'=>'에디터', 'spamFilter'=>'스팸필터'),
|
||||
'configuration' => array('general'=>'일반', 'fileUpload'=>'파일 업로드'),
|
||||
);
|
||||
$lang->newest_news = "Son Gelişmeler";
|
||||
|
||||
$lang->env_setup = "Ayarlar";
|
||||
|
|
|
|||
|
|
@ -26,6 +26,22 @@ $lang->module_category_title = array(
|
|||
'system' => 'Thiết lập hệ thống',
|
||||
);
|
||||
|
||||
$lang->menu_gnb = array(
|
||||
'site' => '사이트',
|
||||
'user' => '유저',
|
||||
'content' => '콘텐츠',
|
||||
'theme' => '테마',
|
||||
'extensions' => '확장기능',
|
||||
'configuration' => '설정',
|
||||
);
|
||||
$lang->menu_gnb_sub = array(
|
||||
'site' => array(),
|
||||
'user' => array('userList'=>'유저 목록', 'setting'=>'설정', 'point'=>'포인트'),
|
||||
'content' => array('document'=>'문서', 'comment'=>'댓글', 'trackback'=>'트랙백', 'file'=>'파일', 'poll'=>'투표', 'accusation'=>'신고', 'dataMigration'=>'데이터 이전'),
|
||||
'theme' => array(),
|
||||
'extensions' => array('easyInstaller'=>'쉬운설치', 'installedLayout'=>'레이아웃', 'installedModule'=>'모듈', 'installedWidget'=>'위젯', 'installedAddon'=>'애드온', 'WYSIWYGEditor'=>'에디터', 'spamFilter'=>'스팸필터'),
|
||||
'configuration' => array('general'=>'일반', 'fileUpload'=>'파일 업로드'),
|
||||
);
|
||||
$lang->newest_news = "Tin mới nhất";
|
||||
|
||||
$lang->env_setup = "Thiết lập ";
|
||||
|
|
|
|||
|
|
@ -24,6 +24,22 @@ $lang->module_category_title = array(
|
|||
'system' => '系统管理',
|
||||
);
|
||||
|
||||
$lang->menu_gnb = array(
|
||||
'site' => '사이트',
|
||||
'user' => '유저',
|
||||
'content' => '콘텐츠',
|
||||
'theme' => '테마',
|
||||
'extensions' => '확장기능',
|
||||
'configuration' => '설정',
|
||||
);
|
||||
$lang->menu_gnb_sub = array(
|
||||
'site' => array(),
|
||||
'user' => array('userList'=>'유저 목록', 'setting'=>'설정', 'point'=>'포인트'),
|
||||
'content' => array('document'=>'문서', 'comment'=>'댓글', 'trackback'=>'트랙백', 'file'=>'파일', 'poll'=>'투표', 'accusation'=>'신고', 'dataMigration'=>'데이터 이전'),
|
||||
'theme' => array(),
|
||||
'extensions' => array('easyInstaller'=>'쉬운설치', 'installedLayout'=>'레이아웃', 'installedModule'=>'모듈', 'installedWidget'=>'위젯', 'installedAddon'=>'애드온', 'WYSIWYGEditor'=>'에디터', 'spamFilter'=>'스팸필터'),
|
||||
'configuration' => array('general'=>'일반', 'fileUpload'=>'파일 업로드'),
|
||||
);
|
||||
$lang->newest_news = "最新消息";
|
||||
|
||||
$lang->env_setup = "系统设置";
|
||||
|
|
|
|||
|
|
@ -24,6 +24,22 @@ $lang->module_category_title = array(
|
|||
'system' => '系統管理',
|
||||
);
|
||||
|
||||
$lang->menu_gnb = array(
|
||||
'site' => '사이트',
|
||||
'user' => '유저',
|
||||
'content' => '콘텐츠',
|
||||
'theme' => '테마',
|
||||
'extensions' => '확장기능',
|
||||
'configuration' => '설정',
|
||||
);
|
||||
$lang->menu_gnb_sub = array(
|
||||
'site' => array(),
|
||||
'user' => array('userList'=>'유저 목록', 'setting'=>'설정', 'point'=>'포인트'),
|
||||
'content' => array('document'=>'문서', 'comment'=>'댓글', 'trackback'=>'트랙백', 'file'=>'파일', 'poll'=>'투표', 'accusation'=>'신고', 'dataMigration'=>'데이터 이전'),
|
||||
'theme' => array(),
|
||||
'extensions' => array('easyInstaller'=>'쉬운설치', 'installedLayout'=>'레이아웃', 'installedModule'=>'모듈', 'installedWidget'=>'위젯', 'installedAddon'=>'애드온', 'WYSIWYGEditor'=>'에디터', 'spamFilter'=>'스팸필터'),
|
||||
'configuration' => array('general'=>'일반', 'fileUpload'=>'파일 업로드'),
|
||||
);
|
||||
$lang->newest_news = "最新消息";
|
||||
|
||||
$lang->env_setup = "系統設置";
|
||||
|
|
|
|||
|
|
@ -30,43 +30,17 @@
|
|||
<div class="gnb jx">
|
||||
<ul>
|
||||
<li class="activeOn"><a href="#">Dashboard</a></li>
|
||||
<li><a href="#">Site</a></li>
|
||||
<li><a href="#">User</a>
|
||||
<!--@foreach($lang->menu_gnb AS $key=>$value)-->
|
||||
<li><a href="{$gnbUrlList[$key]}">{$value}</a>
|
||||
<!--@if(count($lang->menu_gnb_sub[$key]) > 0)-->
|
||||
<ul>
|
||||
<li><a href="#">User List</a></li>
|
||||
<li><a href="#">Setting</a></li>
|
||||
<li><a href="#">Point</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#">Content</a>
|
||||
<ul>
|
||||
<li><a href="#">Document</a></li>
|
||||
<li><a href="#">Comment</a></li>
|
||||
<li><a href="#">Trackback</a></li>
|
||||
<li><a href="#">File</a></li>
|
||||
<li><a href="#">Poll</a></li>
|
||||
<li><a href="#">Accusation</a></li>
|
||||
<li><a href="#">Data Migration</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#">Theme</a></li>
|
||||
<li><a href="#">Extensions</a>
|
||||
<ul>
|
||||
<li><a href="#">Easy Installer</a></li>
|
||||
<li><a href="#">Installed Layout</a></li>
|
||||
<li><a href="#">Installed Module</a></li>
|
||||
<li><a href="#">Installed Widget</a></li>
|
||||
<li><a href="#">Installed Add-on</a></li>
|
||||
<li><a href="#">WYSIWYG Editor</a></li>
|
||||
<li><a href="#">Spam Filter</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#">Configuration</a>
|
||||
<ul>
|
||||
<li><a href="#">General</a></li>
|
||||
<li><a href="#">File Upload</a></li>
|
||||
<!--@foreach($lang->menu_gnb_sub[$key] AS $key2=>$value2)-->
|
||||
<li><a href="{$gnbSubUrlList[$key][$key2]}">{$value2}</a></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
<!--@end-->
|
||||
</li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue