mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
ë¸ë¡ê·¸ìì ì¬ì©ëë ìµê·¼ê¸/ëê¸/ì®ì¸ê¸/íê·¸/ë³´ê´ëª©ë¡ì ìì ¯ì layoutì ë°ë¥´ë ì¤í¨ 컬ë¬ì ì ì¶ê°
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3086 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8fd52c2667
commit
68d82d913e
42 changed files with 246 additions and 206 deletions
|
|
@ -8,26 +8,30 @@
|
|||
<!--%import("css/red.css")-->
|
||||
<!--@elseif($colorset=="purple")-->
|
||||
<!--%import("css/purple.css")-->
|
||||
<!--@else-->
|
||||
<!--@elseif($colorset=="normal")-->
|
||||
<!--%import("css/normal.css")-->
|
||||
<!--@else-->
|
||||
{@ $colorset = ""}
|
||||
<!--@end-->
|
||||
|
||||
<div id="archive">
|
||||
<div class="header">
|
||||
<!--@if($widget_info->title)-->
|
||||
<h2>{$widget_info->title}</h2>
|
||||
<!--@else-->
|
||||
<h2>archives</h2>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<ul class="archiveList">
|
||||
<!--@foreach($widget_info->archive_list as $val)-->
|
||||
<!--@if($layout_info->mid)-->
|
||||
<li><a href="{getUrl('','mid',$layout_info->mid,'search_target','regdate','search_keyword',$val->month)}">{zdate($val->month,'Y. m')}</a> ({$val->count})</li>
|
||||
<div class="blog_widget_{$colorset}">
|
||||
<div class="archive">
|
||||
<div class="header">
|
||||
<!--@if($widget_info->title)-->
|
||||
<h2>{$widget_info->title}</h2>
|
||||
<!--@else-->
|
||||
<li><a href="{getUrl('','mid',$mid,'search_target','regdate','search_keyword',$val->month)}">{zdate($val->month,'Y. m')}</a> ({$val->count})</li>
|
||||
<h2>archives</h2>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<ul class="items">
|
||||
<!--@foreach($widget_info->archive_list as $val)-->
|
||||
<!--@if($layout_info->mid)-->
|
||||
<li><a href="{getUrl('','mid',$layout_info->mid,'search_target','regdate','search_keyword',$val->month)}">{zdate($val->month,'Y. m')}</a> ({$val->count})</li>
|
||||
<!--@else-->
|
||||
<li><a href="{getUrl('','mid',$mid,'search_target','regdate','search_keyword',$val->month)}">{zdate($val->month,'Y. m')}</a> ({$val->count})</li>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
div#archive { position:relative; border:1px solid #e0e1db; background:url(../images/cyan/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
div#archive h2 { position:relative; border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
/*:first-child+html .boxTypeB h2 { height:20px;} */
|
||||
div#archive .archiveList { padding:.4em 1.2em .4em 1.2em; overflow:hidden;}
|
||||
div#archive .archiveList li { font-size:.75em; display:block; color:#a4a4a4; margin-right:.1em; line-height:1.5em; font-family:tahoma; }
|
||||
div#archive .archiveList li a { color:#a4a4a4; font-weight:bold; margin-right:1em; font-family:tahoma;}
|
||||
.blog_widget_cyan .archive { position:relative; border:1px solid #e0e1db; background:url(../images/cyan/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_cyan .archive h2 { position:relative; border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.blog_widget_cyan .archive .items { padding:.4em 1.2em .4em 1.2em; overflow:hidden;}
|
||||
.blog_widget_cyan .archive .items li { font-size:.75em; display:block; color:#a4a4a4; margin-right:.1em; line-height:1.5em; font-family:tahoma; }
|
||||
.blog_widget_cyan .archive .items li a { color:#a4a4a4; font-weight:bold; margin-right:1em; font-family:tahoma;}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
div#archive { position:relative; border:1px solid #e0e1db; background:url(../images/green/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
div#archive h2 { position:relative; border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
/*:first-child+html .boxTypeB h2 { height:20px;} */
|
||||
div#archive .archiveList { padding:.4em 1.2em .4em 1.2em; overflow:hidden;}
|
||||
div#archive .archiveList li { font-size:.75em; display:block; color:#a4a4a4; margin-right:.1em; line-height:1.5em; font-family:tahoma; }
|
||||
div#archive .archiveList li a { color:#a4a4a4; font-weight:bold; margin-right:1em; font-family:tahoma;}
|
||||
.blog_widget_green .archive { position:relative; border:1px solid #e0e1db; background:url(../images/green/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_green .archive h2 { position:relative; border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.blog_widget_green .archive .items { padding:.4em 1.2em .4em 1.2em; overflow:hidden;}
|
||||
.blog_widget_green .archive .items li { font-size:.75em; display:block; color:#a4a4a4; margin-right:.1em; line-height:1.5em; font-family:tahoma; }
|
||||
.blog_widget_green .archive .items li a { color:#a4a4a4; font-weight:bold; margin-right:1em; font-family:tahoma;}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
div#archive { position:relative; border:1px solid #e0e1db; background:url(../images/normal/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
div#archive h2 { position:relative; border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
/*:first-child+html .boxTypeB h2 { height:20px;} */
|
||||
div#archive .archiveList { padding:.4em 1.2em .4em 1.2em; overflow:hidden;}
|
||||
div#archive .archiveList li { font-size:.75em; display:block; color:#a4a4a4; margin-right:.1em; line-height:1.5em; font-family:tahoma; }
|
||||
div#archive .archiveList li a { color:#a4a4a4; font-weight:bold; margin-right:1em; font-family:tahoma;}
|
||||
.blog_widget_normal .archive { position:relative; border:1px solid #e0e1db; background:url(../images/normal/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_normal .archive h2 { position:relative; border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.blog_widget_normal .archive .items { padding:.4em 1.2em .4em 1.2em; overflow:hidden;}
|
||||
.blog_widget_normal .archive .items li { font-size:.75em; display:block; color:#a4a4a4; margin-right:.1em; line-height:1.5em; font-family:tahoma; }
|
||||
.blog_widget_normal .archive .items li a { color:#a4a4a4; font-weight:bold; margin-right:1em; font-family:tahoma;}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
div#archive { position:relative; border:1px solid #e0e1db; background:url(../images/purple/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
div#archive h2 { position:relative; border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
/*:first-child+html .boxTypeB h2 { height:20px;} */
|
||||
div#archive .archiveList { padding:.4em 1.2em .4em 1.2em; overflow:hidden;}
|
||||
div#archive .archiveList li { font-size:.75em; display:block; color:#a4a4a4; margin-right:.1em; line-height:1.5em; font-family:tahoma; }
|
||||
div#archive .archiveList li a { color:#a4a4a4; font-weight:bold; margin-right:1em; font-family:tahoma;}
|
||||
.blog_widget_purple .archive { position:relative; border:1px solid #e0e1db; background:url(../images/purple/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_purple .archive h2 { position:relative; border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.blog_widget_purple .archive .items { padding:.4em 1.2em .4em 1.2em; overflow:hidden;}
|
||||
.blog_widget_purple .archive .items li { font-size:.75em; display:block; color:#a4a4a4; margin-right:.1em; line-height:1.5em; font-family:tahoma; }
|
||||
.blog_widget_purple .archive .items li a { color:#a4a4a4; font-weight:bold; margin-right:1em; font-family:tahoma;}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
div#archive { position:relative; border:1px solid #e0e1db; background:url(../images/red/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
div#archive h2 { position:relative; border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
/*:first-child+html .boxTypeB h2 { height:20px;} */
|
||||
div#archive .archiveList { padding:.4em 1.2em .4em 1.2em; overflow:hidden;}
|
||||
div#archive .archiveList li { font-size:.75em; display:block; color:#a4a4a4; margin-right:.1em; line-height:1.5em; font-family:tahoma; }
|
||||
div#archive .archiveList li a { color:#a4a4a4; font-weight:bold; margin-right:1em; font-family:tahoma;}
|
||||
.blog_widget_red .archive { position:relative; border:1px solid #e0e1db; background:url(../images/red/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_red .archive h2 { position:relative; border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.blog_widget_red .archive .items { padding:.4em 1.2em .4em 1.2em; overflow:hidden;}
|
||||
.blog_widget_red .archive .items li { font-size:.75em; display:block; color:#a4a4a4; margin-right:.1em; line-height:1.5em; font-family:tahoma; }
|
||||
.blog_widget_red .archive .items li a { color:#a4a4a4; font-weight:bold; margin-right:1em; font-family:tahoma;}
|
||||
|
|
|
|||
|
|
@ -14,6 +14,12 @@
|
|||
<description xml:lang="en">It displays monthly custody status.</description>
|
||||
</maker>
|
||||
<colorset>
|
||||
<color name="layout">
|
||||
<title xml:lang="ko">레이아웃에 맞춤</title>
|
||||
<title xml:lang="jp">레이아웃에 맞춤</title>
|
||||
<title xml:lang="zh-CN">레이아웃에 맞춤</title>
|
||||
<title xml:lang="en">레이아웃에 맞춤</title>
|
||||
</color>
|
||||
<color name="normal">
|
||||
<title xml:lang="ko">기본 컬러</title>
|
||||
<title xml:lang="jp">デフォルトカラー</title>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.newestComment_cyan { border:1px solid #e0e1db; background:url(../images/cyan/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestComment_cyan h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.newestComment_cyan .commentList { padding:1.2em; overflow:hidden;}
|
||||
.newestComment_cyan .commentList li { display:block; color:#a4a4a4; white-space:nowrap; overflow:hidden; list-style:none; width:100%;}
|
||||
.newestComment_cyan .commentList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none;}
|
||||
.blog_widget_cyan .newest_comment { border:1px solid #e0e1db; background:url(../images/cyan/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_cyan .newest_comment h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_cyan .newest_comment .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_cyan .newest_comment .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_cyan .newest_comment .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.newestComment_green { border:1px solid #e0e1db; background:url(../images/green/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestComment_green h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.newestComment_green .commentList { padding:1.2em; overflow:hidden;}
|
||||
.newestComment_green .commentList li { display:block; color:#a4a4a4; white-space:nowrap; overflow:hidden; list-style:none; width:100%;}
|
||||
.newestComment_green .commentList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none;}
|
||||
.blog_widget_green .newest_comment { border:1px solid #e0e1db; background:url(../images/green/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_green .newest_comment h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_green .newest_comment .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_green .newest_comment .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_green .newest_comment .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.newestComment_normal { border:1px solid #e0e1db; background:url(../images/normal/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestComment_normal h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.newestComment_normal ul.commentList { padding:1.2em; overflow:hidden;}
|
||||
.newestComment_normal ul.commentList li { display:block; color:#a4a4a4; white-space:nowrap; overflow:hidden; list-style:none; width:100%;}
|
||||
.newestComment_normal ul.commentList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none;}
|
||||
.blog_widget_normal .newest_comment { border:1px solid #e0e1db; background:url(../images/normal/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_normal .newest_comment h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_normal .newest_comment .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_normal .newest_comment .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_normal .newest_comment .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.newestComment_purple { border:1px solid #e0e1db; background:url(../images/purple/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestComment_purple h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.newestComment_purple .commentList { padding:1.2em; overflow:hidden;}
|
||||
.newestComment_purple .commentList li { display:block; color:#a4a4a4; white-space:nowrap; overflow:hidden; list-style:none; width:100%;}
|
||||
.newestComment_purple .commentList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none;}
|
||||
.blog_widget_purple .newest_comment { border:1px solid #e0e1db; background:url(../images/purple/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_purple .newest_comment h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_purple .newest_comment .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_purple .newest_comment .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_purple .newest_comment .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.newestComment_red { border:1px solid #e0e1db; background:url(../images/red/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestComment_red h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.newestComment_red .commentList { padding:1.2em; overflow:hidden;}
|
||||
.newestComment_red .commentList li { display:block; color:#a4a4a4; white-space:nowrap; overflow:hidden; list-style:none; width:100%;}
|
||||
.newestComment_red .commentList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none;}
|
||||
.blog_widget_red .newest_comment { border:1px solid #e0e1db; background:url(../images/red/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_red .newest_comment h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_red .newest_comment .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_red .newest_comment .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_red .newest_comment .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -7,12 +7,14 @@
|
|||
<!--%import("css/red.css")-->
|
||||
<!--@elseif($colorset=="purple")-->
|
||||
<!--%import("css/purple.css")-->
|
||||
<!--@else-->
|
||||
<!--@elseif($colorset=="normal")-->
|
||||
<!--%import("css/normal.css")-->
|
||||
{@ $colorset = "normal" }
|
||||
<!--@else-->
|
||||
{@ $colorset = "" }
|
||||
<!--@end-->
|
||||
|
||||
<div class="newestComment_{$colorset}">
|
||||
<div class="blog_widget_{$colorset}">
|
||||
<div class="newest_comment">
|
||||
<div class="header">
|
||||
<!--@if($widget_info->title)-->
|
||||
<h2>{$widget_info->title}</h2>
|
||||
|
|
@ -20,9 +22,10 @@
|
|||
<h2>newest comments</h2>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<ul class="commentList">
|
||||
<ul class="items">
|
||||
<!--@foreach($widget_info->comment_list as $val)-->
|
||||
<li><a href="{getUrl('','document_srl',$val->get('document_srl'))}#comment_{$val->get('comment_srl')}">{$val->getSummary(60)}</a></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.newestDocument_cyan { border:1px solid #e0e1db; background:url(../images/cyan/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestDocument_cyan h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.newestDocument_cyan .documentList { padding:1.2em; overflow:hidden;}
|
||||
.newestDocument_cyan .documentList li { display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.newestDocument_cyan .documentList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
.blog_widget_cyan .newest_document { border:1px solid #e0e1db; background:url(../images/cyan/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_cyan .newest_document h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_cyan .newest_document .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_cyan .newest_document .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_cyan .newest_document .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.newestDocument_green { border:1px solid #e0e1db; background:url(../images/green/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestDocument_green h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.newestDocument_green .documentList { padding:1.2em; overflow:hidden;}
|
||||
.newestDocument_green .documentList li { display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.newestDocument_green .documentList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
.blog_widget_green .newest_document { border:1px solid #e0e1db; background:url(../images/green/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_green .newest_document h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_green .newest_document .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_green .newest_document .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_green .newest_document .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.newestDocument_normal { border:1px solid #e0e1db; background:url(../images/normal/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestDocument_normal h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.newestDocument_normal .documentList { padding:1.2em; overflow:hidden;}
|
||||
.newestDocument_normal .documentList li { display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.newestDocument_normal .documentList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; text-decoration:none; }
|
||||
.blog_widget_normal .newest_document { border:1px solid #e0e1db; background:url(../images/normal/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_normal .newest_document h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_normal .newest_document .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_normal .newest_document .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_normal .newest_document .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.newestDocument_purple { border:1px solid #e0e1db; background:url(../images/purple/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestDocument_purple h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.newestDocument_purple .documentList { padding:1.2em; overflow:hidden;}
|
||||
.newestDocument_purple .documentList li { display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.newestDocument_purple .documentList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
.blog_widget_purple .newest_document { border:1px solid #e0e1db; background:url(../images/purple/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_purple .newest_document h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_purple .newest_document .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_purple .newest_document .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_purple .newest_document .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.newestDocument_red { border:1px solid #e0e1db; background:url(../images/red/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestDocument_red h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.newestDocument_red .documentList { padding:1.2em; overflow:hidden;}
|
||||
.newestDocument_red .documentList li { display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.newestDocument_red .documentList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
.blog_widget_red .newest_document { border:1px solid #e0e1db; background:url(../images/red/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_red .newest_document h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_red .newest_document .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_red .newest_document .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_red .newest_document .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -8,22 +8,25 @@
|
|||
<!--%import("css/red.css")-->
|
||||
<!--@elseif($colorset=="purple")-->
|
||||
<!--%import("css/purple.css")-->
|
||||
<!--@else-->
|
||||
<!--@elseif($colorset=="normal")-->
|
||||
<!--%import("css/normal.css")-->
|
||||
{@ $colorset = "normal"; }
|
||||
<!--@else-->
|
||||
{$colorset = "" }
|
||||
<!--@end-->
|
||||
|
||||
<div class="newestDocument_{$colorset}">
|
||||
<div class="blog_widget_{$colorset}">
|
||||
<div class="newest_document">
|
||||
<div class="header">
|
||||
<!--@if($widget_info->title)-->
|
||||
<h2>{$widget_info->title}</h2>
|
||||
<!--@else-->
|
||||
<h2>newest documents</h2>
|
||||
<!--@end-->
|
||||
<!--@if($widget_info->title)-->
|
||||
<h2>{$widget_info->title}</h2>
|
||||
<!--@else-->
|
||||
<h2>newest documents</h2>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<ul class="documentList">
|
||||
<!--@foreach($widget_info->document_list as $oDocument)-->
|
||||
<li><a href="{$oDocument->getPermanentUrl()}#{$oDocument->getCommentCount()}">{$oDocument->getTitle($widget_info->subject_cut_size)}</a> {$oDocument->printExtraImages($widget_info->duration_new)}</li>
|
||||
<!--@end-->
|
||||
<ul class="items">
|
||||
<!--@foreach($widget_info->document_list as $oDocument)-->
|
||||
<li>{$oDocument->printExtraImages($widget_info->duration_new)} <a href="{$oDocument->getPermanentUrl()}#{$oDocument->getCommentCount()}">{$oDocument->getTitle($widget_info->subject_cut_size)}</a></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.newestTrackback_cyan { border:1px solid #e0e1db; background:url(../images/cyan/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestTrackback_cyan h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.newestTrackback_cyan .trackbackList { padding:1.2em; overflow:hidden;}
|
||||
.newestTrackback_cyan .trackbackList li { display:block; color:#a4a4a4; margin-right:.1em; white-space:nowrap; overflow:hidden; list-style:none; width:100%;}
|
||||
.newestTrackback_cyan .trackbackList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none;}
|
||||
.blog_widget_cyan .newest_trackback { border:1px solid #e0e1db; background:url(../images/cyan/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_cyan .newest_trackback h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_cyan .newest_trackback .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_cyan .newest_trackback .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_cyan .newest_trackback .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.newestTrackback_green { border:1px solid #e0e1db; background:url(../images/green/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestTrackback_green h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.newestTrackback_green .trackbackList { padding:1.2em; overflow:hidden;}
|
||||
.newestTrackback_green .trackbackList li { display:block; color:#a4a4a4; margin-right:.1em; white-space:nowrap; overflow:hidden; list-style:none; width:100%;}
|
||||
.newestTrackback_green .trackbackList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
.blog_widget_green .newest_trackback { border:1px solid #e0e1db; background:url(../images/green/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_green .newest_trackback h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_green .newest_trackback .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_green .newest_trackback .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_green .newest_trackback .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.newestTrackback_normal { border:1px solid #e0e1db; background:url(../images/normal/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestTrackback_normal h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.newestTrackback_normal .trackbackList { padding:1.2em; overflow:hidden;}
|
||||
.newestTrackback_normal .trackbackList li { display:block; color:#a4a4a4; margin-right:.1em; white-space:nowrap; overflow:hidden; list-style:none; width:100%;}
|
||||
.newestTrackback_normal .trackbackList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
.blog_widget_normal .newest_trackback { border:1px solid #e0e1db; background:url(../images/normal/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_normal .newest_trackback h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_normal .newest_trackback .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_normal .newest_trackback .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_normal .newest_trackback .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.newestTrackback_purple { border:1px solid #e0e1db; background:url(../images/purple/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestTrackback_purple h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.newestTrackback_purple .trackbackList { padding:1.2em; overflow:hidden;}
|
||||
.newestTrackback_purple .trackbackList li { display:block; color:#a4a4a4; margin-right:.1em; list-style:none; white-space:nowrap; overflow:hidden; width:100%;}
|
||||
.newestTrackback_purple .trackbackList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
.blog_widget_purple .newest_trackback { border:1px solid #e0e1db; background:url(../images/purple/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_purple .newest_trackback h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_purple .newest_trackback .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_purple .newest_trackback .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_purple .newest_trackback .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.newestTrackback_red { border:1px solid #e0e1db; background:url(../images/red/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestTrackback_red h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
.newestTrackback_red .trackbackList { padding:1.2em; overflow:hidden;}
|
||||
.newestTrackback_red .trackbackList li { display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; list-style:none; white-space:nowrap; width:100%;}
|
||||
.newestTrackback_red .trackbackList li a { color:#a4a4a4; line-height:1.5em; text-decoration:none;}
|
||||
.blog_widget_red .newest_trackback { border:1px solid #e0e1db; background:url(../images/red/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_red .newest_trackback h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_red .newest_trackback .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_red .newest_trackback .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_red .newest_trackback .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -8,12 +8,14 @@
|
|||
<!--%import("css/red.css")-->
|
||||
<!--@elseif($colorset=="purple")-->
|
||||
<!--%import("css/purple.css")-->
|
||||
<!--@else-->
|
||||
<!--@elseif($colorset=="normal")-->
|
||||
<!--%import("css/normal.css")-->
|
||||
{@ $colorset = "normal" }
|
||||
<!--@else-->
|
||||
{@ $colorset = "" }
|
||||
<!--@end-->
|
||||
|
||||
<div class="newestTrackback_{$colorset}">
|
||||
<div class="blog_widget_{$colorset}">
|
||||
<div class="newest_trackback">
|
||||
<div class="header">
|
||||
<!--@if($widget_info->title)-->
|
||||
<h2>{$widget_info->title}</h2>
|
||||
|
|
@ -22,10 +24,10 @@
|
|||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<ul class="trackbackList">
|
||||
<ul class="items">
|
||||
<!--@foreach($widget_info->trackback_list as $val)-->
|
||||
<li><a href="{getUrl('','document_srl',$val->document_srl)}#trackback_{$val->trackback_srl}">{cut_str($val->title,60,'...')}</a></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
6
widgets/tag_list/skins/blog_tag_list/css/common.css
Normal file
6
widgets/tag_list/skins/blog_tag_list/css/common.css
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
.tag_list ul.items li { display:inline; margin:none;}
|
||||
.tag_list ul.items li.typeA a { color:#fe3614; font-weight:bold; font-size:12pt; background-color:#EFEFEF; margin:0;}
|
||||
.tag_list ul.items li.typeB a { color:#fe3614; font-size:11pt; margin:0;}
|
||||
.tag_list ul.items li.typeC a { font-weight:bold; font-size:11pt; margin:0; background-color:#EFEFEF;}
|
||||
.tag_list ul.items li.typeD a { font-weight:bold; margin:0; background-color:#EFEFEF;}
|
||||
.tag_list ul.items li.typeE a { font-weight:normal; margin:0;}
|
||||
|
|
@ -1,9 +1,5 @@
|
|||
div#tag { position:relative; border:1px solid #e0e1db; background:url(../images/cyan/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
div#tag h2 { position:relative; border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
/*:first-child+html .boxTypeB h2 { height:20px;} */
|
||||
div#tag .tagList { padding:1.2em; overflow:hidden;}
|
||||
div#tag .tagList li { display:inline; color:#a4a4a4; margin-right:.1em; line-height:1.5em;}
|
||||
div#tag .tagList li a { color:#a4a4a4;}
|
||||
div#tag .tagList li.typeA a { color:#fe3614; font-weight:bold;}
|
||||
div#tag .tagList li.typeB a { color:#fe3614;}
|
||||
div#tag .tagList li.typeC a { font-weight:bold;}
|
||||
.blog_widget_cyan .tag_list { border:1px solid #e0e1db; background:url(../images/cyan/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_cyan .tag_list h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_cyan .tag_list .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_cyan .tag_list .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_cyan .tag_list .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
div#tag { position:relative; border:1px solid #e0e1db; background:url(../images/green/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
div#tag h2 { position:relative; border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
/*:first-child+html .boxTypeB h2 { height:20px;} */
|
||||
div#tag .tagList { padding:1.2em; overflow:hidden;}
|
||||
div#tag .tagList li { display:inline; color:#a4a4a4; margin-right:.1em; line-height:1.5em;}
|
||||
div#tag .tagList li a { color:#a4a4a4;}
|
||||
div#tag .tagList li.typeA a { color:#fe3614; font-weight:bold;}
|
||||
div#tag .tagList li.typeB a { color:#fe3614;}
|
||||
div#tag .tagList li.typeC a { font-weight:bold;}
|
||||
.blog_widget_green .tag_list { border:1px solid #e0e1db; background:url(../images/green/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_green .tag_list h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_green .tag_list .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_green .tag_list .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_green .tag_list .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
div#tag { position:relative; border:1px solid #e0e1db; background:url(../images/normal/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
div#tag h2 { position:relative; border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
/*:first-child+html .boxTypeB h2 { height:20px;} */
|
||||
div#tag .tagList { padding:1.2em; overflow:hidden;}
|
||||
div#tag .tagList li { display:inline; color:#a4a4a4; margin-right:.1em; line-height:1.5em;}
|
||||
div#tag .tagList li a { color:#a4a4a4;}
|
||||
div#tag .tagList li.typeA a { color:#fe3614; font-weight:bold;}
|
||||
div#tag .tagList li.typeB a { color:#fe3614;}
|
||||
div#tag .tagList li.typeC a { font-weight:bold;}
|
||||
.blog_widget_normal .tag_list { border:1px solid #e0e1db; background:url(../images/normal/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_normal .tag_list h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_normal .tag_list .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_normal .tag_list .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_normal .tag_list .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
div#tag { position:relative; border:1px solid #e0e1db; background:url(../images/purple/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
div#tag h2 { position:relative; border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
/*:first-child+html .boxTypeB h2 { height:20px;} */
|
||||
div#tag .tagList { padding:1.2em; overflow:hidden;}
|
||||
div#tag .tagList li { display:inline; color:#a4a4a4; margin-right:.1em; line-height:1.5em;}
|
||||
div#tag .tagList li a { color:#a4a4a4;}
|
||||
div#tag .tagList li.typeA a { color:#fe3614; font-weight:bold;}
|
||||
div#tag .tagList li.typeB a { color:#fe3614;}
|
||||
div#tag .tagList li.typeC a { font-weight:bold;}
|
||||
.blog_widget_purple .tag_list { border:1px solid #e0e1db; background:url(../images/purple/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_purple .tag_list h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_purple .tag_list .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_purple .tag_list .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_purple .tag_list .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
div#tag { position:relative; border:1px solid #e0e1db; background:url(../images/red/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
div#tag h2 { position:relative; border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; font-family:Tahoma;}
|
||||
/*:first-child+html .boxTypeB h2 { height:20px;} */
|
||||
div#tag .tagList { padding:1.2em; overflow:hidden;}
|
||||
div#tag .tagList li { display:inline; color:#a4a4a4; margin-right:.1em; line-height:1.5em;}
|
||||
div#tag .tagList li a { color:#a4a4a4;}
|
||||
div#tag .tagList li.typeA a { color:#fe3614; font-weight:bold;}
|
||||
div#tag .tagList li.typeB a { color:#fe3614;}
|
||||
div#tag .tagList li.typeC a { font-weight:bold;}
|
||||
.blog_widget_red .tag_list { border:1px solid #e0e1db; background:url(../images/red/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.blog_widget_red .tag_list h2 { border-left:1px solid #ffffff; border-right:1px solid #ffffff; padding:7px 0 0 12px; height:21px; _height:20px; font-size:1em; color:#54564b; }
|
||||
.blog_widget_red .tag_list .items { padding:10px; overflow:hidden;}
|
||||
.blog_widget_red .tag_list .items li { font-size:.9em; display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; white-space:nowrap; list-style:none; width:100%;}
|
||||
.blog_widget_red .tag_list .items li a { color:#a4a4a4; line-height:1.5em; text-decoration:none; }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
<!-- 설정된 컬러셋의 종류에 따라서 css파일을 import 합니다 -->
|
||||
|
||||
<!--%import("css/common.css")-->
|
||||
|
||||
<!--@if($colorset=="cyan")-->
|
||||
<!--%import("css/cyan.css")-->
|
||||
<!--@elseif($colorset=="green")-->
|
||||
|
|
@ -8,11 +10,14 @@
|
|||
<!--%import("css/red.css")-->
|
||||
<!--@elseif($colorset=="purple")-->
|
||||
<!--%import("css/purple.css")-->
|
||||
<!--@else-->
|
||||
<!--@elseif($colorset=="normal")-->
|
||||
<!--%import("css/normal.css")-->
|
||||
<!--@else-->
|
||||
{@ $colorset="" }
|
||||
<!--@end-->
|
||||
|
||||
<div id="tag">
|
||||
<div class="blog_widget_{$colorset}">
|
||||
<div class="tag_list">
|
||||
<div class="header">
|
||||
<!--@if($widget_info->title)-->
|
||||
<h2>{$widget_info->title}</h2>
|
||||
|
|
@ -21,24 +26,29 @@
|
|||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<ul class="tagList">
|
||||
<ul class="items">
|
||||
<!--@foreach($widget_info->tag_list as $val)-->
|
||||
|
||||
<!--@if($val->count>10)-->
|
||||
{@ $tag_class = "typeA" }
|
||||
<!--@elseif($val->count>5)-->
|
||||
<!--@elseif($val->count>7)-->
|
||||
{@ $tag_class = "typeB" }
|
||||
<!--@elseif($val->count>3)-->
|
||||
<!--@elseif($val->count>5)-->
|
||||
{@ $tag_class = "typeC" }
|
||||
<!--@elseif($val->count>3)-->
|
||||
{@ $tag_class = "typeD" }
|
||||
<!--@else-->
|
||||
{@ $tag_class = "" }
|
||||
{@ $tag_class = "typeE" }
|
||||
<!--@end-->
|
||||
|
||||
<li <!--@if($tag_class)-->class="{$tag_class}"<!--@end--> >
|
||||
<!--@if($layout_info->mid)-->
|
||||
<a href="{getUrl('','mid',$layout_info->mid,'search_target','tag','search_keyword',urlencode($val->tag))}">{cut_str($val->tag,15,'...')}</a>
|
||||
<a href="{getUrl('','mid',$layout_info->mid,'search_target','tag','search_keyword',urlencode($val->tag))}">{htmlspecialchars($val->tag)}</a>
|
||||
<!--@else-->
|
||||
<a href="{getUrl('','mid',$mid,'search_target','tag','search_keyword',urlencode($val->tag))}">{cut_str($val->tag,15,'...')}</a>
|
||||
<a href="{getUrl('','mid',$mid,'search_target','tag','search_keyword',urlencode($val->tag))}">{htmlspecialchars($val->tag)}</a>
|
||||
<!--@end-->
|
||||
</li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -29,11 +29,21 @@
|
|||
$oTagModel = &getModel('tag');
|
||||
$output = $oTagModel->getTagList($obj);
|
||||
|
||||
|
||||
// 내용을 랜던으로 정렬
|
||||
$numbers = array_keys($output->data);
|
||||
shuffle($numbers);
|
||||
|
||||
// 템플릿 파일에서 사용할 변수들을 세팅
|
||||
if(count($mid_list)==1) $widget_info->module_name = $mid_list[0];
|
||||
|
||||
$widget_info->title = $title;
|
||||
$widget_info->tag_list = $output->data;
|
||||
|
||||
if(count($output->data)) {
|
||||
foreach($numbers as $k => $v) {
|
||||
$widget_info->tag_list[] = $output->data[$v];
|
||||
}
|
||||
}
|
||||
|
||||
Context::set('widget_info', $widget_info);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue