관리자모드가 아닐 경우만 추가 script, css 적용

This commit is contained in:
gnuboard
2013-02-25 14:16:09 +09:00
parent da4e5a3b17
commit 1fc4856f71
2 changed files with 4 additions and 6 deletions

View File

@ -128,12 +128,10 @@ if ($config['cf_include_head']) {
<h2>홈페이지 메인메뉴</h2>
<ul>
<li class="gnb_1depth">
<a href="<?=$g4['url']?>/bbs/board.php?bo_table=sirgle">써글톡</a>
<a href="<?=$g4['url']?>/bbs/board.php?bo_table=sirgle">분류1</a>
<ul>
<li class="gnb_2depth"><a href="#">써글톡</a></li>
<li class="gnb_2depth"><a href="#">써글톡</a></li>
<li class="gnb_2depth"><a href="#">써글톡</a></li>
<li class="gnb_2depth"><a href="#">써글톡</a></li>
<li class="gnb_2depth"><a href="#">게시판1</a></li>
<li class="gnb_2depth"><a href="#">게시판2</a></li>
</ul>
</li>
</ul>

View File

@ -64,6 +64,6 @@ var g4_cookie_domain = "<?=G4_COOKIE_DOMAIN?>";
document.cookie = "device_width=" + screen.width;
</script>
<? } ?>
<? echo $config['cf_add_script']; ?>
<? if (!defined('G4_IS_ADMIN')) { echo $config['cf_add_script']; } ?>
</head>
<body>