From b227f7a0e213aac4cc513831e068311fec7036be Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 22 Nov 2013 13:32:07 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EC=83=81?= =?UTF-8?q?=ED=92=88=EB=AC=B8=EC=9D=98=20=EC=82=AC=EC=9A=A9=ED=9B=84?= =?UTF-8?q?=EA=B8=B0=20=ED=8F=BC=20=EC=97=90=EB=94=94=ED=84=B0=20=EA=B4=80?= =?UTF-8?q?=EB=A0=A8=20=EC=BD=94=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/itemqaform.php | 10 ++++++++++ mobile/shop/itemuseform.php | 10 ++++++++++ mobile/skin/shop/basic/itemqaform.skin.php | 6 ++---- mobile/skin/shop/basic/itemuseform.skin.php | 6 ++---- shop/itemqaform.php | 10 ++++++++++ shop/itemuseform.php | 10 ++++++++++ skin/shop/basic/itemqaform.skin.php | 6 ++---- skin/shop/basic/itemuseform.skin.php | 6 ++---- 8 files changed, 48 insertions(+), 16 deletions(-) diff --git a/mobile/shop/itemqaform.php b/mobile/shop/itemqaform.php index 3f9e90fa9..a49f9fec7 100644 --- a/mobile/shop/itemqaform.php +++ b/mobile/shop/itemqaform.php @@ -36,6 +36,16 @@ if ($w == "u") include_once(G5_PATH.'/head.sub.php'); +$is_dhtml_editor = false; +// 모바일에서는 DHTML 에디터 사용불가 +if ($config['cf_editor'] && !G5_IS_MOBILE) { + $is_dhtml_editor = true; +} +$editor_html = editor_html('iq_question', $qa['iq_question'], $is_dhtml_editor); +$editor_js = ''; +$editor_js .= get_editor_js('iq_question', $is_dhtml_editor); +$editor_js .= chk_editor_js('iq_question', $is_dhtml_editor); + $itemqaform_skin = G5_MSHOP_SKIN_PATH.'/itemqaform.skin.php'; if(!file_exists($itemqaform_skin)) { diff --git a/mobile/shop/itemuseform.php b/mobile/shop/itemuseform.php index 44b6baabf..8baa878cd 100644 --- a/mobile/shop/itemuseform.php +++ b/mobile/shop/itemuseform.php @@ -31,6 +31,16 @@ if ($w == "") { include_once(G5_PATH.'/head.sub.php'); +$is_dhtml_editor = false; +// 모바일에서는 DHTML 에디터 사용불가 +if ($config['cf_editor'] && !G5_IS_MOBILE) { + $is_dhtml_editor = true; +} +$editor_html = editor_html('is_content', $use['is_content'], $is_dhtml_editor); +$editor_js = ''; +$editor_js .= get_editor_js('is_content', $is_dhtml_editor); +$editor_js .= chk_editor_js('is_content', $is_dhtml_editor); + $itemuseform_skin = G5_MSHOP_SKIN_PATH.'/itemuseform.skin.php'; if(!file_exists($itemuseform_skin)) { diff --git a/mobile/skin/shop/basic/itemqaform.skin.php b/mobile/skin/shop/basic/itemqaform.skin.php index ec81607cd..30fc37000 100644 --- a/mobile/skin/shop/basic/itemqaform.skin.php +++ b/mobile/skin/shop/basic/itemqaform.skin.php @@ -42,7 +42,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 - + @@ -58,9 +58,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가