코드 정리
This commit is contained in:
@ -59,7 +59,7 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="" style="width:200px;">내용</label></th>
|
||||
<td><?php echo editor_html('is_content', $use['is_content']); ?></td>
|
||||
<td><?php echo editor_html('is_content', get_text($use['is_content'])); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">평가</th>
|
||||
@ -106,21 +106,6 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
<script type="text/javascript">
|
||||
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'); ?>
|
||||
|
||||
if (is_content_editor_data.length > <?php echo $is_content_max_length; ?>) {
|
||||
|
||||
Reference in New Issue
Block a user