5.3 버전 내용 적용
This commit is contained in:
@ -5,25 +5,26 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$outlogin_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
<!-- 로그인 전 아웃로그인 시작 { -->
|
||||
<section id="ol_before" class="ol">
|
||||
<h2>회원로그인</h2>
|
||||
<!-- 로그인 전 외부로그인 시작 -->
|
||||
<form name="foutlogin" action="<?php echo $outlogin_action_url; ?>" onsubmit="return fhead_submit(this);" method="post" autocomplete="off">
|
||||
<form name="foutlogin" action="<?php echo $outlogin_action_url ?>" onsubmit="return fhead_submit(this);" method="post" autocomplete="off">
|
||||
<fieldset>
|
||||
<input type="hidden" name="url" value="<?php echo $outlogin_url; ?>">
|
||||
<label for="ol_id" id="ol_idlabel">회원아이디<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" id="ol_id" name="mb_id" required class="required" maxlength="20">
|
||||
<label for="ol_pw" id="ol_pwlabel">비밀번호<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="password" name="mb_password" id="ol_pw" required class="required" maxlength="20">
|
||||
<input type="submit" id="ol_submit" value="로그인">
|
||||
<div id="ol_svc">
|
||||
<a href="<?php echo G5_BBS_URL; ?>/register.php"><b>회원가입</b></a>
|
||||
<a href="<?php echo G5_BBS_URL; ?>/password_lost.php" id="ol_password_lost">정보찾기</a>
|
||||
</div>
|
||||
<input type="hidden" name="url" value="<?php echo $outlogin_url ?>">
|
||||
<label for="ol_id" id="ol_idlabel" class="sound_only">회원아이디<strong>필수</strong></label>
|
||||
<input type="text" id="ol_id" name="mb_id" required class="required frm_input" maxlength="20" placeholder="아이디">
|
||||
<label for="ol_pw" id="ol_pwlabel" class="sound_only">비밀번호<strong>필수</strong></label>
|
||||
<input type="password" name="mb_password" id="ol_pw" required class="required frm_input" maxlength="20" placeholder="비밀번호">
|
||||
<div id="ol_auto">
|
||||
<input type="checkbox" name="auto_login" value="1" id="auto_login">
|
||||
<label for="auto_login" id="auto_login_label">자동로그인</label>
|
||||
</div>
|
||||
<input type="submit" id="ol_submit" value="로그인" class="btn_b02">
|
||||
<div id="ol_svc">
|
||||
<a href="<?php echo G5_BBS_URL ?>/register.php"><b>회원가입</b></a> /
|
||||
<a href="<?php echo G5_BBS_URL ?>/password_lost.php" id="ol_password_lost">정보찾기</a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</section>
|
||||
@ -37,20 +38,6 @@ $omp_label = $('#ol_pwlabel');
|
||||
$omp_label.addClass('ol_pwlabel');
|
||||
|
||||
$(function() {
|
||||
$omi.focus(function() {
|
||||
$omi_label.css('visibility','hidden');
|
||||
});
|
||||
$omp.focus(function() {
|
||||
$omp_label.css('visibility','hidden');
|
||||
});
|
||||
$omi.blur(function() {
|
||||
$this = $(this);
|
||||
if($this.attr('id') == "ol_id" && $this.attr('value') == "") $omi_label.css('visibility','visible');
|
||||
});
|
||||
$omp.blur(function() {
|
||||
$this = $(this);
|
||||
if($this.attr('id') == "ol_pw" && $this.attr('value') == "") $omp_label.css('visibility','visible');
|
||||
});
|
||||
|
||||
$("#auto_login").click(function(){
|
||||
if ($(this).is(":checked")) {
|
||||
@ -65,4 +52,4 @@ function fhead_submit(f)
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<!-- 로그인 전 외부로그인 끝 -->
|
||||
<!-- } 로그인 전 아웃로그인 끝 -->
|
||||
|
||||
Reference in New Issue
Block a user