사용자: 게시판스킨 댓글쓰기 캡챠 스타일 설정

This commit is contained in:
whitedot
2013-01-10 18:21:42 +09:00
parent 376db26265
commit 4f23caddbf
3 changed files with 10 additions and 8 deletions

View File

@ -14,12 +14,12 @@ p {margin:5px 0;padding:10px 0;line-height:1.5em}
hr {display:none}
/* 웹접근성 스킬 */
.sound_only {display:inline-block;margin:0;padding:0;width:0;height:0;overflow:hidden}
.sound_only {display:inline-block;margin:0;padding:0;width:0;height:0;border:0;overflow:hidden}
/* 자동등록방지 */
.captcha {display:inline-block;vertical-align:middle}
.captcha label {display:inline-block;margin:0;padding:0;width:0;height:0;overflow:hidden}
.captcha iframe {margin:0;padding:0;width:80px;height:25px;border:0;overflow:hidden}
#captcha_iframe {display:inline-block;margin:0;padding:0;width:80px;height:25px;border:0;vertical-align:middle;overflow:hidden}
/* 기본테이블 */
table {margin-bottom:20px;width:100%;border-collapse:collapse;border-spacing:0}
@ -345,8 +345,10 @@ a {color:#000;text-decoration:none}
.bo_vc_info dt {float:left}
.bo_vc_info dd {float:left;margin:0 15px 0 10px}
#bo_vc p {padding:0;font-size:0.75em}
#bo_vc fieldset {margin:0;padding:0;border:0;border-top:1px solid #ddd;background:transparent;font-size:0.75em}
#bo_vc #captcha_comment {border:0;font-size:1em !important}
#bo_vc fieldset {margin:0;padding:5px 0 0;border:0;border-top:1px solid #ddd;background:transparent;font-size:0.75em}
#bo_vc .captcha {padding:0;border:0;font-size:1em !important}
#bo_vc .captcha a {display:inline-block;margin-right:5px;text-decoration:underline}
#bo_vc .fieldset_input {margin-right:5px;vertical-align:top}
#bo_vc footer {zoom:1}
#bo_vc footer:after {display:block;visibility:hidden;clear:both;content:""}
.bo_vc_act {float:right;margin:0;font-size:0.75em;list-style:none;zoom:1}

View File

@ -147,11 +147,11 @@ function captcha_html($input_name, $captcha_id_suffix='')
$html = '<fieldset id="captcha'.$captcha_id_suffix.'" class="captcha">';
$html .= '<legend class="sound_only">자동등록방지</legend>';
//$html .= '<img src="" id="captcha" alt="자동등록방지 이미지" title="이미지를 클릭하시면 숫자가 바뀝니다.">';
$html .= '<iframe id="captcha_iframe" name="captcha_iframe" src="'.$g4['path'].'/plugin/captcha/run.php" title="자동등록방지숫자"></iframe>';
$html .= '<iframe id="captcha_iframe" name="captcha_iframe" src="'.$g4['path'].'/plugin/captcha/run.php" scrolling="no" marginwidth="0" marginheight="0" title="자동등록방지숫자"></iframe>';
$html .= '<a href="'.$g4['path'].'/plugin/captcha/run.php" target="captcha_iframe">새로고침</a>';
$html .= '<a href="'.$g4['path'].'/plugin/captcha/wav.php" id="captcha_wav">음성듣기</a>';
$html .= '<label for="captcha_key">자동등록방지 입력</label>';
$html .= '<input type="text" id="captcha_key" name="'.$input_name.'" class="captcha_box fieldset_input" size="10" maxlength="5" required title="자동등록방지 입력">';
$html .= '<input type="text" id="captcha_key" name="'.$input_name.'" class="captcha_box fieldset_input" size="5" maxlength="5" required title="자동등록방지 입력">';
$html .= '<p class="sound_only">이미지의 숫자를 순서대로 입력하세요. 새로고침을 클릭하시면 새로운 숫자가 나타납니다.</p>';
$html .= '</fieldset>';
return $html;

View File

@ -73,8 +73,8 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
<h2>댓글쓰기</h2>
<fieldset>
<? if ($is_guest) { ?>
<label for="wr_name">이름</label> <input type="text" id="wr_name" name="wr_name" class="fieldset_input" maxLength="20" size="10" required>
<label for="wr_password">패스워드</label> <input type="password" id="wr_password" name="wr_password" class="fieldset_input" maxLength="20" size="10" required>
<label for="wr_name">이름</label> <input type="text" id="wr_name" name="wr_name" class="fieldset_input required" maxLength="20" size="5" required>
<label for="wr_password">패스워드</label> <input type="password" id="wr_password" name="wr_password" class="fieldset_input required" maxLength="20" size="10" required>
<? echo $captcha_html; ?>
<? } ?>
<input type="checkbox" id="wr_secret" name="wr_secret" value="secret">