<?
if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor4.lib.php");
echo "<script src='$g4[cheditor4_path]/cheditor.js'></script>";
echo cheditor1('wr_content', '100%', '400');
}
?>
<?=cheditor2('wr_content', $content);?>
이것이 기본으로 들어가 있는 소스 입니다.
한개를 더 쓰려면 어떻게 해야 하나요?
그냥 단순히 한개를 추가하면 안되던데요.. wr_10 필드를 이용해서 사용하려고 합니다.
고수님들 부탁 드립니다.
if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor4.lib.php");
echo "<script src='$g4[cheditor4_path]/cheditor.js'></script>";
echo cheditor1('wr_content', '100%', '400');
}
?>
<?=cheditor2('wr_content', $content);?>
이것이 기본으로 들어가 있는 소스 입니다.
한개를 더 쓰려면 어떻게 해야 하나요?
그냥 단순히 한개를 추가하면 안되던데요.. wr_10 필드를 이용해서 사용하려고 합니다.
고수님들 부탁 드립니다.
댓글 2개
Write.skin.php
상단추가
echo cheditor1('wr_content', '90%', '80'); // 기존
echo cheditor1('wr_9', '90%', '80'); // 추가 wr_9 이용시
내용부분 추가
<? if ($is_dhtml_editor) { ?>
<?=cheditor2('wr_9', $write[wr_9]);?>
<? } else { ?>
<table width=90% cellpadding=0 cellspacing=0>
<tr>
<td width=100% align=left valign=bottom>
<span style="cursor: pointer;" onclick="textarea_decrease('wr_9', 3);"><img src="<?=$board_skin_path?>/img/up.gif"></span>
<span style="cursor: pointer;" onclick="textarea_original('wr_9', 3);"><img src="<?=$board_skin_path?>/img/start.gif"></span>
<span style="cursor: pointer;" onclick="textarea_increase('wr_9', 3);"><img src="<?=$board_skin_path?>/img/down.gif"></span></td>
<td width=100% align=right><? if ($write_min || $write_max) { ?><span id=char_count></span>글자<?}?></td>
</tr>
</table>
<textarea id=wr_9 name=wr_9 class=tx style='width:90%; word-break:break-all;' rows=5 itemname="내용이외표현"
<? if ($write_min || $write_max) { ?>onkeyup="check_byte('wr_9', 'char_count');"<?}?>><?=$write[wr_9]?></textarea>
<? if ($write_min || $write_max) { ?><script language="javascript"> check_byte('wr_9', 'char_count'); </script><?}?>
<? } ?>
펑션 부분 추가
<?
if ($is_dhtml_editor) echo cheditor3('wr_content');
if ($is_dhtml_editor) echo cheditor3('wr_9');
?>
상단추가
echo cheditor1('wr_content', '90%', '80'); // 기존
echo cheditor1('wr_9', '90%', '80'); // 추가 wr_9 이용시
내용부분 추가
<? if ($is_dhtml_editor) { ?>
<?=cheditor2('wr_9', $write[wr_9]);?>
<? } else { ?>
<table width=90% cellpadding=0 cellspacing=0>
<tr>
<td width=100% align=left valign=bottom>
<span style="cursor: pointer;" onclick="textarea_decrease('wr_9', 3);"><img src="<?=$board_skin_path?>/img/up.gif"></span>
<span style="cursor: pointer;" onclick="textarea_original('wr_9', 3);"><img src="<?=$board_skin_path?>/img/start.gif"></span>
<span style="cursor: pointer;" onclick="textarea_increase('wr_9', 3);"><img src="<?=$board_skin_path?>/img/down.gif"></span></td>
<td width=100% align=right><? if ($write_min || $write_max) { ?><span id=char_count></span>글자<?}?></td>
</tr>
</table>
<textarea id=wr_9 name=wr_9 class=tx style='width:90%; word-break:break-all;' rows=5 itemname="내용이외표현"
<? if ($write_min || $write_max) { ?>onkeyup="check_byte('wr_9', 'char_count');"<?}?>><?=$write[wr_9]?></textarea>
<? if ($write_min || $write_max) { ?><script language="javascript"> check_byte('wr_9', 'char_count'); </script><?}?>
<? } ?>
펑션 부분 추가
<?
if ($is_dhtml_editor) echo cheditor3('wr_content');
if ($is_dhtml_editor) echo cheditor3('wr_9');
?>
게시글 목록
| 번호 | 제목 |
|---|---|
| 284438 | |
| 284437 | |
| 284435 | |
| 284430 | |
| 284420 | |
| 284417 | |
| 284409 | |
| 284401 | |
| 284399 | |
| 284397 | |
| 284380 | |
| 284378 | |
| 284371 | |
| 284370 | |
| 284366 | |
| 284364 | |
| 284360 | |
| 284357 | |
| 284355 | |
| 284354 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기