mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 04:39:55 +09:00
XE 로그인 정보 위젯의 오픈아이디와 일반로그인폼을 합쳐서 DHTML로 처리
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2250 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b1c00fb771
commit
dd4c35cc35
4 changed files with 30 additions and 5 deletions
|
|
@ -37,3 +37,6 @@ img.login_mask { width:201px; height:5px; background:#3d3d3d; display:block;}
|
|||
#openid_login form .idpw p { margin-bottom:5px; background: url(../images/openid_login_bg.gif) left no-repeat; padding-left:18px; font-size:.9em Tahoma;color:#999999}
|
||||
#openid_login form .idpw input { border:1px solid #6b6b6b; color:#cbcbcb; width:105px; background:#515151; padding:1px 5px; margin-bottom:2px; font:.9em Tahoma;}
|
||||
#openid_login form .login { float:right;}
|
||||
#openid_login form p.save { clear:both; padding:.3em 0;}
|
||||
#openid_login form p.save input { vertical-align:middle; _margin:-3px;}
|
||||
*:first-child+html body #openid_login form p input { margin:-3px; }
|
||||
|
|
|
|||
|
|
@ -36,3 +36,7 @@ img.login_mask { width:201px; height:5px; background:#ffffff; display:block;}
|
|||
#openid_login form .idpw p { margin-bottom:5px; background: url(../images/openid_login_bg.gif) left no-repeat; padding-left:18px; font-size:.9em Tahoma;color:#999999}
|
||||
#openid_login form .idpw input { border:1px solid #c9c9c9; color:#282828; width:105px; background:#fbfbfb; padding:1px 5px; margin-bottom:2px; font:.9em Tahoma; }
|
||||
#openid_login form .login { float:right;}
|
||||
#openid_login form p.save { clear:both; padding:.3em 0;}
|
||||
#openid_login form p.save input { vertical-align:middle; _margin:-3px;}
|
||||
*:first-child+html body #openid_login form p input { margin:-3px; }
|
||||
#openid_login form p.save label { font:.9em "돋움", Dotum, "굴림", Gulim, AppleGothic, Sans-serif; color:#999999;}
|
||||
|
|
|
|||
|
|
@ -32,5 +32,16 @@ function completeOpenIDLogin(ret_obj, response_tags) {
|
|||
location.href = redirect_url;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* 오픈 아이디 폼 변환 */
|
||||
function toggleLoginForm(obj) {
|
||||
if(xGetElementById('login').style.display != "none") {
|
||||
xGetElementById('login').style.display = "none";
|
||||
xGetElementById('openid_login').style.display = "block";
|
||||
xGetElementById('use_open_id_2').checked = true;
|
||||
} else {
|
||||
xGetElementById('openid_login').style.display = "none";
|
||||
xGetElementById('login').style.display = "block";
|
||||
xGetElementById('use_open_id').checked = false;
|
||||
xGetElementById('use_open_id_2').checked = false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,8 +24,12 @@
|
|||
</div>
|
||||
<p class="save">
|
||||
<input name="remember_user_id" id="chk_remember_user_id" type="checkbox" value="Y" />
|
||||
|
||||
<label for="chk_remember_user_id">{$lang->remember_user_id}</label>
|
||||
|
||||
<!--@if($member_config->enable_openid=='Y')-->
|
||||
<input name="use_open_id" id="use_open_id" type="checkbox" value="Y" onclick="toggleLoginForm(this); return false;"/>
|
||||
<label for="use_open_id">Open ID</label>
|
||||
<!--@end-->
|
||||
</p>
|
||||
<ul class="help">
|
||||
<li class="first-child"><a href="{getUrl('act','dispMemberSignUpForm')}">{$lang->cmd_signup}</a></li>
|
||||
|
|
@ -36,8 +40,7 @@
|
|||
|
||||
<!-- OpenID -->
|
||||
<!--@if($member_config->enable_openid=='Y')-->
|
||||
<img src="./images/blank.gif" alt="" class="login_mask" />
|
||||
<fieldset id="openid_login">
|
||||
<fieldset id="openid_login" style="display:none;">
|
||||
<legend>{$lang->cmd_login}</legend>
|
||||
<form action="./" method="post" onsubmit="return procFilter(this, openid_login)" >
|
||||
<div class="idpwWrap">
|
||||
|
|
@ -47,6 +50,10 @@
|
|||
</div>
|
||||
<input type="image" src="./images/{$colorset}/buttonLogin.gif" alt="login" class="login" />
|
||||
</div>
|
||||
<p class="save">
|
||||
<input name="use_open_id" id="use_open_id_2" type="checkbox" value="Y" onclick="toggleLoginForm(this); return false;"/>
|
||||
<label for="use_open_id_2">Open ID</label>
|
||||
</p>
|
||||
</form>
|
||||
</fieldset>
|
||||
<!--@end-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue