mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Revert to 9110.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9225 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c7c180228a
commit
87bcf369c9
8 changed files with 167 additions and 0 deletions
8
modules/message/skins/default/filter/login.xml
Normal file
8
modules/message/skins/default/filter/login.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<filter name="message_login" module="member" act="procMemberLogin">
|
||||
<form>
|
||||
<node target="user_id" required="true" filter="user_id" />
|
||||
<node target="password" required="true" />
|
||||
</form>
|
||||
<parameter />
|
||||
<response />
|
||||
</filter>
|
||||
7
modules/message/skins/default/filter/logout.xml
Normal file
7
modules/message/skins/default/filter/logout.xml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<filter name="widget_logout" module="member" act="procMemberLogout">
|
||||
<form />
|
||||
<response>
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
</response>
|
||||
</filter>
|
||||
10
modules/message/skins/default/filter/openid_login.xml
Normal file
10
modules/message/skins/default/filter/openid_login.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<filter name="openid_login" module="member" act="procMemberOpenIDLogin">
|
||||
<form>
|
||||
<node target="openid" required="true" />
|
||||
</form>
|
||||
<parameter />
|
||||
<response callback_func="completeMessageOpenIDLogin">
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
</response>
|
||||
</filter>
|
||||
BIN
modules/message/skins/default/images/buttonAction.gif
Normal file
BIN
modules/message/skins/default/images/buttonAction.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
BIN
modules/message/skins/default/images/openid_login_bg.gif
Normal file
BIN
modules/message/skins/default/images/openid_login_bg.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 237 B |
39
modules/message/skins/default/message.css
Normal file
39
modules/message/skins/default/message.css
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
@charset "utf-8";
|
||||
/* NHN | dece24@nhncorp.com */
|
||||
#loginAccess{ position:relative; width:384px; border:2px solid #757575; margin:30px auto; padding:20px 0 0 0; background:#fff; font-size:12px; font-family:Tahoma; line-height:normal;}
|
||||
#loginAccess form{ margin:0; padding:0;}
|
||||
#loginAccess fieldset{ border:0; margin:0; padding:0;}
|
||||
#loginAccess h1{ margin:0 28px 20px 28px; font-size:12px; color:#e77161;}
|
||||
#loginAccess ul{ margin:0; padding:0; list-style:none;}
|
||||
#loginAccess .mLogin{ display:none;}
|
||||
#loginAccess .idpw{ margin:0 28px 20px 28px;}
|
||||
#loginAccess .oid{ margin:0 28px 20px 28px;}
|
||||
#loginAccess .idpw li{ margin:0 0 5px 0;}
|
||||
#loginAccess .inputText{ font-size:12px; height:22px; color:#767676; font-weight:bold; border:1px solid #b7b7b7; border-right-color:#e1e1e1; border-bottom-color:#e1e1e1;}
|
||||
#loginAccess .idpw .inputText{ width:316px; padding:8px 0 0 10px;}
|
||||
#loginAccess .oid .inputText{ width:291px; padding:8px 0 0 35px; background:url(./images/openid_login_bg.gif) no-repeat 10px center;}
|
||||
#loginAccess .inputCheck{ width:13px; height:13px; margin:0; padding:0; vertical-align:middle;}
|
||||
#loginAccess label{ vertical-align:middle;}
|
||||
#loginAccess #warning{ display:none; margin:0 0 20px 0;}
|
||||
#loginAccess #warning.open{ display:block;}
|
||||
#loginAccess #warning p{ margin:0;}
|
||||
#loginAccess .buttonArea{ position:relative; margin:0 28px; padding:0; color:#767676; *zoom:1;}
|
||||
#loginAccess .buttonArea .keeping{ position:relative; margin:0 0 20px 0; height:32px; line-height:32px;}
|
||||
#loginAccess #gLogin .buttonArea .buttonAccount{ position:absolute; top:0; right:0;}
|
||||
#loginAccess #oLogin .buttonArea{ text-align:center; margin-bottom:20px;}
|
||||
#loginAccess .buttonAccount,
|
||||
#loginAccess .buttonAccount a,
|
||||
#loginAccess .buttonAccount input{ position:relative; display:inline-block; margin:0; padding:0; overflow:visible; height:32px; line-height:32px; font-size:12px; font-weight:bold; color:#fff; vertical-align:middle; cursor:pointer; border:0; text-decoration:none !important; background:transparent url(./images/buttonAction.gif) no-repeat;}
|
||||
#loginAccess .buttonAccount{ margin:0 4px 0 0; background-position:left top;}
|
||||
#loginAccess .buttonAccount a,
|
||||
#loginAccess .buttonAccount input{ left:4px; background-position:right top; *vertical-align:top; padding:0 24px 0 36px;}
|
||||
#loginAccess .help{ position:relative; padding:15px 0; background:#fafafa; border-top:1px solid #d9d9d9; text-align:center;}
|
||||
#loginAccess .help li{ display:inline; border-left:1px solid #c3c3c3; padding:0 0 0 10px; margin:0 6px 0 0; line-height:1;}
|
||||
#loginAccess .help li.first{ border:0; padding:0;}
|
||||
#loginAccess .help a{ text-decoration:none; color:#333;}
|
||||
#loginAccess .help a:hover,
|
||||
#loginAccess .help a:active,
|
||||
#loginAccess .help a:focus{ text-decoration:underline;}
|
||||
#loginAccess .logOut{ text-align:left; margin:0 28px; padding:0 0 20px 0;}
|
||||
.gLogin #gLogin,
|
||||
.oLogin #oLogin{ display:block;}
|
||||
38
modules/message/skins/default/message.js
Normal file
38
modules/message/skins/default/message.js
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/* 로그인 후 */
|
||||
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 doLogin(o,filter){
|
||||
jQuery('input.inputText',o).each(function(){
|
||||
var t = jQuery(this);
|
||||
if(t.attr('title').length>0 && t.attr('title') == t.val()) t.val('');
|
||||
});
|
||||
procFilter(o,filter);
|
||||
initLoginTitleMsg();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
function initLoginTitleMsg(){
|
||||
jQuery('.gLogin, .mLogin').find('input.inputText').focus(function(){
|
||||
var t = jQuery(this);
|
||||
if(t.attr('title').length>0 && t.attr('title')==t.val()) t.val('');
|
||||
}).blur(function(){
|
||||
var t = jQuery(this);
|
||||
if(t.attr('title').length>0 && t.val()=='') t.val(t.attr('title'));
|
||||
}).focus().blur();
|
||||
}
|
||||
|
||||
jQuery(function(){
|
||||
initLoginTitleMsg();
|
||||
});
|
||||
|
||||
|
||||
65
modules/message/skins/default/system_message.html
Normal file
65
modules/message/skins/default/system_message.html
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
<load target="message.css" />
|
||||
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
<div id="loginAccess" class="gLogin">
|
||||
<h1>{$system_message}</h1>
|
||||
<!--@if(!$is_logged)-->
|
||||
<!--%import("../../../../common/js/jquery.js")-->
|
||||
<!--%import("./filter/openid_login.xml")-->
|
||||
<!--%import("./message.js")-->
|
||||
<div class="mLogin" id="gLogin">
|
||||
<form ruleset="@login" action="./" method="post" id="gForm">
|
||||
<input type="hidden" name="act" value="procMemberLogin" />
|
||||
<fieldset>
|
||||
<ul class="idpw">
|
||||
<li><input type="text" name="user_id" id="uid" value="" class="inputText" title="{$lang->user_id}" /></li>
|
||||
<li><input type="password" name="password" id="upw" value="" class="inputText" title="{$lang->password}" /></li>
|
||||
</ul>
|
||||
<div class="buttonArea">
|
||||
<p class="keeping">
|
||||
<input type="checkbox" name="keep_signed" id="keepid" class="inputCheck" value="Y" onclick="jQuery('#warning')[(jQuery('#keepid:checked').size()>0?'addClass':'removeClass')]('open');" />
|
||||
<label for="keepid">{$lang->keep_signed}</label>
|
||||
</p>
|
||||
<div id="warning" class="">
|
||||
<p>{$lang->about_keep_warning}</p>
|
||||
</div>
|
||||
<span class="buttonAccount"><input type="submit" value="{$lang->cmd_login}" /></span>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
<ul class="help">
|
||||
<li class="first"><a href="{getUrl('','act','dispMemberFindAccount')}"><span>{$lang->cmd_find_member_account}</span></a></li>
|
||||
<li><a href="{getUrl('','act','dispMemberSignUpForm')}"><span>{$lang->cmd_signup}</span></a></li>
|
||||
<!--@if($member_config->enable_openid=='Y')-->
|
||||
<li><a href="#oLogin" onclick="jQuery('#loginAccess').removeClass('gLogin'); jQuery('#loginAccess').addClass('oLogin'); return false;">Open ID</a></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- OpenID -->
|
||||
<!--@if($member_config->enable_openid=='Y')-->
|
||||
<div class="mLogin" id="oLogin">
|
||||
<form ruleset="openidLogin" action="./" method="post" id="oForm">
|
||||
<input type="hidden" name="module" value="member" />
|
||||
<input type="hidden" name="act" value="procMemberOpenIDLogin" />
|
||||
<input type="hidden" name="error_return_url" value="" />
|
||||
<fieldset>
|
||||
<div class="oid">
|
||||
<input type="text" name="openid" class="inputText" title="Open ID" value="" />
|
||||
</div>
|
||||
<div class="buttonArea">
|
||||
<span class="buttonAccount"><input type="submit" value="{$lang->cmd_login}" /></span>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
<div class="help"><a href="#gLogin" onclick="jQuery('#loginAccess').removeClass('oLogin'); jQuery('#loginAccess').addClass('gLogin'); return false;">{$lang->cmd_common_id}</a></div>
|
||||
</div>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<!--@if($is_logged)-->
|
||||
<div class="logOut">
|
||||
<span class="buttonAccount"><a href="{getUrl('act','dispMemberLogout','module','')}">{$lang->cmd_logout}</a></span>
|
||||
</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue