mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
모바일 페이지에서 로그인이 되지 않는 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7717 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f7e202d472
commit
4e461986e4
4 changed files with 11 additions and 34 deletions
|
|
@ -3,8 +3,5 @@
|
|||
<node target="openid" required="true" />
|
||||
</form>
|
||||
<parameter />
|
||||
<response callback_func="completeMessageOpenIDLogin">
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
</response>
|
||||
<response />
|
||||
</filter>
|
||||
|
|
|
|||
|
|
@ -1,25 +0,0 @@
|
|||
/* 로그인 후 */
|
||||
function completeMessageLogin(ret_obj, response_tags, params, fo_obj) {
|
||||
var url = current_url.setQuery('act','');
|
||||
location.href = url;
|
||||
}
|
||||
/* 오픈아이디 로그인 후 */
|
||||
function completeMessageOpenIDLogin(ret_obj, response_tags) {
|
||||
var redirect_url = ret_obj['redirect_url'];
|
||||
location.href = redirect_url;
|
||||
}
|
||||
/* 로그인 폼 토글 */
|
||||
$(function($){
|
||||
var gLogin = $('#gLogin');
|
||||
var oLogin = $('#oLogin');
|
||||
oLogin.hide();
|
||||
$('a[href=#oLogin]').click(function(){
|
||||
gLogin.hide();
|
||||
oLogin.show();
|
||||
});
|
||||
$('a[href=#gLogin]').click(function(){
|
||||
gLogin.show();
|
||||
oLogin.hide();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
@ -1,16 +1,20 @@
|
|||
<!--%import("message.css")-->
|
||||
<!--%import("../../common/js/jquery.js")-->
|
||||
<div class="bd">
|
||||
<div class="hx h2">
|
||||
<h2>{$system_message}</h2>
|
||||
</div>
|
||||
<div class="co">
|
||||
<!--@if(!$is_logged)-->
|
||||
{@ Context::addJsFile("./common/js/jquery.js", true, '', -100000) }
|
||||
{@ Context::addJsFile("./common/js/js_app.js", true, '', -100000) }
|
||||
{@ Context::addJsFile("./common/js/x.js", true, '', -100000) }
|
||||
{@ Context::addJsFile("./common/js/common.js", true, '', -100000) }
|
||||
{@ Context::addJsFile("./common/js/xml_handler.js", true, '', -100000) }
|
||||
{@ Context::addJsFile("./common/js/xml_js_filter.js", true, '', -100000) }
|
||||
<!--%import("./filter/login.xml")-->
|
||||
<!--%import("./filter/openid_login.xml")-->
|
||||
<!--%import("./message.js")-->
|
||||
<div class="mLogin" id="gLogin">
|
||||
<form action="./" method="post" onsubmit="return doLogin(this, message_login)" id="gForm" class="ff">
|
||||
<form action="./" method="post" onsubmit="return procFilter(this, message_login)" id="gForm" class="ff">
|
||||
<fieldset>
|
||||
<ul>
|
||||
<li><label for="uid">{$lang->user_id}</label><input type="text" name="user_id" id="uid" value="" /></li>
|
||||
|
|
@ -34,7 +38,7 @@
|
|||
<!-- OpenID -->
|
||||
<!--@if($member_config->enable_openid=='Y')-->
|
||||
<div class="mLogin" id="oLogin">
|
||||
<form action="{getUrl('module','member','act','procMemberOpenIDLogin')}" method="post" onsubmit="return doLogin(this, openid_login)" id="oForm" class="ff">
|
||||
<form action="{getUrl('module','member','act','procMemberOpenIDLogin')}" method="post" onsubmit="return procFilter(this, openid_login)" id="oForm" class="ff">
|
||||
<fieldset>
|
||||
<ul>
|
||||
<li><label for="openid">Open ID</label><input type="text" name="openid" id="openid" value="" /></li>
|
||||
|
|
@ -56,4 +60,4 @@
|
|||
</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
<div id="loginAccess" class="gLogin">
|
||||
<h1>{$system_message}</h1>
|
||||
<!--@if(!$is_logged)-->
|
||||
<!--%import("../../../../common/js/jquery.js")-->
|
||||
<!--%import("./filter/login.xml")-->
|
||||
<!--%import("./filter/openid_login.xml")-->
|
||||
<!--%import("./message.js")-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue