mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-05 01:52:17 +09:00
css 및 js 호출순서 조정기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5785 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4f380d9c48
commit
61851f1dfe
2149 changed files with 109090 additions and 18689 deletions
19
widgets/content/skins/default/_tab_left.html
Normal file
19
widgets/content/skins/default/_tab_left.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<ul class="widgetTabC floatLeft widgetTab" style="width:18%">
|
||||
{@$i=0}
|
||||
<!--@foreach($widget_info->tab as $module_srl => $tab)-->
|
||||
<li<!--@if($i==0)--> class="active"<!--@end-->><a href="{$tab->url}" onmouseover="content_widget_tab_show(jQuery(this),jQuery(this).parents('ul.widgetTabC').next('dl.widgetDivider'),{$i})">{$tab->title}</a></li>
|
||||
{@$i++}
|
||||
<!--@end-->
|
||||
</ul>
|
||||
|
||||
<dl class="widgetDivider floatRight" style="width:80%">
|
||||
{@$i=0}
|
||||
<!--@foreach($widget_info->tab as $module_srl => $tab)-->
|
||||
<dt>{$tab->title}</dt>
|
||||
<dd<!--@if($i==0)--> class="open"<!--@end-->>
|
||||
{@$widget_info->content_items = $tab->content_items}
|
||||
<!--#include("_tab_none.html")-->
|
||||
</dd>
|
||||
{@$i++}
|
||||
<!--@end-->
|
||||
</dl>
|
||||
9
widgets/content/skins/default/_tab_none.html
Normal file
9
widgets/content/skins/default/_tab_none.html
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<!--@if($widget_info->list_type == "gallery")-->
|
||||
<!--#include("./gallery.html")-->
|
||||
<!--@elseif($widget_info->list_type == "image_title")-->
|
||||
<!--#include("./image_title.html")-->
|
||||
<!--@elseif($widget_info->list_type == "image_title_content")-->
|
||||
<!--#include("./image_title_content.html")-->
|
||||
<!--@else-->
|
||||
<!--#include("./normal.html")-->
|
||||
<!--@end-->
|
||||
19
widgets/content/skins/default/_tab_top.html
Normal file
19
widgets/content/skins/default/_tab_top.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<ul class="widgetTabA widgetTab">
|
||||
{@$i=0}
|
||||
<!--@foreach($widget_info->tab as $module_srl => $tab)-->
|
||||
<li<!--@if($i==0)--> class="active"<!--@end-->><a href="{$tab->url}" onmouseover="content_widget_tab_show(jQuery(this),jQuery(this).parents('ul.widgetTabA').next('dl.widgetDivider'),{$i})">{$tab->title}</a></li>
|
||||
{@$i++}
|
||||
<!--@end-->
|
||||
</ul>
|
||||
|
||||
<dl class="widgetDivider">
|
||||
{@$i=0}
|
||||
<!--@foreach($widget_info->tab as $module_srl => $tab)-->
|
||||
<dt>{$tab->title}</dt>
|
||||
<dd<!--@if($i==0)--> class="open"<!--@end-->>
|
||||
{@$widget_info->content_items = $tab->content_items}
|
||||
<!--#include("_tab_none.html")-->
|
||||
</dd>
|
||||
{@$i++}
|
||||
<!--@end-->
|
||||
</dl>
|
||||
18
widgets/content/skins/default/content.html
Normal file
18
widgets/content/skins/default/content.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<!--%import("./js/content_widget.js")-->
|
||||
<!--@if($colorset == "black")-->
|
||||
<!--%import("./css/widget.css")-->
|
||||
<!--%import("./css/black.css")-->
|
||||
<!--@else-->
|
||||
<!--%import("./css/widget.css")-->
|
||||
<!--%import("./css/white.css")-->
|
||||
<!--@end-->
|
||||
|
||||
<div class="widgetContainer">
|
||||
<!--@if($widget_info->tab_type == "tab_left")-->
|
||||
<!--#include("./_tab_left.html")-->
|
||||
<!--@elseif($widget_info->tab_type == "tab_top")-->
|
||||
<!--#include("./_tab_top.html")-->
|
||||
<!--@else-->
|
||||
<!--#include("./_tab_none.html")-->
|
||||
<!--@end-->
|
||||
</div>
|
||||
43
widgets/content/skins/default/css/black.css
Normal file
43
widgets/content/skins/default/css/black.css
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
@charset "utf-8";
|
||||
.widgetTabC{ border-color:#7f7f7f;}
|
||||
.widgetTabC li{ border-color:#7f7f7f; background:#222;}
|
||||
.widgetTabC li a{ color:#999;}
|
||||
.widgetTabC li a:hover,
|
||||
.widgetTabC li a:active,
|
||||
.widgetTabC li a:focus{ background:#333;}
|
||||
.widgetTabA{ border-color:#999;}
|
||||
.widgetTabA li,
|
||||
.widgetTabA li a{ background-image:url(../img/black/buttonWidgetTab.gif);}
|
||||
.widgetTabA li a{ color:#999;}
|
||||
|
||||
.widgetTableA td.title a{ color:#999;}
|
||||
.widgetTableA td .board{ color:#999; background:url(../img/black/lineTextDiv.gif) no-repeat right center;}
|
||||
.widgetTableA td .notice{ color:#ff1a1a; background:url(../img/black/lineTextDiv.gif) no-repeat right center;}
|
||||
.widgetTableA td .category{ color:#999; background:url(../img/black/lineTextDiv.gif) no-repeat right center;}
|
||||
.widgetTableA td .replyNum{ color:#ff1a1a;}
|
||||
.widgetTableA td .trackbackNum{ color:#66c;}
|
||||
.widgetTableA td .author { color:#999;}
|
||||
.widgetTableA td .date{ color:#999;}
|
||||
.widgetTableA td .hour{ color:#888;}
|
||||
|
||||
.widgetGalleryA li .title{ color:#999;}
|
||||
.widgetGalleryA li .replyNum a{ color:#ff1a1a;}
|
||||
.widgetGalleryA li .trackbackNum a{ color:#66c;}
|
||||
.widgetGalleryA li .author{ color:#999;}
|
||||
.widgetGalleryA li .date{ color:#999;}
|
||||
.widgetGalleryA li .hour{ color:#888;}
|
||||
|
||||
.widgetThumb{ color:#999;}
|
||||
.widgetThumb a{ color:#999;}
|
||||
.widgetThumb .hour{ color:#888;}
|
||||
|
||||
.widgetZineA li .board{ color:#999; background:url(../img/black/lineTextDiv.gif) no-repeat right center;}
|
||||
.widgetZineA li .title{ color:#999;}
|
||||
.widgetZineA li .replyNum a{ color:#ff1a1a;}
|
||||
.widgetZineA li .trackbackNum a{ color:#66c;}
|
||||
.widgetZineA li .author{ color:#999;}
|
||||
.widgetZineA li .category{ color:#999; background:url(../img/black/lineTextDiv.gif) no-repeat right center;}
|
||||
.widgetZineA li .date{ color:#999;}
|
||||
.widgetZineA li .hour{ color:#888;}
|
||||
.widgetZineA li .text{ color:#888;}
|
||||
|
||||
43
widgets/content/skins/default/css/white.css
Normal file
43
widgets/content/skins/default/css/white.css
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
@charset "utf-8";
|
||||
.widgetTabC{ border-color:#e5e5e5;}
|
||||
.widgetTabC li{ border-color:#e5e5e5; background:#f8f8f8;}
|
||||
.widgetTabC li a{ color:#333;}
|
||||
.widgetTabC li a:hover,
|
||||
.widgetTabC li a:active,
|
||||
.widgetTabC li a:focus{ background:#eee;}
|
||||
.widgetTabA{ border-color:#666;}
|
||||
.widgetTabA li,
|
||||
.widgetTabA li a{ background-image:url(../img/white/buttonWidgetTab.gif);}
|
||||
.widgetTabA li a{ color:#333;}
|
||||
|
||||
.widgetTableA td.title a{ color:#333;}
|
||||
.widgetTableA td .board{ color:#333; background:url(../img/white/lineTextDiv.gif) no-repeat right center;}
|
||||
.widgetTableA td .notice{ color:#ff1a1a; background:url(../img/white/lineTextDiv.gif) no-repeat right center;}
|
||||
.widgetTableA td .category{ color:#333; background:url(../img/white/lineTextDiv.gif) no-repeat right center;}
|
||||
.widgetTableA td .replyNum a{ color:#ff1a1a;}
|
||||
.widgetTableA td .trackbackNum a{ color:#66c;}
|
||||
.widgetTableA td .author { color:#333;}
|
||||
.widgetTableA td .date{ color:#333;}
|
||||
.widgetTableA td .hour{ color:#888;}
|
||||
|
||||
.widgetGalleryA li .title{ color:#333;}
|
||||
.widgetGalleryA li .replyNum a{ color:#ff1a1a;}
|
||||
.widgetGalleryA li .trackbackNum a{ color:#66c;}
|
||||
.widgetGalleryA li .author{ color:#333;}
|
||||
.widgetGalleryA li .date{ color:#333;}
|
||||
.widgetGalleryA li .hour{ color:#888;}
|
||||
|
||||
.widgetThumb{ color:#333;}
|
||||
.widgetThumb a{ color:#333;}
|
||||
.widgetThumb .hour{ color:#888;}
|
||||
|
||||
.widgetZineA li .board{ color:#333; background:url(../img/white/lineTextDiv.gif) no-repeat right center;}
|
||||
.widgetZineA li .title{ color:#666;}
|
||||
.widgetZineA li .replyNum a{ color:#ff1a1a;}
|
||||
.widgetZineA li .trackbackNum a{ color:#66c;}
|
||||
.widgetZineA li .author{ color:#333;}
|
||||
.widgetZineA li .category{ color:#333; background:url(../img/white/lineTextDiv.gif) no-repeat right center;}
|
||||
.widgetZineA li .date{ color:#333;}
|
||||
.widgetZineA li .hour{ color:#888;}
|
||||
.widgetZineA li .text{ color:#888;}
|
||||
|
||||
98
widgets/content/skins/default/css/widget.css
Normal file
98
widgets/content/skins/default/css/widget.css
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
@charset "utf-8";
|
||||
|
||||
.open{ display:block !important;}
|
||||
.floatLeft{ float:left;}
|
||||
.floatRight{ float:right;}
|
||||
.clearLeft{ clear:left;}
|
||||
.clearRight{ clear:right;}
|
||||
|
||||
.widgetContainer a{ text-decoration:none;}
|
||||
.widgetContainer a:hover,
|
||||
.widgetContainer a:active,
|
||||
.widgetContainer a:focus{ text-decoration:underline;}
|
||||
.widgetContainer img{ border:0;}
|
||||
.widgetContainer sup{ position:relative; line-height:1; display:inline-block; margin:-5px 0; *padding:0 1px;}
|
||||
.widgetContainer form{ margin:0; padding:0;}
|
||||
.widgetContainer fieldset{ border:0; margin:0; padding:0;}
|
||||
|
||||
.widgetTabA{ position:relative; margin:0 0 10px 0; padding:0; *zoom:1; border-bottom:2px solid;}
|
||||
.widgetTabA:after{ content:""; display:block; clear:both;}
|
||||
.widgetTabA li{ float:left; margin-right:1px; list-style:none; background-repeat:no-repeat; background-position:0 0;}
|
||||
.widgetTabA li.active{ background-position:0 -30px;}
|
||||
.widgetTabA li a{ position:relative; left:2px; float:left; height:20px; padding:8px 15px 0 15px; text-decoration:none; font-size:12px; background-repeat:no-repeat; background-position:right 0;}
|
||||
.widgetTabA li.active a{ background-position:right -30px; font-weight:bold; letter-spacing:-1px;}
|
||||
|
||||
.widgetTableA { width:100%; font-size:12px; position:relative; border:0;}
|
||||
.widgetTableA td{ border:0; line-height:1.5; white-space:nowrap; vertical-align:top; padding:1px 5px 1px 5px;}
|
||||
.widgetTableA td.title{ width:100%; white-space:normal;}
|
||||
.widgetTableA td .board{ padding-right:5px;}
|
||||
.widgetTableA td .notice{ padding-right:5px;}
|
||||
.widgetTableA td .category{ padding-right:5px; font-weight:normal;}
|
||||
.widgetTableA td .replyNum a{ font:10px Tahoma;}
|
||||
.widgetTableA td .trackbackNum a{ font:10px Tahoma;}
|
||||
.widgetTableA td.author{}
|
||||
.widgetTableA td.time{ font-size:11px; font-family:Tahoma;}
|
||||
|
||||
|
||||
.widgetTabC{ margin:0; padding:0; font-size:12px; border-top:1px solid;}
|
||||
.widgetTabC li{ list-style:none; border-bottom:1px solid; *zoom:1; margin-bottom:1px;}
|
||||
.widgetTabC li a{ display:block; padding:7px 0 6px 10px; text-decoration:none; *zoom:1;}
|
||||
|
||||
dl.widgetDivider{ margin:0;}
|
||||
dl.widgetDivider dt{ position:absolute; width:0; height:0; overflow:hidden; font-size:0; line-height:0;}
|
||||
dl.widgetDivider dd{ display:none; margin:0;}
|
||||
|
||||
.widgetNavigator{ margin:0; padding:0; text-align:right; clear:both;}
|
||||
.widgetNavigator li{ list-style:none; display:inline;}
|
||||
.widgetNavigator li button{ width:16px; height:16px; padding:0; background-color:transparent; background-image:url(../img/white/buttonWidgetNavigation.gif); border:1px solid #999; cursor:pointer;}
|
||||
.widgetNavigator li button.prev{ background-position:left center; *background-position:-1px center;}
|
||||
.widgetNavigator li button.next{ background-position:right center; *background-position:13px center;}
|
||||
.widgetNavigator li button span{ position:absolute; display:block; width:0; height:0; overflow:hidden; visibility:hidden;}
|
||||
|
||||
.widgetGalleryA{ position:relative; margin:0; padding:0; font-size:12px; line-height:1.5; *zoom:1;}
|
||||
.widgetGalleryA:after{ content:""; display:block; clear:both;}
|
||||
.widgetGalleryA li { float:left; overflow:hidden; width:100px; margin-right:28px; margin-bottom:15px; padding-bottom:15px; white-space:nowrap; list-style:none;}
|
||||
.widgetGalleryA li.clearRight{ margin-right:0;}
|
||||
.widgetGalleryA li .thumb{ display:block; position:relative; width:100px; height:75px; margin-bottom:10px; overflow:hidden; text-decoration:none;}
|
||||
.widgetGalleryA li .thumb img{ display:block; position:relative; width:100%;}
|
||||
.widgetGalleryA li .thumb .imgNone{ display:block; position:relative; width:100%; height:70%; padding-top:30%; background:#eee; text-align:center; cursor:pointer; color:#000;}
|
||||
.widgetGalleryA li .thumb .board{ display:block; position:absolute; width:100%; top:0; left:0; padding:2px 0 0 0 !important; cursor:pointer; text-align:center; font-weight:normal; background:#000; color:#fff; opacity:0.6; filter:alpha(opacity=60); -ms-filter:alpha('opacity=60'); }
|
||||
.widgetGalleryA li .thumb .category{ display:block; position:absolute; width:100%; bottom:0; left:0; padding:2px 0 0 0 !important; cursor:pointer; text-align:center; font-weight:normal; background:#000; color:#fff; opacity:0.6; filter:alpha(opacity=60); -ms-filter:alpha('opacity=60'); }
|
||||
.widgetGalleryA li .author{ display:block;}
|
||||
.widgetGalleryA li .replyNum a{ font:10px Tahoma; margin:0 -1px;}
|
||||
.widgetGalleryA li .trackbackNum a{ font:10px Tahoma; margin:0 -1px;}
|
||||
.widgetGalleryA li .date{ font:11px Tahoma;}
|
||||
.widgetGalleryA li .hour{ font:11px Tahoma;}
|
||||
|
||||
/* widgetThumb */
|
||||
.widgetThumb{ position:relative; margin:0; text-align:center; font-size:12px; line-height:1.5;}
|
||||
.widgetThumb .thumb{ display:block; margin-bottom:5px; position:relative; *zoom:1; text-decoration:none;}
|
||||
.widgetThumb .thumb img{ display:block; width:100%;}
|
||||
.widgetThumb .thumb .imgNone{ display:block; position:relative; width:100%; padding-top:30px; padding-bottom:50px; background:#eee; text-align:center; cursor:pointer; color:#000;}
|
||||
.widgetThumb .thumb .category{ display:block; position:absolute; width:100%; bottom:0; left:0; padding:2px 0 0 0 !important; cursor:pointer; text-align:center; font-weight:normal; background:#000; color:#fff; opacity:0.6; filter:alpha(opacity=60); -ms-filter:alpha('opacity=60'); }
|
||||
.widgetThumb .title{ display:block;}
|
||||
.widgetThumb .author{ display:block;}
|
||||
.widgetThumb .date{ font-size:11px; font-family:Tahoma;}
|
||||
.widgetThumb .hour{ font-size:11px; font-family:Tahoma;}
|
||||
|
||||
.widgetZineA{ position:relative; margin:0; padding:0; font-size:12px; line-height:1.5; *zoom:1;}
|
||||
.widgetZineA:after{ content:""; display:block; clear:both;}
|
||||
.widgetZineA li { list-style:none; clear:both; margin-bottom:10px; padding-bottom:10px; *zoom:1; overflow:hidden; }
|
||||
.widgetZineA li p{ margin:0; padding:0;}
|
||||
.widgetZineA li p.thumbArea{ position:relative; float:left; width:100px; margin-right:-100px; overflow:hidden;}
|
||||
.widgetZineA li p.titleArea{ margin-left:120px; margin-bottom:4px;}
|
||||
.widgetZineA li p.titleArea .board{ padding-right:5px;}
|
||||
.widgetZineA li p.text{ margin-left:120px; margin-bottom:4px;}
|
||||
.widgetZineA li p.authorArea{ margin-left:120px;}
|
||||
.widgetZineA li .thumb{ display:block; position:relative; width:100px; height:75px; text-decoration:none; overflow:hidden;}
|
||||
.widgetZineA li .thumb img{ position:relative; width:100%;}
|
||||
.widgetZineA li .thumb .imgNone{ display:block; position:relative; width:100%; height:80%; padding-top:20%; background:#eee; text-align:center; cursor:pointer; color:#000;}
|
||||
.widgetZineA li .thumb .category{ display:block; position:absolute; width:100%; bottom:0; left:0; padding:2px 0 0 0 !important; cursor:pointer; text-align:center; font-weight:normal; background:#000; color:#fff; opacity:0.6; filter:alpha(opacity=60); -ms-filter:alpha('opacity=60'); }
|
||||
.widgetZineA li .category{ padding-right:5px; font-weight:normal;}
|
||||
.widgetZineA li .title{ font-weight:bold;}
|
||||
.widgetZineA li .replyNum a{ font:10px Tahoma; margin:0 -1px;}
|
||||
.widgetZineA li .trackbackNum a{ font:10px Tahoma; margin:0 -1px;}
|
||||
.widgetZineA li .author{ margin-right:10px;}
|
||||
.widgetZineA li .date{ font:11px Tahoma;}
|
||||
.widgetZineA li .hour{ font:11px Tahoma;}
|
||||
|
||||
51
widgets/content/skins/default/gallery.html
Normal file
51
widgets/content/skins/default/gallery.html
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
<ul class="widgetGalleryA" style="width:{$widget_info->cols_list_count*($widget_info->thumbnail_width+28)}px;">
|
||||
{@$_idx=0}
|
||||
<!--@foreach($widget_info->content_items as $key => $item)-->
|
||||
<li<!--@if($_idx>0 && $_idx % $widget_info->cols_list_count==0)--> class="clearLeft"<!--@end--> style="<!--@if($_idx >= $widget_info->list_count)-->display:none<!--@end-->;width:{$widget_info->thumbnail_width}px;">
|
||||
<!--@foreach($widget_info->option_view_arr as $k => $v)-->
|
||||
<!--@if($v=='thumbnail')-->
|
||||
<a href="{$item->getLink()}" class="thumb" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px">
|
||||
<!--@if($item->getThumbnail())-->
|
||||
<img src="{$item->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px"/>
|
||||
<!--@else-->
|
||||
<span class="imgNone">{$lang->none_image}</span>
|
||||
<!--@end-->
|
||||
<!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
|
||||
<strong class="board">{$item->getBrowserTitle()}</strong>
|
||||
<!--@end-->
|
||||
<!--@if($widget_info->show_category=='Y' && $item->getCategory())-->
|
||||
<strong class="category">{$item->getCategory()}</strong>
|
||||
<!--@end-->
|
||||
</a>
|
||||
|
||||
<!--@else if($v=='title')-->
|
||||
<a href="{$item->getLink()}" class="title">{$item->getTitle($widget_info->subject_cut_size)}</a>
|
||||
<!--@if($widget_info->show_trackback_count=='Y' && $item->getCommentCount())-->
|
||||
<sup class="replyNum"><a href="{$item->getLink()}#comment">{$item->getCommentCount()}</a></sup>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_trackback_count=='Y' && $item->getTrackbackCount())-->
|
||||
<sup class="trackbackNum"><a href="{$item->getLink()}#trackback">{$item->getTrackbackCount()}</a></sup>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_icon=='Y')-->
|
||||
<span class="icon">{$item->printExtraImages()}<span>
|
||||
<!--@end-->
|
||||
|
||||
<!--@else if($v=='nickname')-->
|
||||
<a href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}">{$item->getNickName()}</a>
|
||||
<!--@else if($v=='regdate')-->
|
||||
<span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour">{$item->getRegdate("H:i")}</span>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</li>
|
||||
{@$_idx++}
|
||||
<!--@end-->
|
||||
</ul>
|
||||
|
||||
<!--@if($widget_info->page_count > 1 && $widget_info->list_count<$_idx)-->
|
||||
<ul class="widgetNavigator">
|
||||
<li><button type="button" class="prev" title="{$lang->cmd_prev}" onclick="content_widget_prev(jQuery(this).parents('ul.widgetNavigator').prev('ul.widgetGalleryA'),{$widget_info->list_count})"><span>{$lang->cmd_prev}</span></button></li>
|
||||
<li><button type="button" class="next" title="{$lang->cmd_next}" onclick="content_widget_next(jQuery(this).parents('ul.widgetNavigator').prev('ul.widgetGalleryA'),{$widget_info->list_count})"><span>{$lang->cmd_next}</span></button></li>
|
||||
</ul>
|
||||
<!--@end-->
|
||||
60
widgets/content/skins/default/image_title.html
Normal file
60
widgets/content/skins/default/image_title.html
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
{@$have_first_thumbnail=false}
|
||||
<!--@if(count($widget_info->content_items) && $widget_info->content_items[0]->haveFirstThumbnail())-->
|
||||
{@$thumbnail_idx = $widget_info->content_items[0]->getFirstThumbnailIdx() }
|
||||
{@$have_first_thumbnail=true}
|
||||
<p class="widgetThumb floatLeft" style="margin-right:-{$widget_info->thumbnail_width}px">
|
||||
<a href="{$widget_info->content_items[$thumbnail_idx]->getLink()}" class="thumb"><img src="{$widget_info->content_items[$thumbnail_idx]->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px"></a>
|
||||
</p>
|
||||
<!--@end-->
|
||||
|
||||
<div<!--@if($have_first_thumbnail)--> style="padding-left:{$widget_info->thumbnail_width+10}px"<!--@end-->>
|
||||
<table class="widgetTableA" border="1" cellspacing="0">
|
||||
<tbody>
|
||||
{@$_idx=0}
|
||||
<!--@foreach($widget_info->content_items as $key => $item)-->
|
||||
<tr<!--@if($_idx >= $widget_info->list_count)--> style="display:none"<!--@end-->>
|
||||
<!--@foreach($widget_info->option_view_arr as $k => $v)-->
|
||||
<!--@if($v=='title')-->
|
||||
<td class="title">
|
||||
|
||||
<!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
|
||||
<a href="{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}"><strong class="board">{$item->getBrowserTitle()}</strong></a>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_category=='Y' && $item->getCategory())-->
|
||||
<a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}"><strong class="category">{$item->getCategory()}</strong></a>
|
||||
<!--@end-->
|
||||
|
||||
<a href="{$item->getLink()}">{$item->getTitle($widget_info->subject_cut_size)}</a>
|
||||
|
||||
<!--@if($widget_info->show_trackback_count=='Y' && $item->getCommentCount())-->
|
||||
<sup class="replyNum"><a href="{$item->getLink()}#comment">{$item->getCommentCount()}</a></sup>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_trackback_count=='Y' && $item->getTrackbackCount())-->
|
||||
<sup class="trackbackNum"><a href="{$item->getLink()}#trackback">{$item->getTrackbackCount()}</a></sup>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_icon=='Y')-->
|
||||
<span class="icon">{$item->printExtraImages()}<span></td>
|
||||
<!--@end-->
|
||||
|
||||
<!--@else if($v=='nickname')-->
|
||||
<td><a href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}">{$item->getNickName()}</a></td>
|
||||
<!--@else if($v=='regdate')-->
|
||||
<td class="time"><span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour">{$item->getRegdate("H:i")}</span></td>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</tr>
|
||||
{@$_idx++}
|
||||
<!--@end-->
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!--@if($widget_info->page_count > 1 && $widget_info->list_count<$_idx)-->
|
||||
<ul class="widgetNavigator">
|
||||
<li><button type="button" class="prev" title="{$lang->cmd_prev}" onclick="content_widget_prev(jQuery(this).parents('ul.widgetNavigator').prev('div').children('table.widgetTableA'),{$widget_info->list_count})"><span>{$lang->cmd_prev}</span></button></li>
|
||||
<li><button type="button" class="next" title="{$lang->cmd_next}" onclick="content_widget_next(jQuery(this).parents('ul.widgetNavigator').prev('div').children('table.widgetTableA'),{$widget_info->list_count})"><span>{$lang->cmd_next}</span></button></li>
|
||||
</ul>
|
||||
<!--@end-->
|
||||
80
widgets/content/skins/default/image_title_content.html
Normal file
80
widgets/content/skins/default/image_title_content.html
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
<ul class="widgetZineA">
|
||||
{@$_idx=0}
|
||||
<!--@foreach($widget_info->content_items as $key => $item)-->
|
||||
<li<!--@if($_idx >= $widget_info->list_count)--> style="display:none"<!--@end-->>
|
||||
|
||||
<p class="thumbArea" style="width:{$widget_info->thumbnail_width}px;margin-right:-{$widget_info->thumbnail_width}px;">
|
||||
<a href="{$item->getLink()}" class="thumb" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px">
|
||||
<!--@if($item->getThumbnail())-->
|
||||
<img src="{$item->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px" />
|
||||
<!--@else-->
|
||||
<span class="imgNone">{$lang->none_image}</span>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_category=='Y' && $item->getCategory())-->
|
||||
<strong class="category">{$item->getCategory()}</strong>
|
||||
<!--@end-->
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<!--@for($j=0,$c=count($widget_info->option_view_arr);$j<$c;$j++)-->
|
||||
|
||||
<!--@if($widget_info->option_view_arr[$j]=='title')-->
|
||||
<p class="titleArea" style="margin-left:{$widget_info->thumbnail_width+20}px;">
|
||||
|
||||
<!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
|
||||
<a href="{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}"><strong class="board">{$item->getBrowserTitle()}</strong></a>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_category=='Y' && $item->get('category_srl') )-->
|
||||
<a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}"><strong class="category">{$item->getCategory()}</strong></a>
|
||||
<!--@end-->
|
||||
|
||||
<a href="{$item->getLink()}" class="title">{$item->getTitle($widget_info->subject_cut_size)}</a>
|
||||
|
||||
<!--@if($widget_info->show_trackback_count=='Y' && $item->getCommentCount())-->
|
||||
<sup class="replyNum"><a href="{$item->getLink()}#comment">{$item->getCommentCount()}</a></sup>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_trackback_count=='Y' && $item->getTrackbackCount())-->
|
||||
<sup class="trackbackNum"><a href="{$item->getLink()}#trackback">{$item->getTrackbackCount()}</a></sup>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_icon=='Y')-->
|
||||
<span class="icon">{$item->printExtraImages()}<span></td>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->option_view_arr[$j+1]=='regdate')-->
|
||||
<span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour">{$item->getRegdate("H:i")}</span>
|
||||
<!--@end-->
|
||||
</p>
|
||||
|
||||
<!--@else if($widget_info->option_view_arr[$j]=='content')-->
|
||||
<p class="text" style="margin-left:{$widget_info->thumbnail_width+20}px;">
|
||||
{$item->getContent()}
|
||||
<!--@if($widget_info->option_view_arr[$j+1]=='regdate')-->
|
||||
<span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour">{$item->getRegdate("H:i")}</span>
|
||||
<!--@end-->
|
||||
</p>
|
||||
|
||||
<!--@else if($widget_info->option_view_arr[$j]=='nickname')-->
|
||||
<p class="authorArea" style="margin-left:{$widget_info->thumbnail_width+20}px;">
|
||||
<a href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}">{$item->getNickName()}</a>
|
||||
<!--@if($widget_info->option_view_arr[$j+1]=='regdate')-->
|
||||
<span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour">{$item->getRegdate("H:i")}</span>
|
||||
<!--@end-->
|
||||
</p>
|
||||
<!--@end-->
|
||||
|
||||
<!--@end-->
|
||||
</li>
|
||||
{@$_idx++}
|
||||
<!--@end-->
|
||||
</ul>
|
||||
|
||||
<!--@if($widget_info->page_count > 1 && $widget_info->list_count<$_idx)-->
|
||||
<ul class="widgetNavigator">
|
||||
<li><button type="button" class="prev" title="{$lang->cmd_prev}" onclick="content_widget_prev(jQuery(this).parents('ul.widgetNavigator').prev('ul.widgetZineA'),{$widget_info->list_count})"><span>{$lang->cmd_prev}</span></button></li>
|
||||
<li><button type="button" class="next" title="{$lang->cmd_next}" onclick="content_widget_next(jQuery(this).parents('ul.widgetNavigator').prev('ul.widgetZineA'),{$widget_info->list_count})"><span>{$lang->cmd_next}</span></button></li>
|
||||
</ul>
|
||||
<!--@end-->
|
||||
BIN
widgets/content/skins/default/img/black/buttonWidgetTab.gif
Normal file
BIN
widgets/content/skins/default/img/black/buttonWidgetTab.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.5 KiB |
BIN
widgets/content/skins/default/img/black/lineTextDiv.gif
Normal file
BIN
widgets/content/skins/default/img/black/lineTextDiv.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 B |
Binary file not shown.
|
After Width: | Height: | Size: 72 B |
BIN
widgets/content/skins/default/img/white/buttonWidgetTab.gif
Normal file
BIN
widgets/content/skins/default/img/white/buttonWidgetTab.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1 KiB |
BIN
widgets/content/skins/default/img/white/lineTextDiv.gif
Executable file
BIN
widgets/content/skins/default/img/white/lineTextDiv.gif
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 44 B |
59
widgets/content/skins/default/js/content_widget.js
Normal file
59
widgets/content/skins/default/js/content_widget.js
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
function content_widget_next(obj,list_per_page){
|
||||
var page = 1;
|
||||
if(obj.is('table')) {
|
||||
var list = jQuery('>tbody>tr',obj);
|
||||
} else if(obj.is('ul')) {
|
||||
var list = jQuery('>li',obj);
|
||||
}
|
||||
|
||||
var total_page = parseInt((list.size()-1) / list_per_page,10)+1;
|
||||
list.each(function(i){
|
||||
if(jQuery(this).css('display') !='none'){
|
||||
page = parseInt((i+1)/list_per_page,10)+1;
|
||||
return false;
|
||||
}
|
||||
});
|
||||
if(total_page <= page) return;
|
||||
list.each(function(i){
|
||||
if( (page* list_per_page) <= i && ((page+1) * list_per_page) > i){
|
||||
jQuery(this).show();
|
||||
}else{
|
||||
jQuery(this).hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function content_widget_prev(obj,list_per_page){
|
||||
var page = 1;
|
||||
if(obj.is('table')){
|
||||
var list = jQuery('>tbody>tr',obj);
|
||||
}else if(obj.is('ul')){
|
||||
var list = jQuery('>li',obj);
|
||||
}
|
||||
|
||||
var total_page = parseInt((list.size()-1) / list_per_page,10)+1;
|
||||
list.each(function(i){
|
||||
if(jQuery(this).css('display') !='none'){
|
||||
page = parseInt((i+1)/list_per_page,10)+1;
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
if(page <= 1) return;
|
||||
list.each(function(i){
|
||||
if( ((page-2)* list_per_page)<= i && ((page-1) * list_per_page) > i){
|
||||
jQuery(this).show();
|
||||
}else{
|
||||
jQuery(this).hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function content_widget_tab_show(tab,list,i){
|
||||
tab.parents('ul.widgetTab').children('li.active').removeClass('active');
|
||||
tab.parent('li').addClass('active');
|
||||
jQuery('>dd',list).each(function(j){
|
||||
if(j==i) jQuery(this).addClass('open');
|
||||
else jQuery(this).removeClass('open');
|
||||
});
|
||||
}
|
||||
49
widgets/content/skins/default/normal.html
Normal file
49
widgets/content/skins/default/normal.html
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
<table class="widgetTableA" border="1" cellspacing="0">
|
||||
<tbody>
|
||||
{@$_idx=0}
|
||||
<!--@foreach($widget_info->content_items as $key => $item)-->
|
||||
<tr<!--@if($_idx >= $widget_info->list_count)--> style="display:none"<!--@end-->>
|
||||
<!--@foreach($widget_info->option_view_arr as $k => $v)-->
|
||||
<!--@if($v=='title')-->
|
||||
<td class="title">
|
||||
|
||||
<!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
|
||||
<a href="{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}"><strong class="board">{$item->getBrowserTitle()}</strong></a>
|
||||
<!--@end-->
|
||||
<!--@if($widget_info->show_category=='Y' && $item->get('category_srl') )-->
|
||||
<a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}"><strong class="category">{$item->getCategory()}</strong></a>
|
||||
<!--@end-->
|
||||
|
||||
<a href="{$item->getLink()}">{$item->getTitle($widget_info->subject_cut_size)}</a>
|
||||
|
||||
<!--@if($widget_info->show_trackback_count=='Y' && $item->getCommentCount())-->
|
||||
<sup class="replyNum"><a href="{$item->getLink()}#comment">{$item->getCommentCount()}</a></sup>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_trackback_count=='Y' && $item->getTrackbackCount())-->
|
||||
<sup class="trackbackNum"><a href="{$item->getLink()}#trackback">{$item->getTrackbackCount()}</a></sup>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_icon=='Y')-->
|
||||
<span class="icon">{$item->printExtraImages()}<span></td>
|
||||
<!--@end-->
|
||||
</td>
|
||||
<!--@else if($v=='nickname')-->
|
||||
<td><a href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}">{$item->getNickName()}</a></td>
|
||||
<!--@else if($v=='regdate')-->
|
||||
<td class="time"><span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour">{$item->getRegdate("H:i")}</span></td>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</tr>
|
||||
{@$_idx++}
|
||||
<!--@end-->
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<!--@if($widget_info->page_count > 1 && $widget_info->list_count<$_idx)-->
|
||||
<ul class="widgetNavigator">
|
||||
<li><button type="button" class="prev" title="{$lang->cmd_prev}" onclick="content_widget_prev(jQuery(this).parents('ul.widgetNavigator').prev('table.widgetTableA'),{$widget_info->list_count})"><span>{$lang->cmd_prev}</span></button></li>
|
||||
<li><button type="button" class="next" title="{$lang->cmd_next}" onclick="content_widget_next(jQuery(this).parents('ul.widgetNavigator').prev('table.widgetTableA'),{$widget_info->list_count})"><span>{$lang->cmd_next}</span></button></li>
|
||||
</ul>
|
||||
<!--@end-->
|
||||
49
widgets/content/skins/default/skin.xml
Normal file
49
widgets/content/skins/default/skin.xml
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<skin version="0.2">
|
||||
<title xml:lang="ko">Content 위젯 기본 스킨</title>
|
||||
<title xml:lang="zh-CN">全局内容控件默认皮肤</title>
|
||||
<title xml:lang="zh-TW">全局内容控件預設面板</title>
|
||||
<description xml:lang="ko">Content 위젯 기본 스킨 입니다.
|
||||
Html/Publish: 정찬명
|
||||
Design : mada
|
||||
Programming : SOL
|
||||
</description>
|
||||
<description xml:lang="zh-CN">全局内容控件默认皮肤。
|
||||
Html/Publish: Chan-Myung Jeong
|
||||
Design : mada
|
||||
Programming : SOL
|
||||
</description>
|
||||
<description xml:lang="zh-TW">全局内容控件預設面板。
|
||||
Html/Publish: Chan-Myung Jeong
|
||||
Design : mada
|
||||
Programming : SOL
|
||||
</description>
|
||||
<version>0.1</version>
|
||||
<date>2009-02-10</date>
|
||||
<link>http://www.ngleader.com</link>
|
||||
|
||||
<author email_address="sol@ngleader.com" link="http://www.ngleader.com">
|
||||
<name xml:lang="ko">sol</name>
|
||||
<name xml:lang="jp">sol</name>
|
||||
<name xml:lang="en">sol</name>
|
||||
<name xml:lang="zh-CN">sol</name>
|
||||
<name xml:lang="zh-TW">sol</name>
|
||||
</author>
|
||||
|
||||
<colorset>
|
||||
<color name="white">
|
||||
<title xml:lang="ko">흰색 바탕용</title>
|
||||
<title xml:lang="jp">白い背景用</title>
|
||||
<title xml:lang="zh-CN">白色背景</title>
|
||||
<title xml:lang="en">White Background</title>
|
||||
<title xml:lang="zh-TW">白色背景</title>
|
||||
</color>
|
||||
<color name="black">
|
||||
<title xml:lang="ko">어두운 바탕용</title>
|
||||
<title xml:lang="jp">暗い背景用</title>
|
||||
<title xml:lang="zh-CN">暗色背景</title>
|
||||
<title xml:lang="en">Dark Background</title>
|
||||
<title xml:lang="zh-TW">暗色背景</title>
|
||||
</color>
|
||||
</colorset>
|
||||
</skin>
|
||||
Loading…
Add table
Add a link
Reference in a new issue