관리자: #424 에 따른 메뉴 순서 및 스타일 변경
This commit is contained in:
@ -24,7 +24,14 @@ function print_menu2($key, $no)
|
||||
if ($is_admin != 'super' && (!array_key_exists($menu[$key][$i][0],$auth) || !strstr($auth[$menu[$key][$i][0]], 'r')))
|
||||
continue;
|
||||
|
||||
$str .= '<li class="gnb_2depth"><a href="'.$menu[$key][$i][2].'">'.$menu[$key][$i][1].'</a></li>';
|
||||
if ($menu[$key][$i][4] == 1 && $gnb_grp_style == false) $gnb_grp_div = 'gnb_grp_div';
|
||||
else if ($menu[$key][$i][4] != 1 && $gnb_grp_style == true) $gnb_grp_div = 'gnb_grp_div';
|
||||
else $gnb_grp_div = '';
|
||||
|
||||
if ($menu[$key][$i][4] == 1) $gnb_grp_style = 'gnb_grp_style';
|
||||
else $gnb_grp_style = '';
|
||||
|
||||
$str .= '<li class="gnb_2depth"><a href="'.$menu[$key][$i][2].'" class="'.$gnb_grp_style.' '.$gnb_grp_div.'">'.$menu[$key][$i][1].'</a></li>';
|
||||
|
||||
$auth_menu[$menu[$key][$i][0]] = $menu[$key][$i][1];
|
||||
}
|
||||
|
||||
@ -1,16 +1,15 @@
|
||||
<?
|
||||
$menu['menu100'] = array (
|
||||
array('100000', '환경설정', G4_ADMIN_URL.'/config_form.php', 'config'),
|
||||
array('', '기본환경설정', G4_ADMIN_URL.'/config_form.php', 'cf_basic'),
|
||||
array('', '관리권한설정', G4_ADMIN_URL.'/auth_list.php', 'cf_auth'),
|
||||
array('100300', '메일 테스트', G4_ADMIN_URL.'/sendmail_test.php', 'cf_mailtest'),
|
||||
array('100000', '환경설정', G4_ADMIN_URL.'/config_form.php', 'config'),
|
||||
array('', '기본환경설정', G4_ADMIN_URL.'/config_form.php', 'cf_basic'),
|
||||
array('', '관리권한설정', G4_ADMIN_URL.'/auth_list.php', 'cf_auth'),
|
||||
array('100300', '메일 테스트', G4_ADMIN_URL.'/sendmail_test.php', 'cf_mailtest'),
|
||||
//array('100400', '버전정보', G4_ADMIN_URL.'/version.php', 'cf_version'),
|
||||
array('100800', '세션파일 일괄삭제',G4_ADMIN_URL.'/session_file_delete.php', 'cf_session', 1),
|
||||
array('100900', '캐쉬파일 일괄삭제',G4_ADMIN_URL.'/cache_file_delete.php', 'cf_cache', 1),
|
||||
array('100500', 'phpinfo()', G4_ADMIN_URL.'/phpinfo.php', 'cf_phpinfo'),
|
||||
//array('100600', '업그레이드', G4_ADMIN_URL.'/upgrade.php', 'cf_upgrade'),
|
||||
//array('100700', '복구/최적화', G4_ADMIN_URL.'/repair.php', 'cf_repair'),
|
||||
array('100800', '세션파일 일괄삭제',G4_ADMIN_URL.'/session_file_delete.php', 'cf_session'),
|
||||
array('100900', '캐쉬파일 일괄삭제',G4_ADMIN_URL.'/cache_file_delete.php', 'cf_cache'),
|
||||
array('100910', '캡챠파일 일괄삭제',G4_ADMIN_URL.'/gcaptcha_file_delete.php', 'cf_gcaptcha'),
|
||||
//array('', 'phpMyAdmin', ''.$g4['path'].'/'.$g4['phpmyadmin_dir'].'', 'cf_phpmyadmin')
|
||||
);
|
||||
?>
|
||||
@ -1,10 +1,10 @@
|
||||
<?
|
||||
$menu['menu200'] = array (
|
||||
array('200000', '회원관리', G4_ADMIN_URL.'/member_list.php', 'member'),
|
||||
array('200100', '회원관리', G4_ADMIN_URL.'/member_list.php', 'mb_list'),
|
||||
array('200200', '포인트관리', G4_ADMIN_URL.'/point_list.php', 'mb_point'),
|
||||
array('200300', '회원메일발송', G4_ADMIN_URL.'/mail_list.php', 'mb_mail'),
|
||||
array('200800', '접속자집계', G4_ADMIN_URL.'/visit_list.php', 'mb_visit'),
|
||||
array('200900', '투표관리', G4_ADMIN_URL.'/poll_list.php', 'mb_poll')
|
||||
array('200000', '회원관리', G4_ADMIN_URL.'/member_list.php', 'member'),
|
||||
array('200100', '회원관리', G4_ADMIN_URL.'/member_list.php', 'mb_list'),
|
||||
array('200300', '회원메일발송', G4_ADMIN_URL.'/mail_list.php', 'mb_mail'),
|
||||
array('200800', '접속자집계', G4_ADMIN_URL.'/visit_list.php', 'mb_visit', 1),
|
||||
array('200200', '포인트관리', G4_ADMIN_URL.'/point_list.php', 'mb_point'),
|
||||
array('200900', '투표관리', G4_ADMIN_URL.'/poll_list.php', 'mb_poll')
|
||||
);
|
||||
?>
|
||||
@ -3,7 +3,7 @@ $menu['menu300'] = array (
|
||||
array('300000', '게시판관리', ''.G4_ADMIN_URL.'/board_list.php', 'board'),
|
||||
array('300100', '게시판관리', ''.G4_ADMIN_URL.'/board_list.php', 'bbs_board'),
|
||||
array('300200', '게시판그룹관리', ''.G4_ADMIN_URL.'/boardgroup_list.php', 'bbs_group'),
|
||||
array('300300', '인기검색어관리', ''.G4_ADMIN_URL.'/popular_list.php', 'bbs_poplist'),
|
||||
array('300400', '인기검색어순위', ''.G4_ADMIN_URL.'/popular_rank.php', 'bbs_poprank'),
|
||||
array('300300', '인기검색어관리', ''.G4_ADMIN_URL.'/popular_list.php', 'bbs_poplist', 1),
|
||||
array('300400', '인기검색어순위', ''.G4_ADMIN_URL.'/popular_rank.php', 'bbs_poprank', 1),
|
||||
);
|
||||
?>
|
||||
@ -90,6 +90,9 @@ h2 {font-size:1.2em}
|
||||
.gnb_1depth_over .gnb_sub_ul {left:-1px;width:181px;height:auto;border:1px solid #c3c7c5;border-top:0;background:#fff}
|
||||
.gnb_1depth_over2 .gnb_sub_ul {right:-1px;width:181px;height:auto;border:1px solid #c3c7c5;border-top:0;background:#fff}
|
||||
|
||||
.gnb_js .gnb_grp_style {background:#f7f7f7 !important}
|
||||
.gnb_js .gnb_grp_div {border-top:1px solid #eee}
|
||||
|
||||
/* 중간 레이아웃 */
|
||||
#wrapper {z-index:5;margin:30px auto;width:1000px;min-height:630px;height:auto !important;height:630px;zoom:1}
|
||||
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
Reference in New Issue
Block a user