From aa140eb8464635a697741401cacc16eeab4b951c Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 13 Jul 2015 17:20:00 +0900 Subject: [PATCH 1/7] =?UTF-8?q?=ED=8C=9D=EC=97=85=EB=A0=88=EC=9D=B4?= =?UTF-8?q?=EC=96=B4=20=EC=A4=91=EB=B3=B5=20=EC=BF=BC=EB=A6=AC=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/newwin.inc.php | 7 ++----- mobile/newwin.inc.php | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/bbs/newwin.inc.php b/bbs/newwin.inc.php index 3c3c8c127..e3f8aed55 100644 --- a/bbs/newwin.inc.php +++ b/bbs/newwin.inc.php @@ -13,14 +13,11 @@ $result = sql_query($sql, false);

팝업레이어 알림

diff --git a/mobile/newwin.inc.php b/mobile/newwin.inc.php index 14ad49127..bfd3eadfc 100644 --- a/mobile/newwin.inc.php +++ b/mobile/newwin.inc.php @@ -13,14 +13,11 @@ $result = sql_query($sql, false);

팝업레이어 알림

From f74e8f7250793266c5ca23f760f67ac3a3350ed7 Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 14 Jul 2015 12:01:21 +0900 Subject: [PATCH 2/7] =?UTF-8?q?XSS=20=EC=B7=A8=EC=95=BD=EC=A0=90=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/alert.php | 3 ++- bbs/confirm.php | 4 ++++ bbs/move.php | 2 +- bbs/move_update.php | 1 + bbs/new.php | 2 ++ bbs/register_form.php | 3 +++ bbs/search.php | 2 +- lib/common.lib.php | 7 ++++++- skin/new/basic/new.skin.php | 1 - 9 files changed, 20 insertions(+), 5 deletions(-) diff --git a/bbs/alert.php b/bbs/alert.php index d64b6f2fd..6b1ab26a7 100644 --- a/bbs/alert.php +++ b/bbs/alert.php @@ -30,7 +30,8 @@ include_once(G5_PATH.'/head.sub.php'); $msg2 = str_replace("\\n", "
", $msg); -if (!$url) $url = $_SERVER['HTTP_REFERER']; +$url = clean_xss_tags($url); +if (!$url) $url = clean_xss_tags($_SERVER['HTTP_REFERER']); // url 체크 check_url_host($url); diff --git a/bbs/confirm.php b/bbs/confirm.php index 76e9c7652..fcf94e0e9 100644 --- a/bbs/confirm.php +++ b/bbs/confirm.php @@ -2,6 +2,10 @@ include_once('./_common.php'); include_once(G5_PATH.'/head.sub.php'); +$url1 = clean_xss_tags($url1); +$url2 = clean_xss_tags($url2); +$url3 = clean_xss_tags($url3); + // url 체크 check_url_host($url1); check_url_host($url2); diff --git a/bbs/move.php b/bbs/move.php index e3a7d86f2..a4631addf 100644 --- a/bbs/move.php +++ b/bbs/move.php @@ -55,7 +55,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) - +
diff --git a/bbs/move_update.php b/bbs/move_update.php index bfaf54bcf..a058f5c0b 100644 --- a/bbs/move_update.php +++ b/bbs/move_update.php @@ -1,5 +1,6 @@ a.wr_parent "; +else + $view = ''; $mb_id = isset($_GET['mb_id']) ? ($_GET['mb_id']) : ''; $mb_id = substr(preg_replace('#[^a-z0-9_]#i', '', $mb_id), 0, 20); diff --git a/bbs/register_form.php b/bbs/register_form.php index cb6fd2517..e6583e111 100644 --- a/bbs/register_form.php +++ b/bbs/register_form.php @@ -30,6 +30,9 @@ if ($w == "") { alert('개인정보처리방침안내의 내용에 동의하셔야 회원가입 하실 수 있습니다.', G5_BBS_URL.'/register.php'); } + $agree = preg_replace('#[^0-9]#', '', $_POST['agree']); + $agree2 = preg_replace('#[^0-9]#', '', $_POST['agree2']); + $member['mb_birth'] = ''; $member['mb_sex'] = ''; $member['mb_name'] = ''; diff --git a/bbs/search.php b/bbs/search.php index 4f4df3f19..0f3fe803b 100644 --- a/bbs/search.php +++ b/bbs/search.php @@ -17,7 +17,7 @@ if ($stx) { $stx = preg_replace('/\//', '\/', trim($stx)); $sop = strtolower($sop); if (!$sop || !($sop == 'and' || $sop == 'or')) $sop = 'and'; // 연산자 and , or - $srows = isset($_GET['srows']) ? preg_replace('#[^0-9]#', '', $_GET['srows']) : 10; + $srows = isset($_GET['srows']) ? (int)preg_replace('#[^0-9]#', '', $_GET['srows']) : 10; if (!$srows) $srows = 10; // 한페이지에 출력하는 검색 행수 $g5_search['tables'] = Array(); diff --git a/lib/common.lib.php b/lib/common.lib.php index d8f4bc557..c7f842586 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -192,7 +192,7 @@ function confirm($msg, $url1='', $url2='', $url3='') alert($msg); } - if (!$url3) $url3 = $_SERVER['HTTP_REFERER']; + if (!$url3) $url3 = clean_xss_tags($_SERVER['HTTP_REFERER']); $msg = str_replace("\\n", "
", $msg); @@ -2723,6 +2723,11 @@ function clean_xss_tags($str) { $str = preg_replace('#]*+>#i', '', $str); + $search = array('"', "'"); + $replace = array('"', '''); + + $str = str_replace($search, $replace, $str); + return $str; } diff --git a/skin/new/basic/new.skin.php b/skin/new/basic/new.skin.php index 085eec0e6..2558d8118 100644 --- a/skin/new/basic/new.skin.php +++ b/skin/new/basic/new.skin.php @@ -45,7 +45,6 @@ add_stylesheet('', 0); - From 27cd6e6e5b1d6155435de7be66966d137e6027a8 Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 14 Jul 2015 12:04:04 +0900 Subject: [PATCH 3/7] =?UTF-8?q?=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/move_update.php | 1 - 1 file changed, 1 deletion(-) diff --git a/bbs/move_update.php b/bbs/move_update.php index a058f5c0b..bfaf54bcf 100644 --- a/bbs/move_update.php +++ b/bbs/move_update.php @@ -1,6 +1,5 @@ Date: Fri, 17 Jul 2015 11:35:27 +0900 Subject: [PATCH 4/7] =?UTF-8?q?=EC=83=88=20=EC=9A=B0=ED=8E=B8=EB=B2=88?= =?UTF-8?q?=ED=98=B8=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/member_form.php | 8 +++----- adm/member_form_update.php | 7 +++++-- bbs/register_form_update.php | 4 ++-- js/common.js | 11 +++++------ mobile/skin/member/basic/register_form.skin.php | 9 +++------ skin/member/basic/register_form.skin.php | 9 +++------ 6 files changed, 21 insertions(+), 27 deletions(-) diff --git a/adm/member_form.php b/adm/member_form.php index e47771fcd..ddcdfbe47 100644 --- a/adm/member_form.php +++ b/adm/member_form.php @@ -214,11 +214,9 @@ add_javascript(G5_POSTCODE_JS, 0); //다음 주소 js
- - - - - -
+ + +

diff --git a/adm/member_form_update.php b/adm/member_form_update.php index 333b18728..310e5e8d1 100644 --- a/adm/member_form_update.php +++ b/adm/member_form_update.php @@ -29,6 +29,9 @@ if($_POST['mb_certify_case'] && $_POST['mb_certify']) { $mb_adult = 0; } +$mb_zip1 = substr($_POST['mb_zip'], 0, 3); +$mb_zip2 = substr($_POST['mb_zip'], 3); + $sql_common = " mb_name = '{$_POST['mb_name']}', mb_nick = '{$_POST['mb_nick']}', mb_email = '{$_POST['mb_email']}', @@ -37,8 +40,8 @@ $sql_common = " mb_name = '{$_POST['mb_name']}', mb_hp = '{$mb_hp}', mb_certify = '{$mb_certify}', mb_adult = '{$mb_adult}', - mb_zip1 = '{$_POST['mb_zip1']}', - mb_zip2 = '{$_POST['mb_zip2']}', + mb_zip1 = '$mb_zip1', + mb_zip2 = '$mb_zip2', mb_addr1 = '{$_POST['mb_addr1']}', mb_addr2 = '{$_POST['mb_addr2']}', mb_addr3 = '{$_POST['mb_addr3']}', diff --git a/bbs/register_form_update.php b/bbs/register_form_update.php index 05e90788c..83144fecc 100644 --- a/bbs/register_form_update.php +++ b/bbs/register_form_update.php @@ -40,8 +40,8 @@ $mb_birth = isset($_POST['mb_birth']) ? trim($_POST['mb_birth']) $mb_homepage = isset($_POST['mb_homepage']) ? trim($_POST['mb_homepage']) : ""; $mb_tel = isset($_POST['mb_tel']) ? trim($_POST['mb_tel']) : ""; $mb_hp = isset($_POST['mb_hp']) ? trim($_POST['mb_hp']) : ""; -$mb_zip1 = isset($_POST['mb_zip1']) ? trim($_POST['mb_zip1']) : ""; -$mb_zip2 = isset($_POST['mb_zip2']) ? trim($_POST['mb_zip2']) : ""; +$mb_zip1 = isset($_POST['mb_zip']) ? substr(trim($_POST['mb_zip']), 0, 3) : ""; +$mb_zip2 = isset($_POST['mb_zip']) ? substr(trim($_POST['mb_zip']), 3) : ""; $mb_addr1 = isset($_POST['mb_addr1']) ? trim($_POST['mb_addr1']) : ""; $mb_addr2 = isset($_POST['mb_addr2']) ? trim($_POST['mb_addr2']) : ""; $mb_addr3 = isset($_POST['mb_addr3']) ? trim($_POST['mb_addr3']) : ""; diff --git a/js/common.js b/js/common.js index 8802f1c09..b964cd782 100644 --- a/js/common.js +++ b/js/common.js @@ -376,7 +376,7 @@ var win_homepage = function(href) { /** * 우편번호 창 **/ -var win_zip = function(frm_name, frm_zip1, frm_zip2, frm_addr1, frm_addr2, frm_addr3, frm_jibeon) { +var win_zip = function(frm_name, frm_zip, frm_addr1, frm_addr2, frm_addr3, frm_jibeon) { if(typeof daum === 'undefined'){ alert("다음 우편번호 postcode.v2.js 파일이 로드되지 않았습니다."); return false; @@ -386,7 +386,7 @@ var win_zip = function(frm_name, frm_zip1, frm_zip2, frm_addr1, frm_addr2, frm_a var complete_fn = function(data){ // 팝업에서 검색결과 항목을 클릭했을때 실행할 코드를 작성하는 부분. - + // 각 주소의 노출 규칙에 따라 주소를 조합한다. // 내려오는 변수가 값이 없는 경우엔 공백('')값을 가지므로, 이를 참고하여 분기 한다. var fullAddr = ''; // 최종 주소 변수 @@ -417,8 +417,7 @@ var win_zip = function(frm_name, frm_zip1, frm_zip2, frm_addr1, frm_addr2, frm_a // 우편번호와 주소 정보를 해당 필드에 넣고, 커서를 상세주소 필드로 이동한다. var of = document[frm_name]; - of[frm_zip1].value = data.postcode1; - of[frm_zip2].value = data.postcode2; + of[frm_zip].value = data.zonecode; of[frm_addr1].value = fullAddr; of[frm_addr3].value = extraAddr; @@ -432,7 +431,7 @@ var win_zip = function(frm_name, frm_zip1, frm_zip2, frm_addr1, frm_addr2, frm_a switch(zip_case) { case 1 : //iframe을 이용하여 페이지에 끼워 넣기 - var daum_pape_id = 'daum_juso_page'+frm_zip1, + var daum_pape_id = 'daum_juso_page'+frm_zip, element_wrap = document.getElementById(daum_pape_id), currentScroll = Math.max(document.body.scrollTop, document.documentElement.scrollTop); if (element_wrap == null) { @@ -475,7 +474,7 @@ var win_zip = function(frm_name, frm_zip1, frm_zip2, frm_addr1, frm_addr2, frm_a }).open(); break; default : //iframe을 이용하여 레이어 띄우기 - var rayer_id = 'daum_juso_rayer'+frm_zip1, + var rayer_id = 'daum_juso_rayer'+frm_zip, element_layer = document.getElementById(rayer_id); if (element_layer == null) { element_layer = document.createElement("div"); diff --git a/mobile/skin/member/basic/register_form.skin.php b/mobile/skin/member/basic/register_form.skin.php index 54f559d9e..4adb79722 100644 --- a/mobile/skin/member/basic/register_form.skin.php +++ b/mobile/skin/member/basic/register_form.skin.php @@ -141,12 +141,9 @@ add_stylesheet('', 필수
- - class="frm_input " size="3" maxlength="3"> - - - - class="frm_input " size="3" maxlength="3"> -
+ + class="frm_input " size="5" maxlength="6"> +
class="frm_input frm_address " size="50">
diff --git a/skin/member/basic/register_form.skin.php b/skin/member/basic/register_form.skin.php index 149411388..eabd23bb0 100644 --- a/skin/member/basic/register_form.skin.php +++ b/skin/member/basic/register_form.skin.php @@ -146,12 +146,9 @@ add_stylesheet('', 필수
- - class="frm_input " size="3" maxlength="3"> - - - - class="frm_input " size="3" maxlength="3"> -
+ + class="frm_input " size="5" maxlength="6"> +
class="frm_input frm_address " size="50">
From dfd0c5f758ebd632505022f6672c150b981fd5ff Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 2 Sep 2015 17:40:16 +0900 Subject: [PATCH 5/7] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EC=BA=A1?= =?UTF-8?q?=EC=B1=A0=20=EC=B2=B4=ED=81=AC=20=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8=20=EC=A4=91=EB=B3=B5=20=ED=98=B8=EC=B6=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/skin/board/gallery/write.skin.php | 2 +- theme/basic/mobile/skin/board/basic/write.skin.php | 2 +- theme/basic/mobile/skin/board/gallery/write.skin.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mobile/skin/board/gallery/write.skin.php b/mobile/skin/board/gallery/write.skin.php index f40d8db61..43f4119a3 100644 --- a/mobile/skin/board/gallery/write.skin.php +++ b/mobile/skin/board/gallery/write.skin.php @@ -242,7 +242,7 @@ function fwrite_submit(f) } } - + document.getElementById("btn_submit").disabled = "disabled"; diff --git a/theme/basic/mobile/skin/board/basic/write.skin.php b/theme/basic/mobile/skin/board/basic/write.skin.php index b28d9abb7..a46fbefdf 100644 --- a/theme/basic/mobile/skin/board/basic/write.skin.php +++ b/theme/basic/mobile/skin/board/basic/write.skin.php @@ -243,7 +243,7 @@ function fwrite_submit(f) } } - + document.getElementById("btn_submit").disabled = "disabled"; diff --git a/theme/basic/mobile/skin/board/gallery/write.skin.php b/theme/basic/mobile/skin/board/gallery/write.skin.php index f40d8db61..43f4119a3 100644 --- a/theme/basic/mobile/skin/board/gallery/write.skin.php +++ b/theme/basic/mobile/skin/board/gallery/write.skin.php @@ -242,7 +242,7 @@ function fwrite_submit(f) } } - + document.getElementById("btn_submit").disabled = "disabled"; From 0a4a9e3f4748615d90b647643d77101326c33282 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 11 Sep 2015 16:42:20 +0900 Subject: [PATCH 6/7] =?UTF-8?q?=EC=9E=90=EB=8F=99=EC=A0=80=EC=9E=A5=20?= =?UTF-8?q?=EA=B8=B0=EB=8A=A5=EC=9D=84=20=EC=B6=94=EA=B0=80=EB=90=9C=20?= =?UTF-8?q?=EC=97=90=EB=94=94=ED=84=B0=EC=97=90=EC=84=9C=EB=8F=84=20?= =?UTF-8?q?=EC=82=AC=EC=9A=A9=ED=95=A0=20=EC=88=98=20=EC=9E=88=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/write.php | 12 +++++-- config.php | 3 ++ js/autosave.js | 35 +++++++++++-------- plugin/editor/smarteditor2/autosave.editor.js | 13 +++++++ skin/board/basic/write.skin.php | 1 + skin/board/gallery/write.skin.php | 1 + theme/basic/skin/board/basic/write.skin.php | 1 + theme/basic/skin/board/gallery/write.skin.php | 1 + 8 files changed, 51 insertions(+), 16 deletions(-) create mode 100644 plugin/editor/smarteditor2/autosave.editor.js diff --git a/bbs/write.php b/bbs/write.php index 3f026298a..accff38db 100644 --- a/bbs/write.php +++ b/bbs/write.php @@ -390,9 +390,17 @@ if ($is_guest) { } $is_dhtml_editor = false; -// 모바일에서는 DHTML 에디터 사용불가 -if ($config['cf_editor'] && !G5_IS_MOBILE && $board['bo_use_dhtml_editor'] && $member['mb_level'] >= $board['bo_html_level']) { +$is_dhtml_editor_use = false; +$editor_content_js = ''; +if(!G5_IS_MOBILE || defined('G5_IS_MOBILE_DHTML_USE') && G5_IS_MOBILE_DHTML_USE) + $is_dhtml_editor_use = true; + +// 모바일에서는 G5_IS_MOBILE_DHTML_USE 설정에 따라 DHTML 에디터 적용 +if ($config['cf_editor'] && $is_dhtml_editor_use && $board['bo_use_dhtml_editor'] && $member['mb_level'] >= $board['bo_html_level']) { $is_dhtml_editor = true; + + if(is_file(G5_EDITOR_PATH.'/'.$config['cf_editor'].'/autosave.editor.js')) + $editor_content_js = ''.PHP_EOL; } $editor_html = editor_html('wr_content', $content, $is_dhtml_editor); $editor_js = ''; diff --git a/config.php b/config.php index 6f6a6bfed..e0bdaaf70 100644 --- a/config.php +++ b/config.php @@ -192,6 +192,9 @@ define('G5_THUMB_JPG_QUALITY', 90); // 썸네일 png Compress 설정 define('G5_THUMB_PNG_COMPRESS', 5); +// 모바일 기기에서 DHTML 에디터 사용여부를 설정합니다. +define('G5_IS_MOBILE_DHTML_USE', true); + // ip 숨김방법 설정 /* 123.456.789.012 ip의 숨김 방법을 변경하는 방법은 \\1 은 123, \\2는 456, \\3은 789, \\4는 012에 각각 대응되므로 diff --git a/js/autosave.js b/js/autosave.js index b65891ff8..3de56cd81 100644 --- a/js/autosave.js +++ b/js/autosave.js @@ -7,13 +7,18 @@ var save_wr_content = null; function autosave() { $("form#fwrite").each(function() { - if (g5_editor.indexOf("ckeditor4") != -1 && typeof(CKEDITOR.instances.wr_content)!="undefined") { - this.wr_content.value = CKEDITOR.instances.wr_content.getData(); - } else if (g5_editor.indexOf("cheditor5") != -1 && typeof(ed_wr_content)!="undefined") { - this.wr_content.value = ed_wr_content.outputBodyHTML(); - } else if (g5_editor.indexOf("smarteditor2") != -1 && typeof(oEditors)!="undefined" && typeof(oEditors.getById['wr_content'])!="undefined" ) { - this.wr_content.value = oEditors.getById['wr_content'].getIR(); + if(g5_editor != "") { + if (g5_editor.indexOf("ckeditor4") != -1 && typeof(CKEDITOR.instances.wr_content)!="undefined") { + this.wr_content.value = CKEDITOR.instances.wr_content.getData(); + } else if (g5_editor.indexOf("cheditor5") != -1 && typeof(ed_wr_content)!="undefined") { + this.wr_content.value = ed_wr_content.outputBodyHTML(); + } else { + if(typeof get_editor_wr_content == "function") { + this.wr_content.value = get_editor_wr_content(); + } + } } + // 변수에 저장해 놓은 값과 다를 경우에만 임시 저장함 if (save_wr_subject != this.wr_subject.value || save_wr_content != this.wr_content.value) { $.ajax({ @@ -78,14 +83,16 @@ $(function(){ var subject = $(data).find("item").find("subject").text(); var content = $(data).find("item").find("content").text(); $("#wr_subject").val(subject); - if (g5_editor.indexOf("ckeditor4") != -1 && typeof(CKEDITOR.instances.wr_content)!="undefined") { - CKEDITOR.instances.wr_content.setData(content); - } else if (g5_editor.indexOf("cheditor5") != -1 && typeof(ed_wr_content)!="undefined") { - ed_wr_content.putContents(content); - } else if (g5_editor.indexOf("smarteditor2") != -1 && typeof(oEditors)!="undefined" && typeof(oEditors.getById['wr_content'])!="undefined" ) { - oEditors.getById["wr_content"].exec("SET_CONTENTS", [""]); - //oEditors.getById["wr_content"].exec("SET_IR", [""]); - oEditors.getById["wr_content"].exec("PASTE_HTML", [content]); + if(g5_editor != "") { + if (g5_editor.indexOf("ckeditor4") != -1 && typeof(CKEDITOR.instances.wr_content)!="undefined") { + CKEDITOR.instances.wr_content.setData(content); + } else if (g5_editor.indexOf("cheditor5") != -1 && typeof(ed_wr_content)!="undefined") { + ed_wr_content.putContents(content); + } else { + if(typeof put_editor_wr_content == "function") { + put_editor_wr_content(content); + } + } } else { $("#fwrite #wr_content").val(content); } diff --git a/plugin/editor/smarteditor2/autosave.editor.js b/plugin/editor/smarteditor2/autosave.editor.js new file mode 100644 index 000000000..49978765a --- /dev/null +++ b/plugin/editor/smarteditor2/autosave.editor.js @@ -0,0 +1,13 @@ +function get_editor_wr_content() +{ + return oEditors.getById['wr_content'].getIR();; +} + +function put_editor_wr_content(content) +{ + oEditors.getById["wr_content"].exec("SET_CONTENTS", [""]); + //oEditors.getById["wr_content"].exec("SET_IR", [""]); + oEditors.getById["wr_content"].exec("PASTE_HTML", [content]); + + return; +} \ No newline at end of file diff --git a/skin/board/basic/write.skin.php b/skin/board/basic/write.skin.php index f0e7e91e8..34d190e7e 100644 --- a/skin/board/basic/write.skin.php +++ b/skin/board/basic/write.skin.php @@ -111,6 +111,7 @@ add_stylesheet('', 0 +
임시 저장된 글 목록 diff --git a/skin/board/gallery/write.skin.php b/skin/board/gallery/write.skin.php index 898489957..e8bcf7bd6 100644 --- a/skin/board/gallery/write.skin.php +++ b/skin/board/gallery/write.skin.php @@ -111,6 +111,7 @@ add_stylesheet('', 0 +
임시 저장된 글 목록 diff --git a/theme/basic/skin/board/basic/write.skin.php b/theme/basic/skin/board/basic/write.skin.php index f0e7e91e8..34d190e7e 100644 --- a/theme/basic/skin/board/basic/write.skin.php +++ b/theme/basic/skin/board/basic/write.skin.php @@ -111,6 +111,7 @@ add_stylesheet('', 0 +
임시 저장된 글 목록 diff --git a/theme/basic/skin/board/gallery/write.skin.php b/theme/basic/skin/board/gallery/write.skin.php index 898489957..e8bcf7bd6 100644 --- a/theme/basic/skin/board/gallery/write.skin.php +++ b/theme/basic/skin/board/gallery/write.skin.php @@ -111,6 +111,7 @@ add_stylesheet('', 0 +
임시 저장된 글 목록 From 921fa1ec08aef3faa4bd6592ee4c73b9da024514 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 11 Sep 2015 17:23:28 +0900 Subject: [PATCH 7/7] =?UTF-8?q?=EC=88=98=EC=A0=95=EC=A0=84=20=EC=BD=94?= =?UTF-8?q?=EB=93=9C=EA=B0=80=20=EB=8B=A4=EC=8B=9C=20=EC=A0=81=EC=9A=A9?= =?UTF-8?q?=EB=90=9C=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.php | 2 +- mobile/skin/board/basic/write.skin.php | 5 ++--- mobile/skin/board/gallery/write.skin.php | 3 +-- theme/basic/mobile/skin/board/basic/write.skin.php | 3 +-- theme/basic/mobile/skin/board/gallery/write.skin.php | 3 +-- 5 files changed, 6 insertions(+), 10 deletions(-) diff --git a/config.php b/config.php index e0bdaaf70..3c71769bd 100644 --- a/config.php +++ b/config.php @@ -193,7 +193,7 @@ define('G5_THUMB_JPG_QUALITY', 90); define('G5_THUMB_PNG_COMPRESS', 5); // 모바일 기기에서 DHTML 에디터 사용여부를 설정합니다. -define('G5_IS_MOBILE_DHTML_USE', true); +define('G5_IS_MOBILE_DHTML_USE', false); // ip 숨김방법 설정 /* 123.456.789.012 ip의 숨김 방법을 변경하는 방법은 diff --git a/mobile/skin/board/basic/write.skin.php b/mobile/skin/board/basic/write.skin.php index b28d9abb7..8d9076d2f 100644 --- a/mobile/skin/board/basic/write.skin.php +++ b/mobile/skin/board/basic/write.skin.php @@ -193,8 +193,7 @@ function html_auto_br(obj) function fwrite_submit(f) { - - + var subject = ""; var content = ""; @@ -243,7 +242,7 @@ function fwrite_submit(f) } } - + document.getElementById("btn_submit").disabled = "disabled"; diff --git a/mobile/skin/board/gallery/write.skin.php b/mobile/skin/board/gallery/write.skin.php index 43f4119a3..4aec1baaf 100644 --- a/mobile/skin/board/gallery/write.skin.php +++ b/mobile/skin/board/gallery/write.skin.php @@ -192,8 +192,7 @@ function html_auto_br(obj) function fwrite_submit(f) { - - + var subject = ""; var content = ""; diff --git a/theme/basic/mobile/skin/board/basic/write.skin.php b/theme/basic/mobile/skin/board/basic/write.skin.php index a46fbefdf..aa5f5b4ad 100644 --- a/theme/basic/mobile/skin/board/basic/write.skin.php +++ b/theme/basic/mobile/skin/board/basic/write.skin.php @@ -193,8 +193,7 @@ function html_auto_br(obj) function fwrite_submit(f) { - - + var subject = ""; var content = ""; diff --git a/theme/basic/mobile/skin/board/gallery/write.skin.php b/theme/basic/mobile/skin/board/gallery/write.skin.php index 43f4119a3..4aec1baaf 100644 --- a/theme/basic/mobile/skin/board/gallery/write.skin.php +++ b/theme/basic/mobile/skin/board/gallery/write.skin.php @@ -192,8 +192,7 @@ function html_auto_br(obj) function fwrite_submit(f) { - - + var subject = ""; var content = "";