Merge branch 'master' of github.com:gnuboard/yc5
This commit is contained in:
@ -6,9 +6,6 @@ if (!$is_member) {
|
|||||||
alert_close("상품문의는 회원만 작성 가능합니다.");
|
alert_close("상품문의는 회원만 작성 가능합니다.");
|
||||||
}
|
}
|
||||||
|
|
||||||
// 상품문의의 내용에 쓸수 있는 최대 글자수 (한글은 영문3자)
|
|
||||||
$iq_question_max_length = 10000;
|
|
||||||
|
|
||||||
$w = escape_trim($_REQUEST['w']);
|
$w = escape_trim($_REQUEST['w']);
|
||||||
$it_id = escape_trim($_REQUEST['it_id']);
|
$it_id = escape_trim($_REQUEST['it_id']);
|
||||||
$iq_id = escape_trim($_REQUEST['iq_id']);
|
$iq_id = escape_trim($_REQUEST['iq_id']);
|
||||||
|
|||||||
@ -6,9 +6,6 @@ if (!$is_member) {
|
|||||||
alert_close("사용후기는 회원만 작성 가능합니다.");
|
alert_close("사용후기는 회원만 작성 가능합니다.");
|
||||||
}
|
}
|
||||||
|
|
||||||
// 사용후기의 내용에 쓸수 있는 최대 글자수 (한글은 영문3자)
|
|
||||||
$is_content_max_length = 10000;
|
|
||||||
|
|
||||||
$w = escape_trim($_REQUEST['w']);
|
$w = escape_trim($_REQUEST['w']);
|
||||||
$it_id = escape_trim($_REQUEST['it_id']);
|
$it_id = escape_trim($_REQUEST['it_id']);
|
||||||
$is_id = escape_trim($_REQUEST['is_id']);
|
$is_id = escape_trim($_REQUEST['is_id']);
|
||||||
|
|||||||
@ -41,12 +41,6 @@ function fitemqa_submit(f)
|
|||||||
{
|
{
|
||||||
<?php echo get_editor_js('iq_question'); ?>
|
<?php echo get_editor_js('iq_question'); ?>
|
||||||
|
|
||||||
if (iq_question_editor_data.length > <?php echo $iq_question_max_length; ?>) {
|
|
||||||
alert("내용은 <?php echo $iq_question_max_length; ?> 글자 이내에서 작성해 주세요. (한글은 영문 3자)\n\n현재 : "+iq_question_editor_data.length+" 글자");
|
|
||||||
CKEDITOR.instances.iq_question.focus();
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -72,29 +72,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function fitemuse_submit(f)
|
function fitemuse_submit(f)
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
if (document.getElementById('tx_is_content')) {
|
|
||||||
var len = ed_is_content.inputLength();
|
|
||||||
if (len == 0) {
|
|
||||||
alert('내용을 입력하십시오.');
|
|
||||||
ed_is_content.returnFalse();
|
|
||||||
return false;
|
|
||||||
} else if (len > 1000) {
|
|
||||||
alert('내용은 1000글자 까지만 입력해 주세요.');
|
|
||||||
ed_is_content.returnFalse();
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
<?php echo get_editor_js('is_content'); ?>
|
<?php echo get_editor_js('is_content'); ?>
|
||||||
|
|
||||||
if (is_content_editor_data.length > <?php echo $is_content_max_length; ?>) {
|
|
||||||
alert("내용은 <?php echo $is_content_max_length; ?> 글자 이내에서 작성해 주세요. (한글은 영문 3자)\n\n현재 : "+is_content_editor_data.length+" 글자");
|
|
||||||
CKEDITOR.instances.is_content.focus();
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -12,9 +12,6 @@ if (!$is_member) {
|
|||||||
alert_close("상품문의는 회원만 작성 가능합니다.");
|
alert_close("상품문의는 회원만 작성 가능합니다.");
|
||||||
}
|
}
|
||||||
|
|
||||||
// 상품문의의 내용에 쓸수 있는 최대 글자수 (한글은 영문3자)
|
|
||||||
$iq_question_max_length = 10000;
|
|
||||||
|
|
||||||
$w = escape_trim($_REQUEST['w']);
|
$w = escape_trim($_REQUEST['w']);
|
||||||
$it_id = escape_trim($_REQUEST['it_id']);
|
$it_id = escape_trim($_REQUEST['it_id']);
|
||||||
$iq_id = escape_trim($_REQUEST['iq_id']);
|
$iq_id = escape_trim($_REQUEST['iq_id']);
|
||||||
|
|||||||
@ -12,9 +12,6 @@ if (!$is_member) {
|
|||||||
alert_close("사용후기는 회원만 작성 가능합니다.");
|
alert_close("사용후기는 회원만 작성 가능합니다.");
|
||||||
}
|
}
|
||||||
|
|
||||||
// 사용후기의 내용에 쓸수 있는 최대 글자수 (한글은 영문3자)
|
|
||||||
$is_content_max_length = 10000;
|
|
||||||
|
|
||||||
$w = escape_trim($_REQUEST['w']);
|
$w = escape_trim($_REQUEST['w']);
|
||||||
$it_id = escape_trim($_REQUEST['it_id']);
|
$it_id = escape_trim($_REQUEST['it_id']);
|
||||||
$is_id = escape_trim($_REQUEST['is_id']);
|
$is_id = escape_trim($_REQUEST['is_id']);
|
||||||
|
|||||||
@ -41,12 +41,6 @@ function fitemqa_submit(f)
|
|||||||
{
|
{
|
||||||
<?php echo get_editor_js('iq_question'); ?>
|
<?php echo get_editor_js('iq_question'); ?>
|
||||||
|
|
||||||
if (iq_question_editor_data.length > <?php echo $iq_question_max_length; ?>) {
|
|
||||||
alert("내용은 <?php echo $iq_question_max_length; ?> 글자 이내에서 작성해 주세요. (한글은 영문 3자)\n\n현재 : "+iq_question_editor_data.length+" 글자");
|
|
||||||
CKEDITOR.instances.iq_question.focus();
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -74,12 +74,6 @@ function fitemuse_submit(f)
|
|||||||
{
|
{
|
||||||
<?php echo get_editor_js('is_content'); ?>
|
<?php echo get_editor_js('is_content'); ?>
|
||||||
|
|
||||||
if (is_content_editor_data.length > <?php echo $is_content_max_length; ?>) {
|
|
||||||
alert("내용은 <?php echo $is_content_max_length; ?> 글자 이내에서 작성해 주세요. (한글은 영문 3자)\n\n현재 : "+is_content_editor_data.length+" 글자");
|
|
||||||
CKEDITOR.instances.is_content.focus();
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user