ckeditor 로 변경
This commit is contained in:
@ -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, "제목을 입력하세요.");
|
||||
|
||||
Reference in New Issue
Block a user