diff --git a/skin/board/neo/write.skin.php b/skin/board/neo/write.skin.php
index 704b56ed9..c3c947ce2 100644
--- a/skin/board/neo/write.skin.php
+++ b/skin/board/neo/write.skin.php
@@ -112,55 +112,27 @@ if ($option) {
|
- =editor_textarea("wr_content", $content);?>
+
if ($write_min || $write_max) { ?>글자}?>
if ($write_min || $write_max) { ?>}?>
|
- if ($is_link) { ?>
- for ($i=1; $i<=$g4['link_count']; $i++) { ?>
+ for ($i=1; $is_link && $i<=$g4['link_count']; $i++) { ?>
|
"> |
} ?>
- } ?>
- if ($is_file) { ?>
+ for ($i=1; $is_file && $i<=$file_count; $i++) { ?>
- | 파일 #1 |
-
-
-
- |
-
-
- | 파일 #2 |
-
-
-
- |
-
-
- | 파일 #3 |
-
-
-
- |
-
-
- | 파일 #4 |
-
-
-
- |
-
-
- | 파일 #5 |
+ 파일 #=$i?> |
+ if ($is_file_content) { ?>
+ }?>
|
}?>
@@ -168,9 +140,7 @@ if ($option) {
-
-echo run_captcha();
-?>
+=$captcha_html?>
@@ -253,14 +223,13 @@ function fwrite_submit(f)
}
*/
-
- echo chk_editor("wr_content");
- ?>
+ echo editor_getdata("wr_content"); ?>
+ echo editor_empty("wr_content"); ?>
var subject = "";
var content = "";
$.ajax({
- url: bbs_path+"/filter.ajax.php",
+ url: g4_bbs_path+"/filter.ajax.php",
type: "POST",
data: {
"subject": f.wr_subject.value,
@@ -290,9 +259,7 @@ function fwrite_submit(f)
return false;
}
-
- echo chk_js_captcha();
- ?>
+ if (defined('_CAPTCHA_')) echo captcha_js('f.wr_key'); ?>
return true;
}