From cc342f4f9d34f6ef6a3e9103c5ceab9ab200c256 Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 27 Feb 2013 14:43:09 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC:=20=EC=9E=91?= =?UTF-8?q?=EC=97=85=20=EC=A4=913?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/mobile.css | 18 +++++++++--------- head.php | 8 ++++++++ tail.php | 8 ++++++++ 3 files changed, 25 insertions(+), 9 deletions(-) diff --git a/css/mobile.css b/css/mobile.css index 901090d68..56337dfdd 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -104,6 +104,15 @@ sup {display:none !important} /* 게시판 목록 */ .bo_list table {margin-bottom:20px;width:100%;border-collapse:collapse;border-spacing:0} +.bo_list th {padding:12px 0 8px;background:#565e60;color:#fff} +.bo_list th a {color:#fff;text-decoration:none} + +.bo_list td {border-bottom:1px solid #ddd} +.bo_list td a {display:block;padding:10px 5px;color:#000;text-decoration:none} + +.bo_list img {margin-right:4px} +.bo_list img:nth-last-of-type(1) {margin-right:0} + /* 관리자일 때 생략 */ #bo_list_admin th:nth-of-type(1) {display:none} #bo_list_admin th:nth-of-type(4) {display:none} @@ -129,15 +138,6 @@ sup {display:none !important} #bo_list td:nth-of-type(5) {display:none} #bo_list td:nth-of-type(6) {display:none} -#bo_list th {padding:12px 0 8px;background:#565e60;color:#fff} -#bo_list th a {color:#fff;text-decoration:none} - -#bo_list td {border-bottom:1px solid #ddd} -#bo_list td a {display:block;padding:10px 5px;color:#000;text-decoration:none} - -#bo_list img {margin-right:4px} -#bo_list img:nth-last-of-type(1) {margin-right:0} - .bo_fx {margin-bottom:5px;zoom:1} .bo_fx:after {display:block;visibility:hidden;clear:both;content:""} .bo_fx ul {margin:0;padding:0;list-style:none} diff --git a/head.php b/head.php index d59bd36fd..e7118ff0f 100644 --- a/head.php +++ b/head.php @@ -13,6 +13,14 @@ if (G4_IS_MOBILE) { include_once(G4_MOBILE_PATH.'/head.php'); return; } + +// 상단 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오. +if ($config['cf_include_head']) { + if (!@include_once($config['cf_include_head'])) { + die('기본환경 설정에서 상단 파일 경로가 잘못 설정되어 있습니다.'); + } + return; // 이 코드의 아래는 실행을 하지 않습니다. +} ?>
diff --git a/tail.php b/tail.php index 191d8f373..b017a15cc 100644 --- a/tail.php +++ b/tail.php @@ -5,6 +5,14 @@ if (G4_IS_MOBILE) { include_once(G4_MOBILE_PATH.'/tail.php'); return; } + +// 하단 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오. +if ($config['cf_include_tail']) { + if (!@include_once($config['cf_include_tail'])) { + die('기본환경 설정에서 하단 파일 경로가 잘못 설정되어 있습니다.'); + } + return; // 이 코드의 아래는 실행을 하지 않습니다. +} ?>