게시판 설정에 모바일관련 설정 추가

This commit is contained in:
chicpro
2013-03-26 16:20:51 +09:00
parent e65fb7c886
commit dcc3b7cd70
7 changed files with 114 additions and 15 deletions

View File

@ -1,21 +1,25 @@
<?
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
/*
// 게시판 관리의 상단 파일 경로
if ($board['bo_include_head']) {
@include ($board['bo_include_head']);
@include ($board['bo_include_head']);
}
// 게시판 관리의 상단 이미지 경로
if ($board['bo_image_head']) {
echo '<img src="'.G4_DATA_PATH.'/file/'.$bo_table.'/'.$board['bo_image_head'].'">';
}
*/
// 게시판 관리의 상단 내용
if (G4_IS_MOBILE) {
// 모바일의 경우 설정을 따르지 않는다.
include_once('./_head.php');
} else if ($board['bo_content_head']) {
echo stripslashes($board['bo_content_head']);
echo stripslashes($board['bo_mobile_content_head']);
} else {
@include ($board['bo_include_head']);
echo stripslashes($board['bo_content_head']);
}
?>