관리자: gnb 작업 중

This commit is contained in:
whitedot
2012-12-11 15:26:24 +09:00
parent 58169bdd71
commit 0da4f4e6ba
4 changed files with 15 additions and 6 deletions

View File

@ -99,10 +99,13 @@ function textarea_size(fld, size)
$href1 = '<a href="'.$menu['menu'.$key][0][2].'">';
$href2 = '</a>';
}
echo '<li class="gnb_1depth">';
if (substr($sub_menu, 0, 2) == substr($menu['menu'.$key][0][0], 0, 2))
$current_class = " gnb_1depth_on";
echo "<li class=\"gnb_1depth".$current_class."\">";
echo $href1 . $menu['menu'.$key][0][1] . $href2;
echo print_menu1('menu'.$key, 1);
echo '</li>';
echo "</li>";
if ($current_class) $current_class = ""; // 클래스 반복부여 방지
}
?>

View File

@ -11,6 +11,7 @@ if (!defined("_GNUBOARD_")) exit;
<!-- <p>실행시간 : <?=get_microtime() - $begin_time;?> -->
<script src="<?=$g4['admin_path']?>/admin.js"></script>
<script src="<?=$g4['admin_path']?>/gnb.js"></script>
<?
include_once($g4['path'].'/tail.sub.php');

3
adm/gnb.js Normal file
View File

@ -0,0 +1,3 @@
$(document).ready(function(){
});