사용자: 게시판스킨 에디터 미사용 시 내용 입력 높이 조절

This commit is contained in:
whitedot
2013-10-02 11:53:17 +09:00
parent a31d0d9961
commit d4da2fbd06
3 changed files with 253 additions and 248 deletions

View File

@ -66,7 +66,7 @@
#bo_w .frm_tbl th {width:100px;padding:7px 13px;border:1px solid #e9e9e9;border-left:0;background:#f7f7f7;text-align:left} #bo_w .frm_tbl th {width:100px;padding:7px 13px;border:1px solid #e9e9e9;border-left:0;background:#f7f7f7;text-align:left}
#bo_w .frm_tbl td {padding:7px 10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent} #bo_w .frm_tbl td {padding:7px 10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent}
#bo_w .frm_tbl textarea, #bo_w .frm_input {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7f7f7;color:#000;vertical-align:middle} #bo_w .frm_tbl textarea, #bo_w .frm_input {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7f7f7;color:#000;vertical-align:middle}
#bo_w .frm_tbl textarea {width:98%;height:100px} #bo_w .frm_tbl textarea {width:98%;height:200px}
#bo_w .frm_address {display:block;margin-top:5px} #bo_w .frm_address {display:block;margin-top:5px}
#bo_w .frm_file {display:block;margin-bottom:5px} #bo_w .frm_file {display:block;margin-bottom:5px}
#bo_w .frm_tbl #captcha {margin:0;padding:0;border:0;background:transparent} #bo_w .frm_tbl #captcha {margin:0;padding:0;border:0;background:transparent}

View File

@ -50,7 +50,7 @@
#bo_w .frm_tbl th {width:100px;padding:7px 13px;border:1px solid #e9e9e9;border-left:0;background:#f7f7f7;text-align:left} #bo_w .frm_tbl th {width:100px;padding:7px 13px;border:1px solid #e9e9e9;border-left:0;background:#f7f7f7;text-align:left}
#bo_w .frm_tbl td {padding:7px 10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent} #bo_w .frm_tbl td {padding:7px 10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent}
#bo_w .frm_tbl textarea, #bo_w .frm_input {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7f7f7;color:#000;vertical-align:middle} #bo_w .frm_tbl textarea, #bo_w .frm_input {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7f7f7;color:#000;vertical-align:middle}
#bo_w .frm_tbl textarea {width:98%;height:100px} #bo_w .frm_tbl textarea {width:98%;height:200px}
#bo_w .frm_address {display:block;margin-top:5px} #bo_w .frm_address {display:block;margin-top:5px}
#bo_w .frm_file {display:block;margin-bottom:5px} #bo_w .frm_file {display:block;margin-bottom:5px}
#bo_w .frm_tbl #captcha {margin:0;padding:0;border:0;background:transparent} #bo_w .frm_tbl #captcha {margin:0;padding:0;border:0;background:transparent}

View File

@ -4,10 +4,12 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<link rel="stylesheet" href="<?php echo $board_skin_url ?>/style.css"> <link rel="stylesheet" href="<?php echo $board_skin_url ?>/style.css">
<section id="bo_w">
<h2 id="wrapper_title"><?php echo $g5['title'] ?></h2> <h2 id="wrapper_title"><?php echo $g5['title'] ?></h2>
<!-- 게시물 작성/수정 시작 { --> <!-- 게시물 작성/수정 시작 { -->
<form name="fwrite" id="fwrite" action="<?php echo $action_url ?>" onsubmit="return fwrite_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off" style="width:<?php echo $width; ?>"> <form name="fwrite" id="fwrite" action="<?php echo $action_url ?>" onsubmit="return fwrite_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off" style="width:<?php echo $width; ?>">
<input type="hidden" name="uid" value="<?php echo get_uniqid(); ?>">
<input type="hidden" name="w" value="<?php echo $w ?>"> <input type="hidden" name="w" value="<?php echo $w ?>">
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>"> <input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
<input type="hidden" name="wr_id" value="<?php echo $wr_id ?>"> <input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
@ -51,7 +53,7 @@ if ($is_notice || $is_html || $is_secret || $is_mail) {
echo $option_hidden; echo $option_hidden;
?> ?>
<table id="bo_w" class="frm_tbl"> <table class="frm_tbl">
<tbody> <tbody>
<?php if ($is_name) { ?> <?php if ($is_name) { ?>
<tr> <tr>
@ -103,6 +105,7 @@ echo $option_hidden;
<tr> <tr>
<th scope="row"><label for="wr_subject">제목<strong class="sound_only">필수</strong></label></th> <th scope="row"><label for="wr_subject">제목<strong class="sound_only">필수</strong></label></th>
<td> <td>
<div id="autosave_wrapper">
<input type="text" name="wr_subject" value="<?php echo $subject ?>" id="wr_subject" required class="frm_input required" size="50" maxlength="255"> <input type="text" name="wr_subject" value="<?php echo $subject ?>" id="wr_subject" required class="frm_input required" size="50" maxlength="255">
<?php if ($is_member) { // 임시 저장된 글 기능 ?> <?php if ($is_member) { // 임시 저장된 글 기능 ?>
<script src="<?php echo G5_JS_URL; ?>/autosave.js"></script> <script src="<?php echo G5_JS_URL; ?>/autosave.js"></script>
@ -114,6 +117,7 @@ echo $option_hidden;
<div><button type="button" class="autosave_close"><img src="<?php echo $board_skin_url; ?>/img/btn_close.gif" alt="닫기"></button></div> <div><button type="button" class="autosave_close"><img src="<?php echo $board_skin_url; ?>/img/btn_close.gif" alt="닫기"></button></div>
</div> </div>
<?php } ?> <?php } ?>
</div>
</td> </td>
</tr> </tr>
@ -260,4 +264,5 @@ function fwrite_submit(f)
return true; return true;
} }
</script> </script>
</section>
<!-- } 게시물 작성/수정 끝 --> <!-- } 게시물 작성/수정 끝 -->