웹진형 최근 게시글 출력 위젯 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3045 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-11-22 07:30:51 +00:00
parent 4011643097
commit adb33464cf
9 changed files with 595 additions and 0 deletions

View file

@ -0,0 +1,44 @@
.nw_box { padding-bottom:5px; overflow:hidden; position:relative;}
.nw_box h2 { font-size:1em; display:block; height:21px; padding:9px 0 0 9px; margin-bottom:5px; color:#000000; background:url(../images/normal/lineNotice.gif) no-repeat left bottom;}
.nw_box .more { position:absolute; top:12px; right:11px; color:#000000; font:.8em Tahoma;}
.nw_box a.more { text-decoration:none;}
.nw_box a.more:hover { text-decoration:underline;}
.nw_box .listTable { width:100%; table-layout:fixed; border:none;}
.nw_box .listTable tr td { border-bottom:1px dotted #DEDEDE; padding-bottom:3px; margin-bottom:3px; vertical-align:top; overflow:hidden; }
.nw_box .thumbnailBox { width:100%; border:none; }
.nw_box .thumbnailBox tr td { border-bottom:none; padding:none; margin:none; }
.nw_box .thumbnailBox .thumbnail { text-align:center; padding:6px; }
.nw_box .thumbnailBox .thumbnail img { padding:4px; border:1px solid #DEDEDE; }
.nw_box .thumbnailBox .thumbnail img:hover { border:1px solid #54564b; }
.nw_box .thumbnailBox .desc { padding-left:5px; }
.nw_box .thumbnailBox .titleBox { margin-top:8px; margin-bottom:5px;}
.nw_box .thumbnailBox .titleBox .title { }
.nw_box .thumbnailBox .titleBox .title strong { font-weight:bold; font-size:0.9em; color:#ed2a32; }
.nw_box .thumbnailBox .titleBox .title a { color:#000000; text-decoration:none; }
.nw_box .thumbnailBox .titleBox .title a:hover { text-decoration:underline; }
.nw_box .thumbnailBox .titleBox .regdate { font-size:0.9em; color:#AAAAAA; }
.nw_box .thumbnailBox .contentBox { overflow:hidden; margin-bottom:5px;}
.nw_box .thumbnailBox .authorBox { margin-top:5px; }
.nw_box .thumbnailBox .author { color:#54564b; margin-right:10px;}
.nw_box .thumbnailBox .author span,div { color:#54564b; }
.nw_box .thumbnailBox .readAndVoted { color:#999999; font-size:0.9em; }
.nw_box .thumbnailBox .readAndVoted span.div_block { color:#333333; font-size:0.9em; }
.nw_box .thumbnailBox .readAndVoted strong { color:#FE6700; }
.nw_box .thumbnailBox td.bottomBorder { border-bottom:1px dashed #EEEEEE; padding-bottom:5px; }

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 B

View file

@ -0,0 +1,91 @@
<!-- 설정된 컬러셋의 종류에 따라서 css파일을 import 합니다 -->
<!--@if($colorset=="normal"||!$colorset)-->
<!--%import("css/normal.css")-->
<!--@end-->
<div class="nw_box">
<!--@if($widget_info->title)-->
<h2>{$widget_info->title}</h2>
<!--@end-->
<!--@if(count($widget_info->document_list))-->
<div>
<table cellspacing="0" class="listTable">
{@ $count = 0; }
<!--@for($i=0;$i<$widget_info->rows_list_count;$i++)-->
<tr valign="top">
<!--@for($j=0;$j<$widget_info->cols_list_count;$j++)-->
{@ $oDocument = $widget_info->document_list[$i*$widget_info->cols_list_count + $j]}
<td <!--@if($widget_info->rows_list_count>1)-->class="bottomBorder"<!--@end-->><!--@if($oDocument->document_srl)-->
<table cellspacing="0" class="thumbnailBox">
<col width="{$widget_info->thumbnail_width+30}" />
<col />
<tr>
<td class="thumbnail" height="100">
<a href="{getUrl('','document_srl',$oDocument->document_srl)}"><img src="{$oDocument->getThumbnail($widget_info->thumbnail_width,$widget_info->thumbnail_height,$widget_info->thumbnail_type)}" border="0" alt="" /></a>
</td>
<td class="desc">
<div class="titleBox">
<span class="title">
<a href="{$oDocument->getPermanentUrl()}#{$oDocument->getCommentCount()}">{$oDocument->getTitleText($widget_info->subject_cut_size)}</a>
<!--@if($oDocument->getCommentCount())--><strong>[{$oDocument->getCommentCount()}]</strong><!--@end-->
</span>
<!--@if($widget_info->display_regdate == 'Y')-->
<span class="regdate">[{$oDocument->getRegdate("m-d")}]</span>
<!--@end-->
</div>
<div class="contentbox">
{$oDocument->getSummary($widget_info->content_cut_size)}
</div>
<!--@if($widget_info->display_author == 'Y' || $widget_info->display_readed_count == 'Y' || $widget_info->display_voted_count == 'Y' )-->
<div class="authorBox">
<!--@if($widget_info->display_author == 'Y')-->
<span class="author"><span class="member_{$oDocument->get('member_srl')}">{$oDocument->getNickName()}</span></span>
<!--@end-->
<!--@if($widget_info->display_readed_count == 'Y' || $widget_info->display_voted_count == 'Y' )-->
<span class="readAndVoted">
<!--@if($widget_info->display_readed_count == 'Y')-->
{$lang->readed_count} {$oDocument->get('readed_count')}
<!--@end-->
<!--@if($widget_info->display_voted_count == 'Y' && $oDocument->get('voted_count')>0 )-->
<!--@if($widget_info->display_readed_count == 'Y')-->, <!--@end-->
{$lang->voted_count} <strong>{$oDocument->get('voted_count')}</strong>
<!--@end-->
</span>
<!--@end-->
</div>
<!--@end-->
<!--@end-->
</td>
</tr>
</table>
</td>
<!--@end-->
<!--@for($k=$j;$k<$widget_info->cols_list_count;$k++)--><td>&nbsp;</td><!--@end-->
</tr>
<!--@end-->
</table>
<!--@end-->
</div>
<!--@if($widget_info->module_name)-->
<a href="{getUrl('','mid',$widget_info->module_name)}" class="more">more</a>
<!--@end-->
</div>

View file

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<skin>
<title xml:lang="ko">웹진형 최근글 출력 기본 스킨</title>
<title xml:lang="jp">웹진형 최근글 출력 기본 스킨</title>
<title xml:lang="zh-CN">웹진형 최근글 출력 기본 스킨</title>
<title xml:lang="en">Display newest documents like webzine style</title>
<maker email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 11. 22">
<name xml:lang="ko">제로</name>
<name xml:lang="jp">Zero</name>
<name xml:lang="zh-CN">Zero</name>
<name xml:lang="en">Zero</name>
<description xml:lang="ko">글 목록과 이미지가 같이 출력되는 웹진형 스킨입니다. 이미지가 있는 글들만 노출이 됩니다.</description>
<description xml:lang="jp">글 목록과 이미지가 같이 출력되는 웹진형 스킨입니다. 이미지가 있는 글들만 노출이 됩니다.</description>
<description xml:lang="zh-CN">글 목록과 이미지가 같이 출력되는 웹진형 스킨입니다. 이미지가 있는 글들만 노출이 됩니다.</description>
<description xml:lang="en">글 목록과 이미지가 같이 출력되는 웹진형 스킨입니다. 이미지가 있는 글들만 노출이 됩니다.</description>
</maker>
<colorset>
<color name="normal">
<title xml:lang="ko">기본 컬러</title>
<title xml:lang="jp">デフォルトカラー</title>
<title xml:lang="zh-CN">默认颜色</title>
<title xml:lang="en">Default Color</title>
</color>
</colorset>
</skin>