묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
1.5이상에서 레이어 방식 로그인에서 이메일 입력 오류날때
2012.08.10 06:24
게시판을 검색해보니 방식이 1.4버전이라 안되는거라고 하는데
그렇다면 다음 소스를 수정하면 가능할 수 있지 않을까요?...
하지만 문외한이라 어디를 어떻게 손을 대야 할지 모르겠네요.
단순히 user_id를 email로 바꾸는것만으로는 되지 않는것 같습니다.
<!--@if(!$is_logged)-->
{@ $member_config = MemberModel::getMemberConfig(); }
<!--%import("./filter/login.xml")-->
<!--@if($member_config->enable_openid=='Y')--><!--%import("./filter/openid_login.xml")--><!--@end-->
<!-- loginWindow -->
<div id="loginWindow" class="loginWindow">
<!-- class="loginWindow" | class="loginWindow open" -->
<span class="modalWindow"></span>
<div id="loginLayer" class="loginLayer loginTypeA">
<button type="button" class="close" onclick="document.getElementById('loginWindow').style.display='none'" accesskey="X"><span>Close Login Layer</span></button>
<h3><img src="images/login_title.gif" alt="login" /></h3>
<form action="" method="post" class="typeA" id="commonLogin" onsubmit="return procFilter(this, login)">
<fieldset>
<legend>XE Login</legend>
<dl>
<dt><label for="user_id">{$lang->User_id}</label></dt>
<dd><input name="user_id" type="text" class="inputText" id="user_id" /></dd>
<dt><label for="upw">{$lang->password}</label></dt>
<dd><input name="password" type="password" class="inputText" id="upw" /></dd>
</dl>
<!--p class="keep"><input name="keep_signed" type="checkbox" id="keepA" value="Y" class="inputCheck" onclick="if(this.checked) return confirm('{$lang->about_keep_signed}');"/><label for="keepA">{$lang->keep_signed}</label></p-->
<span class="loginButton"><input name="" type="submit" value="" /></span>
</fieldset>
</form>
<!--@if($member_config->enable_openid=='Y')-->
<form action="./" method="post" class="typeB" id="openidLogin" onsubmit="return procFilter(this, openid_login)">
<fieldset>
<legend>OpenID Login</legend>
<dl>
<dt><label for="oid">Open ID</label></dt>
<dd><input name="openid" type="text" class="inputText" id="oid" /></dd>
</dl>
<span class="loginButton"><input name="" type="submit" value="" alt="로그인" /></span>
</fieldset>
</form>
<!--@end-->
<ul class="help">
<li class="join"><a href="{getUrl('mid',$layout_info->member_url,'act','dispMemberSignUpForm')}">{$lang->cmd_signup}</a></li>
<li>|</li>
<li class="find"><a href="{getUrl('mid',$layout_info->member_url,'act','dispMemberFindAccount')}">{$lang->cmd_find_member_account}</a></li>
<li>|</li>
<li class="find"><a href="{getUrl('mid',$layout_info->member_url,'act','dispMemberResendAuthMail')}">{$lang->cmd_resend_auth_mail}</a></li>
<!--@if($member_config->enable_openid=='Y')-->
<li class="typeA"><a href="#openidLogin" onclick="document.getElementById('loginLayer').className='loginLayer loginTypeB'">OpenID</a></li>
<li class="typeB"><a href="#commonLogin" onclick="document.getElementById('loginLayer').className='loginLayer loginTypeA'">OpenID</a></li>
<!--@end-->
</ul>
<button type="button" class="close" onclick="document.getElementById('loginWindow').style.display='none'" accesskey="X"><span>Close Login Layer</span></button>
</div>
</div>
<!-- /loginWindow -->
<!--@end-->