mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
add ncenterlite module from xe-public.
This commit is contained in:
parent
25cf1856a6
commit
826aa8aa36
92 changed files with 5622 additions and 0 deletions
24
modules/ncenterlite/m.skins/default/NotifyList.html
Normal file
24
modules/ncenterlite/m.skins/default/NotifyList.html
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<load target="notify.css" />
|
||||
<div class="sosifam">
|
||||
<h2 class="sosi-title">{$lang->ncenterlite_my_list}</h2>
|
||||
<ul class="history-list cfix">
|
||||
<li class="history-item cfix" loop="$ncenterlite_list => $no, $val">
|
||||
{@
|
||||
$oMemberModel = getModel('member');
|
||||
$member_info = $oMemberModel->getMemberInfoByMemberSrl($val->member_srl);
|
||||
}
|
||||
<div class="history-info">
|
||||
<span class="history-gird text-ellipsis">
|
||||
<span class="history-succeed">{$val->target_nick_name}</span> ->
|
||||
<span class="history-title">{$member_info->nick_name}</span>
|
||||
</span>
|
||||
<div class="history-text">
|
||||
<span class="history-ip"><strong><a href="{$val->target_url}">{$val->text}</a></strong></span>
|
||||
<span class="history-auth">({zdate($val->regdate,"Y-m-d H:i:s")})</span>
|
||||
<span class="history-auth" cond="$val->readed=='Y'">({$lang->ncenterlite_read_y})</span>
|
||||
<span class="history-auth" cond="$val->readed=='N'">({$lang->ncenterlite_read_n})</span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
BIN
modules/ncenterlite/m.skins/default/img/p.png
Normal file
BIN
modules/ncenterlite/m.skins/default/img/p.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.3 KiB |
124
modules/ncenterlite/m.skins/default/ncenter.html
Normal file
124
modules/ncenterlite/m.skins/default/ncenter.html
Normal file
|
|
@ -0,0 +1,124 @@
|
|||
<load target="../lang/lang.xml" />
|
||||
|
||||
<div id="nc_container" {$ncenterlite_zindex}>
|
||||
<ul class="nc_memu">
|
||||
<li class="nc_profile fLeft">
|
||||
<block cond="$useProfileImage">
|
||||
<img cond="$profileImage" src="{$profileImage->src}" alt="my profile" class="nc_profile_img" />
|
||||
<img cond="!$profileImage" src="{Context::getRequestUri()}modules/ncenterlite/skins/default/img/p.png" alt="my profile" class="nc_profile_img" />
|
||||
</block>
|
||||
<strong>{$logged_info->nick_name}</strong> {$lang->ncenterlite_sir}!
|
||||
</li>
|
||||
|
||||
<li class="fLeft">
|
||||
<a class="notify" href="#">
|
||||
<!--@if($_ncenterlite_num > 1)-->
|
||||
{sprintf($lang->ncenterlite_messages, $ncenterlite_page_navigation->total_count)}
|
||||
<!--@else-->
|
||||
{sprintf($lang->ncenterlite_message, $ncenterlite_page_navigation->total_count)}
|
||||
<!--@endif-->
|
||||
</a>
|
||||
<a cond="$ncenterlite_page_navigation->total_count >= 1" href="#" class="readall">{$lang->ncenterlite_delete_all}</a>
|
||||
</li>
|
||||
|
||||
<li class="fRight"><a class="close" href="#">× Close</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="list">
|
||||
<ul>
|
||||
<li loop="$ncenterlite_list => $o">
|
||||
<a href="{$o->url}">
|
||||
<block cond="$useProfileImage">
|
||||
<img src="{$o->profileImage}"|cond="$o->profileImage" src="{Context::getRequestUri()}modules/ncenterlite/skins/default/img/p.png"|cond="!$o->profileImage" alt="" class="nc_profile_img" />
|
||||
</block>
|
||||
<span class="msg">{$o->text}</span><span class="ago">{$o->ago}</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<a cond="$ncenterlite_page_navigation->total_count > 5" class="more" href="#" data-page="2">{$lang->ncenterlite_more}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ncenterlite_block"></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
(function($){
|
||||
$(function(){
|
||||
function setCookie(n, v, d){
|
||||
var e = "";
|
||||
if(d){ var dt=new Date(); dt.setTime(dt.getTime() + (d*24*60*60000)); e="; expires=" + dt.toGMTString(); }
|
||||
document.cookie = n + "=" + v + e + "; path=/";
|
||||
}
|
||||
|
||||
var n = $('#nc_container');
|
||||
$('.close',n).click(function(){
|
||||
setCookie('_ncenterlite_hide_id', '{$ncenterlite_latest_notify_id}', 1); n.hide().next('div').hide(); return false;
|
||||
});
|
||||
$('.readall',n).click(function(){
|
||||
exec_xml('ncenterlite', 'procNcenterliteNotifyReadAll'); $('.close',n).triggerHandler('click'); return false;
|
||||
});
|
||||
$('a.notify',n).click(function(){
|
||||
$('.list',n).toggle(); $('.readall',n).toggle(); return false;
|
||||
});
|
||||
$(document).click(function(e){
|
||||
var t = $(e.target);if(!t.is('#nc_container') && t.parents('#nc_container').length == 0){ if($('.list', n).is(':visible')) { $('.list',n).hide(); $('.readall',n).hide(); return false; } }
|
||||
});
|
||||
|
||||
var $listWrap = $('.list ul',n);
|
||||
var $btnMore = $('.more',n);
|
||||
$btnMore.click(function(){
|
||||
var page = $(this).data('page');
|
||||
var $item_html = $('<li><a><span class="msg"></span><span class="ago"></span></a></li>');
|
||||
var $profileImg = $('<img class="nc_profile_img" alt="" />');
|
||||
$.exec_json('ncenterlite.getMyNotifyListTpl', { 'page':page }, function(ret) {
|
||||
if(!ret.list.data) return;
|
||||
|
||||
for(var i in ret.list.data)
|
||||
{
|
||||
var item = ret.list.data[i];
|
||||
var $html = $item_html.clone();
|
||||
if(ret.useProfileImage == 'Y')
|
||||
{
|
||||
var $img = $profileImg.clone();
|
||||
if(!item.profileImage) item.profileImage = request_uri + 'modules/ncenterlite/skins/default/img/p.png';
|
||||
$img.attr('src', item.profileImage);
|
||||
$html.find('a').prepend($img);
|
||||
}
|
||||
|
||||
$('span.msg', $html).html(item.text);
|
||||
$('span.ago', $html).html(item.ago);
|
||||
$('a', $html).attr('href', item.url);
|
||||
|
||||
if(i == 0) $html.attr('id', 'ncenterlite_page_' + ret.list.page.cur_page);
|
||||
$listWrap.append($html);
|
||||
}
|
||||
|
||||
$listWrap.animate({scrollTop: (ret.list.page.cur_page-1) * 265}, 800);
|
||||
|
||||
if(ret['list'].page.total_page <= ret.list.page.cur_page)
|
||||
{
|
||||
$btnMore.remove();
|
||||
}
|
||||
}, ['list']);
|
||||
|
||||
$(this).data('page', ++page);
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
<block cond="!Mobile::isFromMobilePhone()">
|
||||
function sc(){
|
||||
var wh = $(window).height();
|
||||
var l = $('#nc_container .list');
|
||||
if(l.height()+28 >= wh) {
|
||||
l.height(wh-28).addClass('listscroll');
|
||||
} else {
|
||||
l.height('auto').removeClass('listscroll');
|
||||
}
|
||||
setTimeout(sc, 100);
|
||||
}
|
||||
sc();
|
||||
</block>
|
||||
})(jQuery);
|
||||
//]]>
|
||||
</script>
|
||||
15
modules/ncenterlite/m.skins/default/ncenterlite.black.css
Normal file
15
modules/ncenterlite/m.skins/default/ncenterlite.black.css
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#nc_container { border-bottom-color:#555; background-color:#333; color:#B0B0B0; opacity:0.95; }
|
||||
#nc_container a { color:#B0B0B0; }
|
||||
#nc_container a:hover { color:#B0B0B0; }
|
||||
#nc_container strong { color:#F3F3F3; }
|
||||
|
||||
#nc_container .list { background-color:#333; filter:alpha(opacity=95); opacity:0.95; -moz-opacity:0.95; }
|
||||
#nc_container .list li { border-color:#555; }
|
||||
#nc_container .list li a:hover { background-color:#555; }
|
||||
#nc_container .list span.ago { color:#D4AF37; }
|
||||
#nc_container .list .more { background: #555; }
|
||||
#nc_container a.readall { display:none; color:#555; color:#D83722;}
|
||||
|
||||
#nc_container a.notify { color:white; }
|
||||
#nc_container a.notify .num { background-color:#D83722; color:white; }
|
||||
#nc_container ul.nc_memu li { padding-right:5px; }
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
#nc_container { border-bottom-color:#555; background-color:#333; color:#B0B0B0; opacity:0.95; }
|
||||
#nc_container a { color:#B0B0B0; }
|
||||
#nc_container a:hover { color:#B0B0B0; }
|
||||
#nc_container strong { color:#F3F3F3; }
|
||||
|
||||
#nc_container .list { background-color:#333; filter:alpha(opacity=95); opacity:0.95; -moz-opacity:0.95; }
|
||||
#nc_container .list li { border-color:#555; }
|
||||
#nc_container .list li a:hover { background-color:#555; }
|
||||
#nc_container .list span.ago { color:#D4AF37; }
|
||||
#nc_container .list .more { background: #555; }
|
||||
#nc_container a.readall { display:none; color:#555; color:#D83722;}
|
||||
|
||||
#nc_container a.notify { color:white; }
|
||||
#nc_container a.notify .num { background-color:#D83722; color:white; }
|
||||
#nc_container ul.nc_memu li { padding-right:5px; }
|
||||
|
||||
#nc_container img.nc_profile_img { display:none;}
|
||||
185
modules/ncenterlite/m.skins/default/ncenterlite.css
Normal file
185
modules/ncenterlite/m.skins/default/ncenterlite.css
Normal file
|
|
@ -0,0 +1,185 @@
|
|||
#nc_container {
|
||||
z-index:99;
|
||||
position:fixed;
|
||||
top:0;
|
||||
left:0;
|
||||
margin:0;
|
||||
padding:0;
|
||||
width:100%;
|
||||
height:30px;
|
||||
border-bottom:1px solid;
|
||||
font-size:12px;
|
||||
line-height:15px;
|
||||
}
|
||||
|
||||
.ncenterlite_block {
|
||||
height:28px;
|
||||
}
|
||||
|
||||
#nc_container a {
|
||||
padding:0;
|
||||
font-size:12px;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
#nc_container ul.nc_memu {
|
||||
display:block;
|
||||
margin:0;
|
||||
padding:4px;
|
||||
list-style:none;
|
||||
line-height:20px;
|
||||
}
|
||||
|
||||
#nc_container ul:after {
|
||||
content:"";
|
||||
display:block;
|
||||
clear:both;
|
||||
}
|
||||
|
||||
#nc_container ul.nc_memu li {
|
||||
display:inline-block;
|
||||
padding:0 5px;
|
||||
height:20px;
|
||||
width:auto;
|
||||
background:transparent!important;
|
||||
}
|
||||
|
||||
#nc_container ul.nc_memu li.fLeft {
|
||||
float:left;
|
||||
}
|
||||
|
||||
#nc_container ul.nc_memu li.fRight {
|
||||
float:right;
|
||||
}
|
||||
|
||||
#nc_container ul.nc_memu li a.notify {
|
||||
display:block;
|
||||
float:left;
|
||||
}
|
||||
|
||||
#nc_container a.close {
|
||||
display:block;
|
||||
}
|
||||
|
||||
#nc_container .nc_profile img {
|
||||
width:20px;
|
||||
height:20px;
|
||||
vertical-align:top;
|
||||
}
|
||||
|
||||
#nc_container a.notify .num {
|
||||
padding:1px 2px;
|
||||
border:0;
|
||||
border-radius:3px;
|
||||
-webkit-border-radius:3px;
|
||||
-moz-border-radius:3px;
|
||||
font-size:12px;
|
||||
font-weight:700;
|
||||
font-family:Gulim,"lucida grande",tahoma,verdana,arial,sans-serif;
|
||||
}
|
||||
|
||||
#nc_container .list {
|
||||
display:none;
|
||||
position:absolute;
|
||||
top:30px;
|
||||
left:0;
|
||||
max-width:330px;
|
||||
width:330px;
|
||||
box-sizing:border-box;
|
||||
-moz-box-sizing:border-box;
|
||||
-webkit-box-sizing:border-box;
|
||||
-o-box-sizing:border-box;
|
||||
}
|
||||
|
||||
#nc_container a.readall {
|
||||
display:none;
|
||||
float:left;
|
||||
margin:0 4px;
|
||||
font-size:11px;
|
||||
font-weight:700;
|
||||
}
|
||||
|
||||
#nc_container .listscroll {
|
||||
overflow-y:auto;
|
||||
overflow-x:hidden;
|
||||
}
|
||||
|
||||
#nc_container .list ul {
|
||||
overflow:hidden;
|
||||
margin:-1px 0;
|
||||
padding:0;
|
||||
list-style:none;
|
||||
}
|
||||
|
||||
#nc_container .list li {
|
||||
margin:-1px 0;
|
||||
border:1px solid #555;
|
||||
border-width:1px 0;
|
||||
}
|
||||
|
||||
#nc_container .list li img {
|
||||
float:left;
|
||||
margin-right:5px;
|
||||
width:45px;
|
||||
height:45px;
|
||||
border:0;
|
||||
}
|
||||
|
||||
#nc_container .list li a {
|
||||
display:block;
|
||||
overflow:hidden;
|
||||
padding:10px;
|
||||
font-size:12px;
|
||||
}
|
||||
|
||||
#nc_container .list span.ago {
|
||||
display:block;
|
||||
font-size:10px;
|
||||
}
|
||||
|
||||
#nc_container .list .more {
|
||||
display:block;
|
||||
padding:10px;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
#nc_container ~ .navbar.navbar-fixed-top {
|
||||
top:28px;
|
||||
}
|
||||
|
||||
#nc_container a:hover,#nc_container .list li a:hover,#nc_container .list .more:hover {
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
@media only screen and max-device-width 480px {
|
||||
#nc_container {
|
||||
position:relative;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
#nc_container .list {
|
||||
top:2px;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
#nc_container .list ul {
|
||||
display:block;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
#nc_container ul.nc_memu:after {
|
||||
content:"";
|
||||
display:block;
|
||||
visibility:hidden;
|
||||
height:0;
|
||||
clear:both;
|
||||
}
|
||||
|
||||
#nc_container .listscroll {
|
||||
overflow:visible;
|
||||
}
|
||||
|
||||
.ncenterlite_block {
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
16
modules/ncenterlite/m.skins/default/ncenterlite.gray.css
Normal file
16
modules/ncenterlite/m.skins/default/ncenterlite.gray.css
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#nc_container { border-bottom-color:#C0C0C0; background-color:#efefef; color:#666; opacity:0.95; }
|
||||
#nc_container a { color:#666; }
|
||||
#nc_container a:hover { color:#666; }
|
||||
#nc_container strong { color:#666; }
|
||||
#nc_container a.notify strong { color:#FC2772; }
|
||||
#nc_container .list { background-color:#efefef; filter:alpha(opacity=95); opacity:0.95; -moz-opacity:0.95; }
|
||||
#nc_container .list li { border-color:#ddd; }
|
||||
#nc_container .list li a:hover { background-color: #ddd; }
|
||||
#nc_container .list span.ago { color:#D4AF37; }
|
||||
#nc_container .list a.notify sup.num { background-color:#D83722; color:white; }
|
||||
#nc_container .list .more { background: #ddd; }
|
||||
#nc_container a.readall { display:none; color:#555; font-size:10px; color:#D83722;}
|
||||
|
||||
#nc_container a.notify { color:#666; }
|
||||
#nc_container a.notify .num { background-color:#D83722; color:white; }
|
||||
#nc_container ul.nc_memu li { padding-right:5px; }
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
#nc_container { border-bottom-color:#C0C0C0; background-color:#efefef; color:#666; opacity:0.95; }
|
||||
#nc_container a { color:#666; }
|
||||
#nc_container a:hover { color:#666; }
|
||||
#nc_container strong { color:#666; }
|
||||
#nc_container a.notify strong { color:#FC2772; }
|
||||
#nc_container .list { background-color:#efefef; filter:alpha(opacity=95); opacity:0.95; -moz-opacity:0.95; }
|
||||
#nc_container .list li { border-color:#ddd; }
|
||||
#nc_container .list li a:hover { background-color: #ddd; }
|
||||
#nc_container .list span.ago { color:#D4AF37; }
|
||||
#nc_container .list a.notify sup.num { background-color:#D83722; color:white; }
|
||||
#nc_container .list .more { background: #ddd; }
|
||||
#nc_container a.readall { display:none; color:#555; font-size:10px; color:#D83722;}
|
||||
|
||||
#nc_container a.notify { color:#666; }
|
||||
#nc_container a.notify .num { background-color:#D83722; color:white; }
|
||||
#nc_container ul.nc_memu li { padding-right:5px; }
|
||||
|
||||
#nc_container img.nc_profile_img { display:none;}
|
||||
122
modules/ncenterlite/m.skins/default/ncenterlite.html
Normal file
122
modules/ncenterlite/m.skins/default/ncenterlite.html
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
<div id="nc_container" {$ncenterlite_zindex}>
|
||||
<ul class="nc_memu">
|
||||
<li class="nc_profile fLeft">
|
||||
<block cond="$useProfileImage">
|
||||
<img cond="$profileImage" src="{$profileImage->src}" alt="my profile" class="nc_profile_img" />
|
||||
<img cond="!$profileImage" src="{Context::getRequestUri()}modules/ncenterlite/skins/default/img/p.png" alt="my profile" class="nc_profile_img" />
|
||||
</block>
|
||||
<strong>{$logged_info->nick_name}</strong> {$lang->ncenterlite_sir}!
|
||||
</li>
|
||||
|
||||
<li class="fLeft">
|
||||
<a class="notify" href="#">
|
||||
<!--@if($_ncenterlite_num > 1)-->
|
||||
{sprintf($lang->ncenterlite_messages, $ncenterlite_page_navigation->total_count)}
|
||||
<!--@else-->
|
||||
{sprintf($lang->ncenterlite_message, $ncenterlite_page_navigation->total_count)}
|
||||
<!--@endif-->
|
||||
</a>
|
||||
<a cond="$ncenterlite_page_navigation->total_count >= 1" href="#" class="readall">{$lang->ncenterlite_delete_all}</a>
|
||||
</li>
|
||||
|
||||
<li class="fRight"><a class="close" href="#">× Close</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="list">
|
||||
<ul>
|
||||
<li loop="$ncenterlite_list => $o">
|
||||
<a href="{$o->url}">
|
||||
<block cond="$useProfileImage">
|
||||
<img src="{$o->profileImage}"|cond="$o->profileImage" src="{Context::getRequestUri()}modules/ncenterlite/skins/default/img/p.png"|cond="!$o->profileImage" alt="" class="nc_profile_img" />
|
||||
</block>
|
||||
<span class="msg">{$o->text}</span><span class="ago">{$o->ago}</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<a cond="$ncenterlite_page_navigation->total_count > 5" class="more" href="#" data-page="2">{$lang->ncenterlite_more}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ncenterlite_block"></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
(function($){
|
||||
$(function(){
|
||||
function setCookie(n, v, d){
|
||||
var e = "";
|
||||
if(d){ var dt=new Date(); dt.setTime(dt.getTime() + (d*24*60*60000)); e="; expires=" + dt.toGMTString(); }
|
||||
document.cookie = n + "=" + v + e + "; path=/";
|
||||
}
|
||||
|
||||
var n = $('#nc_container');
|
||||
$('.close',n).click(function(){
|
||||
setCookie('_ncenterlite_hide_id', '{$ncenterlite_latest_notify_id}', 1); n.hide().next('div').hide(); return false;
|
||||
});
|
||||
$('.readall',n).click(function(){
|
||||
exec_xml('ncenterlite', 'procNcenterliteNotifyReadAll'); $('.close',n).triggerHandler('click'); return false;
|
||||
});
|
||||
$('a.notify',n).click(function(){
|
||||
$('.list',n).toggle(); $('.readall',n).toggle(); return false;
|
||||
});
|
||||
$(document).click(function(e){
|
||||
var t = $(e.target);if(!t.is('#nc_container') && t.parents('#nc_container').length == 0){ if($('.list', n).is(':visible')) { $('.list',n).hide(); $('.readall',n).hide(); return false; } }
|
||||
});
|
||||
|
||||
var $listWrap = $('.list ul',n);
|
||||
var $btnMore = $('.more',n);
|
||||
$btnMore.click(function(){
|
||||
var page = $(this).data('page');
|
||||
var $item_html = $('<li><a><span class="msg"></span><span class="ago"></span></a></li>');
|
||||
var $profileImg = $('<img class="nc_profile_img" alt="" />');
|
||||
$.exec_json('ncenterlite.getMyNotifyListTpl', { 'page':page }, function(ret) {
|
||||
if(!ret.list.data) return;
|
||||
|
||||
for(var i in ret.list.data)
|
||||
{
|
||||
var item = ret.list.data[i];
|
||||
var $html = $item_html.clone();
|
||||
if(ret.useProfileImage == 'Y')
|
||||
{
|
||||
var $img = $profileImg.clone();
|
||||
if(!item.profileImage) item.profileImage = request_uri + 'modules/ncenterlite/skins/default/img/p.png';
|
||||
$img.attr('src', item.profileImage);
|
||||
$html.find('a').prepend($img);
|
||||
}
|
||||
|
||||
$('span.msg', $html).html(item.text);
|
||||
$('span.ago', $html).html(item.ago);
|
||||
$('a', $html).attr('href', item.url);
|
||||
|
||||
if(i == 0) $html.attr('id', 'ncenterlite_page_' + ret.list.page.cur_page);
|
||||
$listWrap.append($html);
|
||||
}
|
||||
|
||||
$listWrap.animate({scrollTop: (ret.list.page.cur_page-1) * 265}, 800);
|
||||
|
||||
if(ret['list'].page.total_page <= ret.list.page.cur_page)
|
||||
{
|
||||
$btnMore.remove();
|
||||
}
|
||||
}, ['list']);
|
||||
|
||||
$(this).data('page', ++page);
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
<block cond="!Mobile::isFromMobilePhone()">
|
||||
function sc(){
|
||||
var wh = $(window).height();
|
||||
var l = $('#nc_container .list');
|
||||
if(l.height()+100 >= wh) {
|
||||
l.height(wh-98).addClass('listscroll');
|
||||
} else {
|
||||
l.height('auto').removeClass('listscroll');
|
||||
}
|
||||
setTimeout(sc, 100);
|
||||
}
|
||||
sc();
|
||||
</block>
|
||||
})(jQuery);
|
||||
//]]>
|
||||
</script>
|
||||
12
modules/ncenterlite/m.skins/default/ncenterlite.mobile.css
Normal file
12
modules/ncenterlite/m.skins/default/ncenterlite.mobile.css
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#nc_container { height:auto; position:relative; }
|
||||
#nc_container .list { top:2px; position:relative; }
|
||||
#nc_container .list ul { display:block; position:relative; }
|
||||
#nc_container ul.nc_memu:after {
|
||||
content: "";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
}
|
||||
#nc_container .listscroll { overflow: visible; }
|
||||
.ncenterlite_block { display:none; }
|
||||
16
modules/ncenterlite/m.skins/default/ncenterlite.white.css
Normal file
16
modules/ncenterlite/m.skins/default/ncenterlite.white.css
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#nc_container { border:1px solid #efefef; background-color:#fff; color:#000; opacity:0.95; }
|
||||
#nc_container a { color:#666; }
|
||||
#nc_container a:hover { color:#666; }
|
||||
#nc_container strong { color:#000; }
|
||||
#nc_container a.notify strong { color:#F60; }
|
||||
#nc_container .list { border:1px solid #efefef; background-color:#fff; filter:alpha(opacity=95); opacity:0.95; -moz-opacity:0.95; }
|
||||
#nc_container .list li { border-color:#eee; }
|
||||
#nc_container .list li a:hover { background-color: #eee; }
|
||||
#nc_container .list span.ago { color:#D4AF37; }
|
||||
#nc_container .list a.notify .num { background-color:#D83722; color:white; }
|
||||
#nc_container .list .more { background: #eee; }
|
||||
#nc_container a.readall { display:none; color:#555; font-size:10px; color:#D83722;}
|
||||
|
||||
#nc_container a.notify { color:#666; }
|
||||
#nc_container a.notify .num { background-color:#D83722; color:white; }
|
||||
#nc_container ul.nc_memu li { padding-right:5px; }
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
#nc_container { border:1px solid #efefef; background-color:#fff; color:#000; opacity:0.95; }
|
||||
#nc_container a { color:#666; }
|
||||
#nc_container a:hover { color:#666; }
|
||||
#nc_container strong { color:#000; }
|
||||
#nc_container a.notify strong { color:#F60; }
|
||||
#nc_container .list { border:1px solid #efefef; background-color:#fff; filter:alpha(opacity=97); opacity:0.97; -moz-opacity:0.97; }
|
||||
#nc_container .list li { border-color:#eee; }
|
||||
#nc_container .list li a:hover { background-color: #eee; }
|
||||
#nc_container .list span.ago { color:#D4AF37; }
|
||||
#nc_container .list a.notify .num { background-color:#D83722; color:white; }
|
||||
#nc_container .list .more { background: #eee; }
|
||||
#nc_container a.readall { display:none; color:#555; font-size:10px; color:#D83722;}
|
||||
|
||||
#nc_container a.notify { color:#666; }
|
||||
#nc_container a.notify .num { background-color:#D83722; color:white; }
|
||||
#nc_container ul.nc_memu li { padding-right:5px; }
|
||||
|
||||
#nc_container img.nc_profile_img { display:none;}
|
||||
97
modules/ncenterlite/m.skins/default/notify.css
Normal file
97
modules/ncenterlite/m.skins/default/notify.css
Normal file
|
|
@ -0,0 +1,97 @@
|
|||
@charset "utf-8";
|
||||
|
||||
.sosi-title {
|
||||
position: relative;
|
||||
font-size: 16px;
|
||||
font-style: bold;
|
||||
display: block;
|
||||
margin: 14px 0 14px 14px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
|
||||
.history-list {
|
||||
margin: 0 0 22px 0px;
|
||||
}
|
||||
|
||||
.history-list .history-item {
|
||||
position: relative;
|
||||
padding: 4px 0 4px 14px;
|
||||
border-top: 1px solid #ececec;
|
||||
overflow: hidden;
|
||||
|
||||
}
|
||||
|
||||
.history-list .history-info {
|
||||
padding: 0 11px 9px 0;
|
||||
}
|
||||
|
||||
.history-list .history-info .history-gird{
|
||||
color: #252525;
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
font-weight: bold;
|
||||
margin-top: 9px;
|
||||
display:block;
|
||||
}
|
||||
|
||||
.text-ellipsis {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.history-list .history-info .history-gird .history-succeed{
|
||||
color:#3c763d
|
||||
}
|
||||
.history-list .history-info .history-gird .history-failed{
|
||||
color:#a94442
|
||||
}
|
||||
.history-list .history-text{
|
||||
color: #252525;
|
||||
font-size: 11px;
|
||||
line-height: 16px;
|
||||
}
|
||||
.history-list .history-text .history-ip{
|
||||
color: #8A8D99;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.history-list .history-text .history-auth{
|
||||
color: #8A8D99;
|
||||
margin-left:3px;
|
||||
}
|
||||
|
||||
|
||||
html{color:#000;background:#fff;}
|
||||
legend{color:#000;}
|
||||
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,ul,li,ol,dl,dt,dd,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;}
|
||||
abbr,acronym,address,caption,cite,code,dfn,em,strong,th,var,h1,h2,h3,h4,h5,h6{font-style:normal;font-weight:normal;font-variant:normal;}
|
||||
|
||||
|
||||
|
||||
body{line-height:1; color: #333; font: normal normal normal 13px/1.5 'Helvetica Neue', Helvetica, Arial, sans-serif;}
|
||||
ol,ul,li{list-style:none;}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
html {margin: 0; padding: 0; border: 0; overflow: auto; background-color: #f4f4f4;}
|
||||
body, .default-font {font: normal normal normal 12px/16px 'Helvetica Neue', Helvetica, Arial, sans-serif;}
|
||||
body, .default-color {color: #3b3b3b;}
|
||||
body, .default-background-color {background-color: #fff;}
|
||||
table {font-size: inherit; font: 100%;}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {margin: 0; font-weight: bold;}
|
||||
h1 {font-size: 36px; line-height: 45px;}
|
||||
h2 {font-size: 24px; line-height: 30px;}
|
||||
h3 {font-size: 18px; line-height: 22px;}
|
||||
h4 {font-size: 16px; line-height: 20px;}
|
||||
h5 {font-size: 14px; line-height: 18px;}
|
||||
h6 {font-size: 12px; line-height: 16px;}
|
||||
|
||||
.cfix { zoom:1 }
|
||||
.cfix:after { content: '.'; display:block; clear:both; visibility:hidden; line-height:0; height:0; overflow: hidden; }
|
||||
strong, .bold {font-weight: bold;}
|
||||
a { text-decoration:none; color:#1769FF;}
|
||||
32
modules/ncenterlite/m.skins/default/skin.xml
Normal file
32
modules/ncenterlite/m.skins/default/skin.xml
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<skin version="0.2">
|
||||
<title xml:lang="ko">XE 알림센터 Lite 기본스킨</title>
|
||||
<version>1.1.1</version>
|
||||
<date>2013-03-21</date>
|
||||
|
||||
<author email_address="info@xemagazine.com" link="http://xmz.kr/">
|
||||
<name xml:lang="ko">XE Magazine</name>
|
||||
</author>
|
||||
|
||||
<colorset>
|
||||
<color name="black">
|
||||
<title xml:lang="ko">검은색</title>
|
||||
</color>
|
||||
<color name="gray">
|
||||
<title xml:lang="ko">회색</title>
|
||||
</color>
|
||||
<color name="white">
|
||||
<title xml:lang="ko">흰색</title>
|
||||
</color>
|
||||
|
||||
<color name="blacknoprofile">
|
||||
<title xml:lang="ko">검은색(no profile)</title>
|
||||
</color>
|
||||
<color name="graynoprofile">
|
||||
<title xml:lang="ko">회색(no profile)</title>
|
||||
</color>
|
||||
<color name="whitenoprofile">
|
||||
<title xml:lang="ko">흰색(no profile)</title>
|
||||
</color>
|
||||
</colorset>
|
||||
</skin>
|
||||
66
modules/ncenterlite/m.skins/default/userconfig.html
Normal file
66
modules/ncenterlite/m.skins/default/userconfig.html
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
<load target="../../../member/skins/default/css/member.css" />
|
||||
<div class="xm">
|
||||
|
||||
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/ncenterlite/m.skins/default/userconfig/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
|
||||
|
||||
<form ruleset="insertConfig" action="./" method="post" class="form-horizontal" id="fo_ncenterlite">
|
||||
<input type="hidden" name="module" value="ncenterlite" />
|
||||
<input type="hidden" name="act" value="procNcenterliteUserConfig" />
|
||||
<input type="hidden" name="xe_validator_id" value="modules/ncenterlite/m.skins/default/userconfig/1" />
|
||||
<input type="hidden" name="member_srl" value="{$member_srl}">
|
||||
<section class="section">
|
||||
<h1><block cond="$member_info">{@$user_str = $member_info->nick_name}</block>
|
||||
<block cond="!$member_info">{@$user_str = $logged_info->nick_name}</block>
|
||||
{@$title_str = Context::getLang('ncenterlite_userconfig_title')}
|
||||
{sprintf($title_str, $user_str)}
|
||||
</h1>
|
||||
|
||||
<p>{$lang->ncenterlite_userconfig_about} <strong style="color:#ff0000" cond="$member_srl && $member_srl != $logged_info->member_srl">({$lang->ncenterlite_userconfig_about_warning})</strong></p>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{$lang->ncenterlite_comment_noti}</label>
|
||||
<div class="controls">
|
||||
<label class="inline">
|
||||
<input type="radio" name="comment_notify" value="Y" checked="checked"|cond="$user_config->comment_notify == 'Y'" /> {$lang->ncenterlite_activate}
|
||||
</label>
|
||||
<label class="inline">
|
||||
<input type="radio" name="comment_notify" value="N" checked="checked"|cond="$user_config->comment_notify == 'N'" /> {$lang->ncenterlite_inactivate}
|
||||
</label>
|
||||
<p class="help-block">{$lang->ncenterlite_comment_noti_about}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{$lang->ncenterlite_mention_noti}</label>
|
||||
<div class="controls">
|
||||
<label class="inline">
|
||||
<input type="radio" name="mention_notify" value="Y" checked="checked"|cond="$user_config->mention_notify == 'Y'" /> {$lang->ncenterlite_activate}
|
||||
</label>
|
||||
<label class="inline">
|
||||
<input type="radio" name="mention_notify" value="N" checked="checked"|cond="$user_config->mention_notify == 'N'" /> {$lang->ncenterlite_inactivate}
|
||||
</label>
|
||||
<p class="help-block">{$lang->ncenterlite_mention_noti_about}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{$lang->ncenterlite_message_noti}</label>
|
||||
<div class="controls">
|
||||
<label class="inline">
|
||||
<input type="radio" name="message_notify" value="Y" checked="checked"|cond="$user_config->message_notify == 'Y'" /> {$lang->ncenterlite_activate}
|
||||
</label>
|
||||
<label class="inline">
|
||||
<input type="radio" name="message_notify" value="N" checked="checked"|cond="$user_config->message_notify == 'N'" /> {$lang->ncenterlite_inactivate}
|
||||
</label>
|
||||
<p class="help-block">{$lang->ncenterlite_message_noti_about}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
<div class="clearfix btnArea">
|
||||
<div class="pull-right">
|
||||
<button class="btn btn-primary" type="submit">{$lang->cmd_registration}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue