ckeditor 로 변경
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<?
|
||||
$sub_menu = '400200';
|
||||
include_once('./_common.php');
|
||||
include_once ("$g4[path]/lib/cheditor4.lib.php");
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "w");
|
||||
|
||||
@ -79,10 +79,6 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
<?//=subtitle("기본 입력")?>
|
||||
|
||||
<script src="<?=$g4[cheditor4_path]?>/cheditor.js"></script>
|
||||
<?=cheditor1('ca_head_html', '100%', '150');?>
|
||||
<?=cheditor1('ca_tail_html', '100%', '150');?>
|
||||
|
||||
<form name=fcategoryform method=post action="./categoryformupdate.php" enctype="multipart/form-data" onsubmit='return fcategoryformcheck(this);' style="margin:0px;">
|
||||
|
||||
<table cellpadding=0 cellspacing=0 width=100%>
|
||||
@ -265,11 +261,11 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
<tr class=ht>
|
||||
<td>상단 내용 <?=help("상품리스트 페이지 상단에 출력하는 HTML 내용입니다.", -150);?> </td>
|
||||
<td colspan=3 align=right><br /><?=cheditor2('ca_head_html', $ca[ca_head_html]);?></td>
|
||||
<td colspan=3 align=right><?=editor_html('ca_head_html', $ca['ca_head_html']);?></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>하단 내용 <?=help("상품리스트 페이지 하단에 출력하는 HTML 내용입니다.", -150);?></td>
|
||||
<td colspan=3 align=right><br /><?=cheditor2('ca_tail_html', $ca[ca_tail_html]);?></td>
|
||||
<td colspan=3 align=right><?=editor_html('ca_tail_html', $ca['ca_tail_html']);?></td>
|
||||
</tr>
|
||||
<tr><td colspan=4 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
</table>
|
||||
@ -302,8 +298,8 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<script language='javascript'>
|
||||
function fcategoryformcheck(f)
|
||||
{
|
||||
<?=cheditor3('ca_head_html');?>
|
||||
<?=cheditor3('ca_tail_html');?>
|
||||
<?=get_editor_js('ca_head_html');?>
|
||||
<?=get_editor_js('ca_tail_html');?>
|
||||
|
||||
if (f.w.value == "") {
|
||||
if (f.codedup.value == '1') {
|
||||
@ -318,19 +314,29 @@ function fcategoryformcheck(f)
|
||||
function codedupcheck(id)
|
||||
{
|
||||
if (!id) {
|
||||
alert('분류코드를 입력하십시오.');
|
||||
alert("분류코드를 입력하십시오.");
|
||||
f.ca_id.focus();
|
||||
return;
|
||||
}
|
||||
|
||||
window.open("./codedupcheck.php?ca_id="+id+'&frmname=fcategoryform', "hiddenframe");
|
||||
$.post(
|
||||
"./codedupcheck.php",
|
||||
{ ca_id: id },
|
||||
function(data) {
|
||||
if(data.name) {
|
||||
alert("코드 '"+data.code+"' 는 '".data.name+"' (으)로 이미 등록되어 있으므로\n\n사용하실 수 없습니다.");
|
||||
return false;
|
||||
} else {
|
||||
alert("'"+data.code+"' 은(는) 등록된 코드가 없으므로 사용하실 수 있습니다.");
|
||||
document.fcategoryform.codedup.value = '';
|
||||
}
|
||||
}, "json"
|
||||
);
|
||||
}
|
||||
|
||||
document.fcategoryform.ca_name.focus();
|
||||
</script>
|
||||
|
||||
<iframe name='hiddenFrame' width=0 height=0></iframe>
|
||||
|
||||
<?
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
@ -1,6 +1,7 @@
|
||||
<?
|
||||
include_once('./_common.php');
|
||||
include_once(G4_PATH.'/head.sub.php');
|
||||
|
||||
$name = '';
|
||||
|
||||
if ($it_id)
|
||||
{
|
||||
@ -16,15 +17,6 @@ else if ($ca_id)
|
||||
$code = $ca_id;
|
||||
$name = $row['ca_name'];
|
||||
}
|
||||
?>
|
||||
<SCRIPT LANGUAGE="JavaScript">
|
||||
<!--
|
||||
<? if ($name) { ?>
|
||||
alert("코드 '<?=$code?>' 는 '<?=$name?>' (으)로 이미 등록되어 있으므로\n\n사용하실 수 없습니다.");
|
||||
<? } else { ?>
|
||||
alert("'<?=$code?>' 은(는) 등록된 코드가 없으므로 사용하실 수 있습니다.");
|
||||
parent.document.<?=$frmname?>.codedup.value = '';
|
||||
<? } ?>
|
||||
window.close();
|
||||
//-->
|
||||
</SCRIPT>
|
||||
|
||||
echo '{ "code": "' . $code . '", "name": "' . $name . '" }';
|
||||
?>
|
||||
@ -1,7 +1,7 @@
|
||||
<?
|
||||
$sub_menu = '400100';
|
||||
include_once('./_common.php');
|
||||
include_once("$g4[path]/lib/cheditor4.lib.php");
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "r");
|
||||
|
||||
@ -99,11 +99,6 @@ $g4['title'] = '쇼핑몰설정';
|
||||
include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
?>
|
||||
|
||||
<script src="<?=$g4[cheditor4_path]?>/cheditor.js"></script>
|
||||
<?=cheditor1('de_baesong_content', '100%', '150');?>
|
||||
<?=cheditor1('de_change_content', '100%', '150');?>
|
||||
<?=cheditor1('de_guest_privacy', '100%', '150');?>
|
||||
|
||||
<form name=fconfig method=post action='./configformupdate.php' onsubmit="return fconfig_check(this)" enctype="MULTIPART/FORM-DATA" style="margin:0px;">
|
||||
|
||||
<a name="사업자정보"></a>
|
||||
@ -580,11 +575,11 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>배송정보</td>
|
||||
<td colspan=3><br /><?=cheditor2('de_baesong_content', $default['de_baesong_content']);?></td>
|
||||
<td colspan=3><br /><?=editor_html('de_baesong_content', $default['de_baesong_content']);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>교환/반품</td>
|
||||
<td colspan=3><br /><?=cheditor2('de_change_content', $default['de_change_content']);?></td>
|
||||
<td colspan=3><br /><?=editor_html('de_change_content', $default['de_change_content']);?></td>
|
||||
</tr>
|
||||
<tr><td colspan=4 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
</table>
|
||||
@ -718,7 +713,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
</tr>
|
||||
<tr>
|
||||
<td>비회원에 대한<br/>개인정보수집 내용</td>
|
||||
<td colspan=3><br /><?=cheditor2('de_guest_privacy', $default['de_guest_privacy']);?></td>
|
||||
<td colspan=3><br /><?=editor_html('de_guest_privacy', $default['de_guest_privacy']);?></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>MYSQL USER</td>
|
||||
@ -950,9 +945,9 @@ $sms_daesang = array (1=>"고객님께 발송", "관리자께 발송", "고객
|
||||
<script language="JavaScript">
|
||||
function fconfig_check(f)
|
||||
{
|
||||
<?=cheditor3('de_baesong_content');?>
|
||||
<?=cheditor3('de_change_content');?>
|
||||
<?=cheditor3('de_guest_privacy');?>
|
||||
<?=get_editor_js('de_baesong_content');?>
|
||||
<?=get_editor_js('de_change_content');?>
|
||||
<?=get_editor_js('de_guest_privacy');?>
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?
|
||||
$sub_menu = '400700';
|
||||
include_once('./_common.php');
|
||||
include_once ("$g4[path]/lib/cheditor4.lib.php");
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "w");
|
||||
|
||||
@ -34,9 +34,6 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
<?//=subtitle($html_title)?><p>
|
||||
|
||||
<script src="<?=$g4[cheditor4_path]?>/cheditor.js"></script>
|
||||
<?=cheditor1('co_content', '100%', '350');?>
|
||||
|
||||
<table cellpadding=0 cellspacing=0 width=100%>
|
||||
<form name=frmcontentform method=post action="./contentformupdate.php" enctype="MULTIPART/FORM-DATA" onsubmit="return frmcontentform_check(this);">
|
||||
<input type=hidden name=w value='<? echo $w?>'>
|
||||
@ -59,7 +56,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<input type=hidden name=co_html value=1>
|
||||
<tr>
|
||||
<td>내용</td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'><?=cheditor2('co_content', $co[co_content]);?></td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'><?=editor_html('co_content', $co['co_content']);?></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>상단 파일 경로</td>
|
||||
@ -115,7 +112,7 @@ function frmcontentform_check(f)
|
||||
errmsg = "";
|
||||
errfld = "";
|
||||
|
||||
<?=cheditor3('co_content');?>
|
||||
<?=get_editor_js('co_content');?>
|
||||
|
||||
check_field(f.co_id, "ID를 입력하세요.");
|
||||
check_field(f.co_subject, "제목을 입력하세요.");
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?
|
||||
$sub_menu = '400710';
|
||||
include_once('./_common.php');
|
||||
include_once ("$g4[path]/lib/cheditor4.lib.php");
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "w");
|
||||
|
||||
@ -33,10 +33,6 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
<?//=subtitle($html_title)?><p>
|
||||
|
||||
<script src="<?=$g4[cheditor4_path]?>/cheditor.js"></script>
|
||||
<?=cheditor1('fa_subject', '100%', '150');?>
|
||||
<?=cheditor1('fa_content', '100%', '300');?>
|
||||
|
||||
<form name=frmfaqform method=post action='./faqformupdate.php' onsubmit="return frmfaqform_check(this);" style="margin:0px;">
|
||||
<input type=hidden name=w value='<? echo $w ?>'>
|
||||
<input type=hidden name=fm_id value='<? echo $fm_id ?>'>
|
||||
@ -60,13 +56,13 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
?>
|
||||
</td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'>
|
||||
<?=cheditor2('fa_subject', $fa[fa_subject]);?>
|
||||
<?=editor_html('fa_subject', $fa['fa_subject']);?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> 답변</td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'>
|
||||
<?=cheditor2('fa_content', $fa[fa_content]);?>
|
||||
<?=editor_html('fa_content', $fa['fa_content']);?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan=2 height=1 bgcolor=CCCCCC><td></tr>
|
||||
@ -93,8 +89,8 @@ function frmfaqform_check(f)
|
||||
return false;
|
||||
}
|
||||
|
||||
<?=cheditor3('fa_subject');?>
|
||||
<?=cheditor3('fa_content');?>
|
||||
<?=get_editor_js('fa_subject');?>
|
||||
<?=get_editor_js('fa_content');?>
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?
|
||||
$sub_menu = '400710';
|
||||
include_once('./_common.php');
|
||||
include_once ("$g4[path]/lib/cheditor4.lib.php");
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "w");
|
||||
|
||||
@ -26,10 +26,6 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
<?//=subtitle($html_title)?>
|
||||
|
||||
<script src="<?=$g4[cheditor4_path]?>/cheditor.js"></script>
|
||||
<?=cheditor1('fm_head_html', '100%', '150');?>
|
||||
<?=cheditor1('fm_tail_html', '100%', '150');?>
|
||||
|
||||
<form name=frmfaqmasterform method=post action="./faqmasterformupdate.php" onsubmit="return frmfaqmasterform_check(this);"enctype="MULTIPART/FORM-DATA" style="margin:0px;">
|
||||
<input type=hidden name=w value='<? echo $w ?>'>
|
||||
<input type=hidden name=fm_id value='<? echo $fm_id ?>'>
|
||||
@ -82,11 +78,11 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
<tr>
|
||||
<td>상단 내용</td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'><?=cheditor2('fm_head_html', $fm[fm_head_html]);?></td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'><?=editor_html('fm_head_html', $fm['fm_head_html']);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>하단 내용</td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'><?=cheditor2('fm_tail_html', $fm[fm_tail_html]);?></td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'><?=editor_html('fm_tail_html', $fm['fm_tail_html']);?></td>
|
||||
</tr>
|
||||
<tr><td colspan=2 height=1 bgcolor=CCCCCC></td></tr>
|
||||
</table>
|
||||
@ -99,8 +95,8 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<script language="javascript">
|
||||
function frmfaqmasterform_check(f)
|
||||
{
|
||||
<?=cheditor3('fm_head_html');?>
|
||||
<?=cheditor3('fm_tail_html');?>
|
||||
<?=get_editor_js('fm_head_html');?>
|
||||
<?=get_editor_js('fm_tail_html');?>
|
||||
}
|
||||
|
||||
document.frmfaqmasterform.fm_subject.focus();
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?
|
||||
$sub_menu = '400630';
|
||||
include_once('./_common.php');
|
||||
include_once ("$g4[path]/lib/cheditor4.lib.php");
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "w");
|
||||
|
||||
@ -37,10 +37,6 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
<?//=subtitle($html_title);?><p>
|
||||
|
||||
<script src="<?=$g4[cheditor4_path]?>/cheditor.js"></script>
|
||||
<?=cheditor1('ev_head_html', '100%', '150');?>
|
||||
<?=cheditor1('ev_tail_html', '100%', '150');?>
|
||||
|
||||
<form name=feventform method=post action="./itemeventformupdate.php" enctype="MULTIPART/FORM-DATA" style="margin:0px;" onsubmit="return feventform_check(this);">
|
||||
<input type=hidden name=w value='<? echo $w ?>'>
|
||||
<input type=hidden name=ev_id value='<? echo $ev_id ?>'>
|
||||
@ -164,11 +160,11 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
<tr>
|
||||
<td>상단 내용</td>
|
||||
<td colspan=3 align=right style='padding-top:5px; padding-bottom:5px;'><?=cheditor2('ev_head_html', $ev[ev_head_html]);?></td>
|
||||
<td colspan=3 align=right style='padding-top:5px; padding-bottom:5px;'><?=editor_html('ev_head_html', $ev['ev_head_html']);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>하단 내용</td>
|
||||
<td colspan=3 align=right style='padding-top:5px; padding-bottom:5px;'><?=cheditor2('ev_tail_html', $ev[ev_tail_html]);?></td>
|
||||
<td colspan=3 align=right style='padding-top:5px; padding-bottom:5px;'><?=editor_html('ev_tail_html', $ev['ev_tail_html']);?></td>
|
||||
</tr>
|
||||
<tr><td colspan=4 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
</table>
|
||||
@ -182,8 +178,8 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<script language="javascript">
|
||||
function feventform_check(f)
|
||||
{
|
||||
<?=cheditor3('ev_head_html');?>
|
||||
<?=cheditor3('ev_tail_html');?>
|
||||
<?=get_editor_js('ev_head_html');?>
|
||||
<?=get_editor_js('ev_tail_html');?>
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?
|
||||
$sub_menu = '400300';
|
||||
include_once('./_common.php');
|
||||
include_once("$g4[path]/lib/cheditor4.lib.php");
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
include_once(G4_LIB_PATH.'/iteminfo.lib.php');
|
||||
|
||||
/*
|
||||
@ -93,11 +93,6 @@ $g4['title'] = $html_title;
|
||||
include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
?>
|
||||
|
||||
<script src="<?=$g4[cheditor4_path]?>/cheditor.js"></script>
|
||||
<?=cheditor1('it_explan', '100%', '350');?>
|
||||
<?=cheditor1('it_head_html', '100%', '150');?>
|
||||
<?=cheditor1('it_tail_html', '100%', '150');?>
|
||||
|
||||
<form name=fitemform method=post action="./itemformupdate.php" onsubmit="return fitemformcheck(this)" enctype="MULTIPART/FORM-DATA" autocomplete="off" style="margin:0px;">
|
||||
<?//=subtitle("기본정보")?>
|
||||
<table width=100% cellpadding=0 cellspacing=0 border=0>
|
||||
@ -320,7 +315,7 @@ if ($ii) {
|
||||
<input type=hidden name=it_explan_html value=1>
|
||||
<tr>
|
||||
<td>상품설명</td>
|
||||
<td colspan=3 style='padding-top:7px; padding-bottom:7px;'><?=cheditor2('it_explan', $it[it_explan]);?></td>
|
||||
<td colspan=3 style='padding-top:7px; padding-bottom:7px;'><?=editor_html('it_explan', $it['it_explan']);?></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>판매자 e-mail</td>
|
||||
@ -358,7 +353,7 @@ if ($ii) {
|
||||
$limg1 = G4_DATA_PATH."/item/{$it[it_id]}_l1";
|
||||
if (file_exists($limg1)) {
|
||||
$size = getimagesize($limg1);
|
||||
echo "<img src='"G4_ADMIN_URL."/img/icon_viewer.gif' border=0 align=absmiddle onclick=\"imageview('limg1', $size[0], $size[1]);\"><input type=checkbox name=it_limg1_del value='1'>삭제";
|
||||
echo "<img src='".G4_ADMIN_URL."/img/icon_viewer.gif' border=0 align=absmiddle onclick=\"imageview('limg1', $size[0], $size[1]);\"><input type=checkbox name=it_limg1_del value='1'>삭제";
|
||||
echo "<div id='limg1' style='left:0; top:0; z-index:+1; display:none; position:absolute;'><img src='".G4_DATA_URL."/item/{$it[it_id]}_l1' border=1></div>";
|
||||
}
|
||||
?>
|
||||
@ -755,11 +750,11 @@ if ($ii) {
|
||||
|
||||
<tr>
|
||||
<td>상품상단내용 <?=help("상품상세설명 페이지 상단에 출력하는 HTML 내용입니다.", -150);?></td>
|
||||
<td colspan=3 align=right style='padding-top:7px; padding-bottom:7px;'><?=cheditor2('it_head_html', $it[it_head_html]);?></td>
|
||||
<td colspan=3 align=right style='padding-top:7px; padding-bottom:7px;'><?=editor_html('it_head_html', $it['it_head_html']);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>상품하단내용 <?=help("상품상세설명 페이지 하단에 출력하는 HTML 내용입니다.", -150);?></td>
|
||||
<td colspan=3 align=right style='padding-top:7px; padding-bottom:7px;'><?=cheditor2('it_tail_html', $it[it_tail_html]);?></td>
|
||||
<td colspan=3 align=right style='padding-top:7px; padding-bottom:7px;'><?=editor_html('it_tail_html', $it['it_tail_html']);?></td>
|
||||
</tr>
|
||||
|
||||
<? if ($w == "u") { ?>
|
||||
@ -790,7 +785,20 @@ function codedupcheck(id)
|
||||
f.it_id.focus();
|
||||
return;
|
||||
}
|
||||
window.open("./codedupcheck.php?it_id="+id+"&frmname=fitemform", "hiddenframe");
|
||||
|
||||
$.post(
|
||||
"./codedupcheck.php",
|
||||
{ it_id: id },
|
||||
function(data) {
|
||||
if(data.name) {
|
||||
alert("코드 '"+data.code+"' 는 '".data.name+"' (으)로 이미 등록되어 있으므로\n\n사용하실 수 없습니다.");
|
||||
return false;
|
||||
} else {
|
||||
alert("'"+data.code+"' 은(는) 등록된 코드가 없으므로 사용하실 수 있습니다.");
|
||||
document.fcategoryform.codedup.value = '';
|
||||
}
|
||||
}, "json"
|
||||
);
|
||||
}
|
||||
|
||||
function fitemformcheck(f)
|
||||
@ -835,9 +843,9 @@ function fitemformcheck(f)
|
||||
}
|
||||
}
|
||||
|
||||
<?=cheditor3('it_explan')."\n";?>
|
||||
<?=cheditor3('it_head_html')."\n";?>
|
||||
<?=cheditor3('it_tail_html')."\n";?>
|
||||
<?=get_editor_js('it_explan');?>
|
||||
<?=get_editor_js('it_head_html');?>
|
||||
<?=get_editor_js('it_tail_html');?>
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?
|
||||
$sub_menu = '400650';
|
||||
include_once('./_common.php');
|
||||
include_once ("$g4[path]/lib/cheditor4.lib.php");
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "w");
|
||||
|
||||
@ -21,8 +21,6 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
$qstr = "page=$page&sort1=$sort1&sort2=$sort2";
|
||||
?>
|
||||
<script src="<?=$g4[cheditor4_path]?>/cheditor.js"></script>
|
||||
<?=cheditor1('is_content', '100%', '350');?>
|
||||
|
||||
<?//=subtitle($g4['title'])?>
|
||||
|
||||
@ -58,7 +56,7 @@ $qstr = "page=$page&sort1=$sort1&sort2=$sort2";
|
||||
<td>
|
||||
<!-- <?=textarea_size("is_content")?>
|
||||
<textarea id='is_content' name="is_content" rows="10" style='width:99%;' class=ed required itemname='내용'><? echo get_text($is[is_content]) ?></textarea> -->
|
||||
<?=cheditor2('is_content', $is['is_content']);?>
|
||||
<?=editor_html('is_content', $is['is_content']);?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height=25>
|
||||
@ -76,7 +74,7 @@ $qstr = "page=$page&sort1=$sort1&sort2=$sort2";
|
||||
<script>
|
||||
function fitemps_submit(f)
|
||||
{
|
||||
<? echo cheditor3('is_content'); ?>
|
||||
<? echo get_editor_js('is_content'); ?>
|
||||
|
||||
f.action="./itempsformupdate.php";
|
||||
return true;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?
|
||||
$sub_menu = '400720';
|
||||
include_once('./_common.php');
|
||||
include_once ("$g4[path]/lib/cheditor4.lib.php");
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "w");
|
||||
|
||||
@ -30,9 +30,6 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
<?//=subtitle($html_title)?>
|
||||
|
||||
<script src="<?=$g4[cheditor4_path]?>/cheditor.js"></script>
|
||||
<?=cheditor1('nw_content', '100%', '350');?>
|
||||
|
||||
<form name=frmnewwin method=post action="./newwinformupdate.php" onsubmit="return frmnewwin_check(this);" style="margin:0px;">
|
||||
<input type=hidden name=w value='<? echo $w ?>'>
|
||||
<input type=hidden name=nw_id value='<? echo $nw_id ?>'>
|
||||
@ -75,7 +72,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<input type=hidden name=nw_content_html value=1>
|
||||
<tr>
|
||||
<td>내용</td>
|
||||
<td colspan=3 style='padding-top:5px; padding-bottom:5px;'><?=cheditor2('nw_content', $nw[nw_content]);?></td>
|
||||
<td colspan=3 style='padding-top:5px; padding-bottom:5px;'><?=editor_html('nw_content', $nw['nw_content']);?></td>
|
||||
</tr>
|
||||
<tr><td colspan=4 height=1 bgcolor=CCCCCC></td></tr>
|
||||
</table>
|
||||
@ -91,7 +88,7 @@ function frmnewwin_check(f)
|
||||
errmsg = "";
|
||||
errfld = "";
|
||||
|
||||
<?=cheditor3('nw_content');?>
|
||||
<?=get_editor_js('nw_content');?>
|
||||
|
||||
check_field(f.nw_subject, "제목을 입력하세요.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user