최신글의 XE 공식 레이아웃용 위젯의 구성 요소 변경

git-svn-id: http://xe-core.googlecode.com/svn/trunk@2113 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-08-01 08:40:25 +00:00
parent 14a63031f8
commit 7a4af2006e
3 changed files with 19 additions and 8 deletions

View file

@ -1,10 +1,12 @@
.latest { padding-bottom:15px; }
.latest { padding-bottom:15px; overflow:hidden; position:relative;}
.latest h2 { font-size:1em; display:block; height:21px; padding:9px 0 0 9px; margin-bottom:12px; color:#ffffff; background:url(../images/black/lineNotice.gif) no-repeat left bottom;}
.latest ul {}
.latest ul li { position:relative; height:21px; background:url(../images/black/bulletD0.gif) no-repeat left 5px; padding-left:10px; overflow:hidden;}
.latest ul li { white-space:nowrap; height:21px; background:url(../images/black/bulletD0.gif) no-repeat left 5px; padding-left:10px; overflow:hidden;}
.latest ul li a { color:#818181; text-decoration:none; }
.latest ul li a:hover { text-decoration:underline; }
.latest ul li span { position:absolute; top:1px; right:9px; color:#999999; font:.8em Tahoma;}
.latest ul li span.comment { color:#999999; font:.8em Tahoma; margin-left:.3em;}
.latest ul li span.date { color:#999999; font:.8em Tahoma; margin-right:5px;}
.latest ul li span.writer { color:#999999; font-size:.9em; margin-left:.3em;}
.latest .more { position:absolute; top:12px; right:11px; color:#818181; font:.8em Tahoma;}
.latest a.more { text-decoration:none;}
.latest a.more:hover { text-decoration:underline;}

View file

@ -1,10 +1,12 @@
.latest { padding-bottom:15px; }
.latest { padding-bottom:15px; overflow:hidden; position:relative;}
.latest h2 { font-size:1em; display:block; height:21px; padding:9px 0 0 9px; margin-bottom:12px; color:#000000; background:url(../images/white/lineNotice.gif) no-repeat left bottom;}
.latest ul {}
.latest ul li { position:relative; height:21px; background:url(../images/white/bulletD0.gif) no-repeat left 5px; padding-left:10px; overflow:hidden;}
.latest ul { overflow:hidden; width:100%;}
.latest ul li { white-space:nowrap; height:21px; background:url(../images/white/bulletD0.gif) no-repeat left 5px; padding-left:10px; overflow:hidden;}
.latest ul li a { color:#555555; text-decoration:none; }
.latest ul li a:hover { text-decoration:underline; }
.latest ul li span { position:absolute; top:1px; right:9px; color:#999999; font:.8em Tahoma;}
.latest ul li span.comment { color:#999999; font:.8em Tahoma; margin-left:.3em;}
.latest ul li span.date { color:#999999; font:.8em Tahoma; margin-right:5px;}
.latest ul li span.writer { color:#999999; font-size:.9em; margin-left:.3em;}
.latest .more { position:absolute; top:12px; right:11px; color:#54564b; font:.8em Tahoma;}
.latest a.more { text-decoration:none;}
.latest a.more:hover { text-decoration:underline;}

View file

@ -12,7 +12,14 @@
<!--@end-->
<ul>
<!--@foreach($widget_info->document_list as $oDocument)-->
<li><a href="{$oDocument->getPermanentUrl()}#{$oDocument->getCommentCount()}">{$oDocument->getTitleText($widget_info->subject_cut_size)}</a><span>{$oDocument->getRegdate("Y-m-d")}</span></li>
<li>
<span class="date">[{$oDocument->getRegdate("Y-m-d")}]</span>
<a href="{$oDocument->getPermanentUrl()}#{$oDocument->getCommentCount()}">{$oDocument->getTitleText($widget_info->subject_cut_size)}</a>
<!--@if($oDocument->getCommentCount())-->
<span class="comment"><a href="{$oDocument->getPermanentUrl()}#comment">*{$oDocument->getCommentCount()}</a></span>
<!--@end-->
<span class="writer">- {$oDocument->getNickName()}</span>
</li>
<!--@end-->
</ul>
<!--@if($widget_info->module_name)-->