DHTML 에디터 관련 코드 수정
This commit is contained in:
@ -18,7 +18,7 @@ if ($is_admin)
|
||||
<!-- 이벤트 시작 { -->
|
||||
<?php
|
||||
// 상단 HTML
|
||||
echo '<div id="sev_hhtml">'.stripslashes($ev['ev_head_html']).'</div>';
|
||||
echo '<div id="sev_hhtml">'.conv_content($ev['ev_head_html'], 1).'</div>';
|
||||
|
||||
// 상품 출력순서가 있다면
|
||||
if ($sort != "")
|
||||
@ -77,7 +77,7 @@ echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_S
|
||||
|
||||
<?php
|
||||
// 하단 HTML
|
||||
echo '<div id="sev_thtml">'.stripslashes($ev['ev_tail_html']).'</div>';
|
||||
echo '<div id="sev_thtml">'.conv_content($ev['ev_tail_html'], 1).'</div>';
|
||||
?>
|
||||
<!-- } 이벤트 끝 -->
|
||||
|
||||
|
||||
@ -190,7 +190,7 @@ if(!is_file($nav_skin))
|
||||
include $nav_skin;
|
||||
|
||||
// 상단 HTML
|
||||
echo '<div id="sit_hhtml">'.stripslashes($it['it_mobile_head_html']).'</div>';
|
||||
echo '<div id="sit_hhtml">'.conv_content($it['it_mobile_head_html'], 1).'</div>';
|
||||
?>
|
||||
|
||||
<?php if($is_orderable) { ?>
|
||||
@ -215,7 +215,7 @@ else
|
||||
|
||||
<?php
|
||||
// 하단 HTML
|
||||
echo stripslashes($it['it_mobile_tail_html']);
|
||||
echo conv_content($it['it_mobile_tail_html'], 1);
|
||||
|
||||
include_once(G5_MSHOP_PATH.'/_tail.php');
|
||||
?>
|
||||
|
||||
@ -47,7 +47,7 @@ $is_dhtml_editor = false;
|
||||
if ($config['cf_editor'] && !G5_IS_MOBILE) {
|
||||
$is_dhtml_editor = true;
|
||||
}
|
||||
$editor_html = editor_html('iq_question', $qa['iq_question'], $is_dhtml_editor);
|
||||
$editor_html = editor_html('iq_question', get_text($qa['iq_question'], 0), $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);
|
||||
|
||||
@ -42,7 +42,7 @@ $is_dhtml_editor = false;
|
||||
if ($config['cf_editor'] && !G5_IS_MOBILE) {
|
||||
$is_dhtml_editor = true;
|
||||
}
|
||||
$editor_html = editor_html('is_content', $use['is_content'], $is_dhtml_editor);
|
||||
$editor_html = editor_html('is_content', get_text($use['is_content'], 0), $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);
|
||||
|
||||
@ -48,7 +48,7 @@ define('G5_SHOP_CSS_URL', str_replace(G5_PATH, G5_URL, $skin_dir));
|
||||
include $nav_skin;
|
||||
|
||||
// 상단 HTML
|
||||
echo '<div id="sct_hhtml">'.stripslashes($ca['ca_mobile_head_html']).'</div>';
|
||||
echo '<div id="sct_hhtml">'.conv_content($ca['ca_mobile_head_html'], 1).'</div>';
|
||||
|
||||
// 상품 출력순서가 있다면
|
||||
if ($sort != "")
|
||||
@ -110,7 +110,7 @@ define('G5_SHOP_CSS_URL', str_replace(G5_PATH, G5_URL, $skin_dir));
|
||||
|
||||
<?php
|
||||
// 하단 HTML
|
||||
echo '<div id="sct_thtml">'.stripslashes($ca['ca_mobile_tail_html']).'</div>';
|
||||
echo '<div id="sct_thtml">'.conv_content($ca['ca_mobile_tail_html'], 1).'</div>';
|
||||
?>
|
||||
</div>
|
||||
|
||||
|
||||
@ -24,13 +24,13 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
|
||||
$iq_subject .= ' <img src="'.G5_MSHOP_SKIN_URL.'/img/icon_secret.gif" alt="비밀글">';
|
||||
|
||||
if($is_admin || $member['mb_id' ] == $row['mb_id']) {
|
||||
$iq_question = get_view_thumbnail($row['iq_question'], $thumbnail_width);
|
||||
$iq_question = get_view_thumbnail(conv_content($row['iq_question'], 1), $thumbnail_width);
|
||||
} else {
|
||||
$iq_question = '비밀글로 보호된 문의입니다.';
|
||||
$is_secret = true;
|
||||
}
|
||||
} else {
|
||||
$iq_question = get_view_thumbnail($row['iq_question'], $thumbnail_width);
|
||||
$iq_question = get_view_thumbnail(conv_content($row['iq_question'], 1), $thumbnail_width);
|
||||
}
|
||||
$iq_time = substr($row['iq_time'], 2, 8);
|
||||
|
||||
@ -42,7 +42,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
|
||||
|
||||
if ($row['iq_answer'])
|
||||
{
|
||||
$iq_answer = get_view_thumbnail($row['iq_answer'], $thumbnail_width);
|
||||
$iq_answer = get_view_thumbnail(conv_content($row['iq_answer'], 1), $thumbnail_width);
|
||||
$iq_stats = '답변완료';
|
||||
$iq_style = 'sit_qaa_done';
|
||||
$is_answer = true;
|
||||
|
||||
@ -45,20 +45,20 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
|
||||
$iq_subject .= ' <img src="'.G5_MSHOP_SKIN_URL.'/img/icon_secret.gif" alt="비밀글">';
|
||||
|
||||
if($is_admin || $member['mb_id' ] == $row['mb_id']) {
|
||||
$iq_question = get_view_thumbnail($row['iq_question'], $thumbnail_width);
|
||||
$iq_question = get_view_thumbnail(conv_content($row['iq_question'], 1), $thumbnail_width);
|
||||
} else {
|
||||
$iq_question = '비밀글로 보호된 문의입니다.';
|
||||
$is_secret = true;
|
||||
}
|
||||
} else {
|
||||
$iq_question = get_view_thumbnail($row['iq_question'], $thumbnail_width);
|
||||
$iq_question = get_view_thumbnail(conv_content($row['iq_question'], 1), $thumbnail_width);
|
||||
}
|
||||
|
||||
$it_href = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
|
||||
if ($row['iq_answer'])
|
||||
{
|
||||
$iq_answer = get_view_thumbnail($row['iq_answer'], $thumbnail_width);
|
||||
$iq_answer = get_view_thumbnail(conv_content($row['iq_answer'], 1), $thumbnail_width);
|
||||
$iq_stats = '답변완료';
|
||||
$iq_style = 'sit_qaa_done';
|
||||
$is_answer = true;
|
||||
|
||||
@ -20,7 +20,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
|
||||
$is_name = get_text($row['is_name']);
|
||||
$is_subject = conv_subject($row['is_subject'],50,"…");
|
||||
//$is_content = ($row['wr_content']);
|
||||
$is_content = get_view_thumbnail($row['is_content'], $thumbnail_width);
|
||||
$is_content = get_view_thumbnail(conv_content($row['is_content'], 1), $thumbnail_width);
|
||||
$is_time = substr($row['is_time'], 2, 8);
|
||||
$is_href = './itemuselist.php?bo_table=itemuse&wr_id='.$row['wr_id'];
|
||||
|
||||
|
||||
@ -39,7 +39,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
|
||||
$num = $total_count - ($page - 1) * $rows - $i;
|
||||
$star = get_star($row['is_score']);
|
||||
|
||||
$is_content = get_view_thumbnail($row['is_content'], $thumbnail_width);
|
||||
$is_content = get_view_thumbnail(conv_content($row['is_content'], 1), $thumbnail_width);
|
||||
|
||||
$row2 = sql_fetch(" select it_name from {$g5['g5_shop_item_table']} where it_id = '{$row['it_id']}' ");
|
||||
$it_href = G5_SHOP_URL."/item.php?it_id={$row['it_id']}";
|
||||
|
||||
Reference in New Issue
Block a user