겸손한 javascript 로 수정중

This commit is contained in:
gnuboard
2013-01-14 17:25:50 +09:00
parent 49036302da
commit 39cafe9ffc
19 changed files with 649 additions and 772 deletions

View File

@ -4,36 +4,24 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<h1>아이디/패스워드 찾기</h1>
<form name="fpasswordlost" method="post" onsubmit="return fpasswordlost_submit(this);" autocomplete="off">
<form name="fpasswordlost" method="post" action="<?=$action_url?>" onsubmit="return fpasswordlost_submit(this);" autocomplete="off">
<fieldset>
<legend>이메일 주소 입력</legend>
<p>회원가입 시 등록하신 이메일 주소를 입력해 주시면, 해당 이메일로 아이디와 패스워드 정보를 보내드립니다.</p>
<label for="mb_email">이메일 주소</label>
<input type="text" id="mb_email" name="mb_email" required size="45">
<img id="kcaptcha_image">
<input type="text" name="wr_key" size="10" required>
<label for="mb_email">E-mail 주소</label>
<input type="text" id="mb_email" name="mb_email" class="email" required size="45" title="E-mail 주소">
</fieldset>
<? echo captcha_html(); ?>
<div class="btn_confirm">
<input type="submit" value="확인">
<a href="javascript:window.close();">창닫기</a>
</div>
</form>
<script src="<?="$g4[path]/js/md5.js"?>"></script>
<script src="<?="$g4[path]/js/jquery.kcaptcha.js"?>"></script>
<script>
function fpasswordlost_submit(f)
{
if (!check_kcaptcha(f.wr_key)) {
return false;
}
<?
if ($g4[https_url])
echo "f.action = '$g4[https_url]/$g4[bbs]/password_lost2.php';";
else
echo "f.action = './password_lost2.php';";
?>
<? echo chk_captcha_js(); ?>
return true;
}