#5 required 처리 안된 부분 수정

This commit is contained in:
nemoluv
2013-09-30 17:50:00 +09:00
parent 7db2f889b1
commit 5a6b84a924
3 changed files with 5 additions and 2 deletions

3
.gitignore vendored
View File

@ -14,3 +14,6 @@ nemoluv*
cheditor*
*.key
*.sh
kcho07_rss/
mobile/skin/board/bach72_mobile/
skin/board

View File

@ -53,7 +53,7 @@ include_once('./admin.head.php');
<tbody>
<tr>
<th scope="row"><label for="gr_id">그룹 ID<?php echo $sound_only ?></label></th>
<td><input type="text" name="gr_id" value="<?php echo $group['gr_id'] ?>" id="gr_id" class="<?php echo $gr_id_attr ?> alnum_ frm_input" maxlength="10">
<td><input type="text" name="gr_id" value="<?php echo $group['gr_id'] ?>" id="gr_id" required class="<?php echo $gr_id_attr ?> alnum_ frm_input" maxlength="10">
<?php
if ($w=='')
echo '영문자, 숫자, _ 만 가능 (공백없이)';

View File

@ -186,7 +186,7 @@ function captcha_html($class='captcha')
if (G5_IS_MOBILE) $html .= '<audio src="'.$mp3_file_url.'?_='.$rand.'" controls></audio>';
$html .= '<img src="'.$jpg_file_url.'?_='.$rand.'" alt="자동등록방지 숫자">';
if (!G5_IS_MOBILE) $html .= '<a href="'.$mp3_file_url.'?_='.$rand.'" id="captcha_mp3" target="_blank"><img src="'.G5_GCAPTCHA_URL.'/img/sound.gif" alt="숫자를 음성으로 듣기"></a>';
$html .= '<input type="text" id="captcha_key" name="captcha_key" class="captcha_box frm_input" size="6" maxlength="6" required title="자동등록방지 숫자 입력">';
$html .= '<input type="text" id="captcha_key" name="captcha_key" class="captcha_box frm_input required" size="6" maxlength="6" required title="자동등록방지 숫자 입력">';
$html .= '<p class="sound_only">자동등록방지 숫자를 순서대로 입력하세요.</p>';
$html .= '</fieldset>';
return $html;