move default theme from theme project to core project
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9807 201d5d3c-b55e-5fd7-737f-ddc643e51545
8
themes/xe_greystone/modules/message/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
themes/xe_greystone/modules/message/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
themes/xe_greystone/modules/message/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
themes/xe_greystone/modules/message/images/Thumbs.db
Normal file
BIN
themes/xe_greystone/modules/message/images/bg_box_c.gif
Normal file
|
After Width: | Height: | Size: 58 B |
BIN
themes/xe_greystone/modules/message/images/bg_box_f.gif
Normal file
|
After Width: | Height: | Size: 507 B |
BIN
themes/xe_greystone/modules/message/images/bg_box_top.gif
Normal file
|
After Width: | Height: | Size: 958 B |
BIN
themes/xe_greystone/modules/message/images/bg_gLogin.gif
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
themes/xe_greystone/modules/message/images/bg_logOut.gif
Normal file
|
After Width: | Height: | Size: 344 B |
BIN
themes/xe_greystone/modules/message/images/buttonAction.gif
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
themes/xe_greystone/modules/message/images/openid_login_bg.gif
Normal file
|
After Width: | Height: | Size: 237 B |
40
themes/xe_greystone/modules/message/message.css
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
@charset "utf-8";
|
||||
/* NHN | dece24@nhncorp.com */
|
||||
#loginAccess{ position:relative; width:333px; margin:30px auto; font-size:12px; font-family:Tahoma; line-height:normal; background:url(./images/bg_gLogin.gif) no-repeat 0 0}
|
||||
#loginAccess form{ margin:0; padding:0;}
|
||||
#loginAccess fieldset{ border:0; margin:0; padding:0;}
|
||||
#loginAccess h1{font-size:12px; color:#3f4140; margin:0; font-weight:normal; padding:27px 0 18px 18px}
|
||||
#loginAccess ul{ margin:0; padding:0; list-style:none;}
|
||||
#loginAccess .mLogin{ display:none;}
|
||||
#loginAccess .idpw{ margin:0 41px 15px 36px;}
|
||||
#loginAccess .oid{ margin:0 28px 20px 28px;}
|
||||
#loginAccess .idpw li{ margin:0 0 5px 0;}
|
||||
#loginAccess .inputText{ font-size:12px; color:#c4c4c4; font-weight:bold; border:1px solid #c5c5c5}
|
||||
#loginAccess .idpw .inputText{ width:243px; padding:2px 0 2px 7px;}
|
||||
#loginAccess .oid .inputText{ width:252px; padding:8px 0 0 35px;}
|
||||
#loginAccess .inputCheck{ width:13px; height:13px; margin:0; padding:0; vertical-align:middle;}
|
||||
#loginAccess label{ vertical-align: middle; color:#3a3a3a}
|
||||
#loginAccess #warning{ display:none; margin:0 0 20px 0;}
|
||||
#loginAccess #warning.open{ display:block;}
|
||||
#loginAccess #warning p{ margin:0; color:#fafafa}
|
||||
#loginAccess .buttonArea{ position:relative; margin:0 50px 0 39px; 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:#ffffff; vertical-align:middle; cursor:pointer; border:0; text-decoration:none !important; background: url(./images/buttonAction.gif) no-repeat;font-family:Arial}
|
||||
#loginAccess .buttonAccount{ margin:0 4px 0 0; background-position:left top;}
|
||||
#loginAccess .buttonAccount a,
|
||||
#loginAccess .buttonAccount input{ left:14px; background-position:right top; *vertical-align:top; padding:0 30px 0 15px;}
|
||||
#loginAccess .help{ position:relative; padding:22px 0 44px 0;text-align:center; background:url(images/bg_help.gif) no-repeat}
|
||||
#loginAccess .help li{ display:inline; border-left:1px solid #ababab; padding:0 0 0 7px; margin:0 4px 0 0; line-height:1;}
|
||||
#loginAccess .help li.first{ border:0; padding:0;}
|
||||
#loginAccess .help a{ text-decoration:none; color:#828282;}
|
||||
#loginAccess .help a:hover,
|
||||
#loginAccess .help a:active,
|
||||
#loginAccess .help a:focus{ text-decoration:underline;}
|
||||
#loginAccess .logOut{ text-align:left;padding:0 0 20px 55px; background:url(images/line_logOut.gif) no-repeat 0 100%;}
|
||||
.gLogin #gLogin,
|
||||
.oLogin #oLogin{ display:block;}
|
||||
.logOut_h{padding:27px 0 23px 63px!important}
|
||||
38
themes/xe_greystone/modules/message/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();
|
||||
});
|
||||
|
||||
|
||||
36
themes/xe_greystone/modules/message/skin.xml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<skin version="0.2">
|
||||
<title xml:lang="ko">XE 그레이스톤 메세지(Message)모듈 스킨</title>
|
||||
<title xml:lang="en">XE Greystone Message Skin</title>
|
||||
<title xml:lang="zh-CN">XE灰石系信息皮肤</title>
|
||||
|
||||
<description xml:lang="ko">
|
||||
그레이스톤 테마에 어울리는 메세지 모듈 스킨.
|
||||
NHN (developers@xpressengine.com)
|
||||
</description>
|
||||
<description xml:lang="en">
|
||||
The XE greystone skin for message module.
|
||||
NHN (developers@xpressengine.com)
|
||||
</description>
|
||||
<description xml:lang="zh-CN">
|
||||
XE 灰石系信息模块皮肤。
|
||||
NHN (developers@xpressengine.com)
|
||||
</description>
|
||||
|
||||
<version>0.1</version>
|
||||
<date>2011-09-26</date>
|
||||
|
||||
<author email_address="developers@xpressengine.com" link="http://xpressengine.com/">
|
||||
<name xml:lang="ko">NHN</name>
|
||||
<name xml:lang="en">NHN</name>
|
||||
<name xml:lang="zh-CN">NHN</name>
|
||||
</author>
|
||||
|
||||
<colorset>
|
||||
<color name="white">
|
||||
<title xml:lang="ko">default</title>
|
||||
<title xml:lang="en">default</title>
|
||||
<title xml:lang="zh-CN">默认</title>
|
||||
</color>
|
||||
</colorset>
|
||||
</skin>
|
||||
65
themes/xe_greystone/modules/message/system_message.html
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
<!--%import("message.css")-->
|
||||
|
||||
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
|
||||
<div id="loginAccess" class="gLogin">
|
||||
<!--@if(!$is_logged)--><h1>{$system_message}</h1><!--@else--><h1 class="logOut_h">{$system_message}</h1><!--@end-->
|
||||
<!--@if(!$is_logged)-->
|
||||
<!--%import("../../../../common/js/jquery.js")-->
|
||||
<!--%import("./filter/login.xml")-->
|
||||
<!--%import("./filter/openid_login.xml")-->
|
||||
<!--%import("./message.js")-->
|
||||
<div class="mLogin" id="gLogin">
|
||||
<form action="./" method="post" ruleset="@login" 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 action="{getUrl('module','member','act','procMemberOpenIDLogin')}" method="post" onsubmit="return doLogin(this, openid_login)" id="oForm">
|
||||
<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>
|
||||
BIN
themes/xe_greystone/modules/message/thumbnail.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |