Merge branch 'master' of github.com:gnuboard/g4s

This commit is contained in:
chicpro
2013-01-18 15:47:26 +09:00
21 changed files with 117 additions and 2808 deletions

View File

@ -89,8 +89,8 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
<fieldset id="bo_vc_winfo">
<legend class="sound_only">작성자</legend>
<? if ($is_guest) { ?>
<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>
<label for="wr_name">이름<strong class="sound_only">필수</strong></label> <input type="text" id="wr_name" name="wr_name" class="fieldset_input required" maxLength="20" size="5" required>
<label for="wr_password">패스워드<strong class="sound_only">필수</strong></label> <input type="password" id="wr_password" name="wr_password" class="fieldset_input required" maxLength="20" size="10" required>
<? } ?>
<input type="checkbox" id="wr_secret" name="wr_secret" value="secret">
<label for="wr_secret">비밀글</label>
@ -99,7 +99,7 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
<? if ($comment_min || $comment_max) { ?><strong id="char_cnt"><span id="char_count"></span>글자</strong><?}?>
<div id="bo_vc_warea">
<textarea id="wr_content" name="wr_content" required
<? if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?}?>><? echo $c_wr_content; ?></textarea>
<? if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?}?> title="댓글내용입력(필수)"><? echo $c_wr_content; ?></textarea>
<? if ($comment_min || $comment_max) { ?><script> check_byte('wr_content', 'char_count'); </script><?}?>
<input type="submit" class="bo_vc_submit" value="댓글입력">
</div>

View File

@ -52,14 +52,14 @@ echo $option_hidden;
<tbody>
<? if ($is_name) { ?>
<tr>
<th scope="row"><label for="wr_name">이름</label></th>
<th scope="row"><label for="wr_name">이름<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="wr_name" name="wr_name" class="frm_input required" size="10" maxlength="20" required value="<?=$name?>" title="이름"></td>
</tr>
<? } ?>
<? if ($is_password) { ?>
<tr>
<th scope="row"><label for="wr_password">패스워드</label></th>
<th scope="row"><label for="wr_password">패스워드<strong class="sound_only">필수</strong></label></th>
<td><input type="password" id="wr_password" name="wr_password" class="frm_input" maxlength="20" <?=$password_required?>></td>
</tr>
<? } ?>
@ -87,7 +87,7 @@ echo $option_hidden;
<? if ($is_category) { ?>
<tr>
<th scope="row"><label for="ca_name">분류</label></th>
<th scope="row"><label for="ca_name">분류<strong class="sound_only">필수</strong></label></th>
<td>
<select id="ca_name" name="ca_name" class="required" required>
<option value="">선택하세요</option>
@ -98,12 +98,12 @@ echo $option_hidden;
<? } ?>
<tr>
<th scope="row"><label for="wr_subject">제목</label></th>
<th scope="row"><label for="wr_subject">제목<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="wr_subject" name="wr_subject" class="frm_input required" size="50" required value="<?=$subject?>" title="제목"></td>
</tr>
<tr>
<th scope="row"><label for="wr_content">내용</label></th>
<th scope="row"><label for="wr_content">내용<strong class="sound_only">필수</strong></label></th>
<td><?=editor_html("wr_content", $content);?></td>
</tr>

View File

@ -7,5 +7,6 @@ $mb_id = escape_trim($_POST['reg_mb_id']);
if ($msg = empty_mb_email($mb_email)) die($msg);
if ($msg = valid_mb_email($mb_email)) die($msg);
if ($msg = prohibit_mb_email($mb_email)) die($msg);
if ($msg = exist_mb_email($mb_email, $mb_id)) die($msg);
?>

View File

@ -18,16 +18,16 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<tbody>
<? if (!$is_member) { ?>
<tr>
<th scope="row"><label for="fnick">이름</label></th>
<th scope="row"><label for="fnick">이름<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="fnick" name="fnick" class="frm_input required" required></td>
</tr>
<tr>
<th scope="row"><label for="fmail">E-mail</label></th>
<th scope="row"><label for="fmail">E-mail<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="fmail" name="fmail" class="frm_input required" required></td>
</tr>
<? } ?>
<tr>
<th scope="row"><label for="subject">제목</label></th>
<th scope="row"><label for="subject">제목<strong class="sound_only">필수</strong></label></th>
<td><input type=text id="subject" name="subject" class="frm_input required" required></td>
</tr>
<tr>
@ -39,7 +39,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
</td>
</tr>
<tr>
<th scope="row"><label for="content">내용</label></th>
<th scope="row"><label for="content">내용<strong class="sound_only">필수</strong></label></th>
<td><textarea id="content" name="content" class="required" required></textarea></td>
</tr>
<tr>

View File

@ -9,9 +9,9 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<input type="hidden" name="url" value='<?=$login_url?>'>
<fieldset>
<label for="login_id" class="login_id">회원아이디</label>
<label for="login_id" class="login_id">회원아이디<strong class="sound_only">필수</strong></label>
<input type="text" id="login_id" name="mb_id" class="fieldset_input" maxLength="20" size="20" required title="회원아이디">
<label for="login_pw" class="login_pw">패스워드</label>
<label for="login_pw" class="login_pw">패스워드<strong class="sound_only">필수</strong></label>
<input type="password" id="login_pw" class="fieldset_input" name="mb_password" maxLength="20" size="20" required title="패스워드">
<input type="submit" class="btn_submit" value="로그인">
<input type="checkbox" id="login_auto_login" name="auto_login">

View File

@ -19,8 +19,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
회원아이디
<span id="member_confirm_id"><?=$member[mb_id]?></span>
<label for="confirm_mb_password">패스워드</label>
<input type="password" id="confirm_mb_password" name="mb_password" class="fieldset_input" maxLength="20" size="15" required onkeypress="check_capslock('confirm_mb_password');">
<label for="confirm_mb_password">패스워드<strong class="sound_only">필수</strong></label>
<input type="password" id="confirm_mb_password" name="mb_password" class="fieldset_input" maxLength="20" size="15" required onkeypress="check_capslock('confirm_mb_password');" title="패스워드">
<input type="submit" id="btn_submit" class="fieldset_submit" value="확인">
</fieldset>
</form>

View File

@ -18,8 +18,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<input type="hidden" name="page" value="<?=$page?>">
<fieldset>
<label for="password_wr_password">패스워드</label>
<input type="password" id="password_wr_password" name="wr_password" class="fieldset_input required" maxLength="20" size="15" required>
<label for="password_wr_password">패스워드<strong class="sound_only">필수</strong></label>
<input type="password" id="password_wr_password" name="wr_password" class="fieldset_input required" maxLength="20" size="15" required title="패스워드">
<input type="submit" class="fieldset_submit" value="확인">
</fieldset>

View File

@ -12,7 +12,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
회원가입 시 등록하신 이메일 주소를 입력해 주세요.<br>
해당 이메일로 아이디와 패스워드 정보를 보내드립니다.
</p>
<label for="mb_email">E-mail 주소</label>
<label for="mb_email">E-mail 주소<strong class="sound_only">필수</strong></label>
<input type="text" id="mb_email" name="mb_email" class="fieldset_input email" required size="30" title="E-mail 주소">
</fieldset>
<?=captcha_html(); ?>

View File

@ -8,9 +8,9 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<form name="foutlogin" method="post" action="<?=$outlogin_action_url?>" onsubmit="return fhead_submit(this);" autocomplete="off">
<fieldset>
<input type="hidden" name="url" value="<?=$outlogin_url?>">
<label for="ol_id" id="ol_idlabel">회원아이디</label>
<label for="ol_id" id="ol_idlabel">회원아이디<strong class="sound_only">필수</strong></label>
<input type="text" id="ol_id" name="mb_id" maxlength="20" required title="회원아이디">
<label for="ol_pw" id="ol_pwlabel">패스워드</label>
<label for="ol_pw" id="ol_pwlabel">패스워드<strong class="sound_only">필수</strong></label>
<input type="password" id="ol_pw" name="mb_password" maxlength="20" required title="패스워드">
<input type="submit" id="ol_submit" value="로그인">
<div id="ol_auto">