From 743705a79158b7b17acb279077cf5ddc33941464 Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 2 May 2013 11:05:56 +0900 Subject: [PATCH] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20#112=20=EB=82=B4?= =?UTF-8?q?=EC=9A=A9=EA=B4=80=EB=A6=AC=20=EB=AC=B8=EC=84=9C=EA=B5=AC?= =?UTF-8?q?=EC=A1=B0=20=EB=B3=B4=EC=99=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/default_shop.css | 4 ++-- shop/content.php | 15 ++++++--------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/css/default_shop.css b/css/default_shop.css index 8a2b031fc..8da38ca04 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -339,7 +339,7 @@ input.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important #sbn_idx li {margin:0 0 1px} /* 내용관리 */ -#socc {padding:10px;border:1px solid #e9e9e9} +#socc {margin:10px 0;padding:10px;border:1px solid #e9e9e9} #socc header h1 {position:absolute;font-size:0;line-height:0;overflow:hidden} #socc_con {padding:10px 0} .socc_admin {text-align:right} @@ -348,7 +348,7 @@ input.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important /* FAQ 관리 */ #sfaq {} #sfaq header h1 {position:absolute;font-size:0;line-height:0;overflow:hidden} -#sfaq_wrap {padding:10px 0} +#sfaq_wrap {margin:10px 0} #sfaq_wrap h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} #sfaq_wrap ol {margin:0;padding:0;list-style:none} #sfaq_list {margin:0 0 10px;border:1px solid #ccc} diff --git a/shop/content.php b/shop/content.php index c11dd6542..ee1890167 100644 --- a/shop/content.php +++ b/shop/content.php @@ -49,6 +49,9 @@ $dst[] = $default['de_admin_info_email']; $str = preg_replace($src, $dst, $str); +if ($is_admin) + echo '
내용 수정
'; + $himg = G4_DATA_PATH.'/content/'.$co_id.'_h'; if (file_exists($himg)) // 상단 이미지 echo '
'; @@ -59,19 +62,10 @@ if (file_exists($himg)) // 상단 이미지

- 내용 수정'; - ?> -
- 내용 수정'; - ?> '; +if ($is_admin) + echo '
내용 수정
'; + if ($co['co_include_tail']) @include_once($co['co_include_tail']); else