웹진형 위젯에 공지사항용으로 쓸수 있는 기본 스킨 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3631 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-02-01 10:21:28 +00:00
parent f7ac2f007f
commit 629fddf360
3 changed files with 90 additions and 0 deletions

View file

@ -0,0 +1,16 @@
.noticeBox { padding-bottom:5px; overflow:hidden; }
.noticeBox 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;}
.noticeBox .listTable { width:100%; table-layout:fixed; border:none;}
.noticeBox .titleBox { margin-top:8px;border-bottom:2px solid #DDDDDD; padding-bottom:5px; margin-bottom:10px; }
.noticeBox .titleBox .title { }
.noticeBox .titleBox .title strong { font-weight:normal; font-size:0.9em; color:#ed2a32; }
.noticeBox .titleBox .title a { font-weight:bold; font-size:1.4em; color:#444444; text-decoration:none; }
.noticeBox .titleBox .title a:hover { font-weight:bold; font-size:1.4em; text-decoration:underline; }
.noticeBox .titleBox .regdate { font-size:0.9em; color:#AAAAAA; }
.noticeBox .contentbox { line-height:120%; }
.noticeBox .contentbox img.thumbnail { padding:4px; border:1px solid #DEDEDE; margin:0 10px 10px 0;}
.noticeBox .contentbox img.thumbnail:hover { border:1px solid #54564b; }

View file

@ -0,0 +1,49 @@
<!-- 설정된 컬러셋의 종류에 따라서 css파일을 import 합니다 -->
<!--@if($colorset=="normal"||!$colorset)-->
<!--%import("css/normal.css")-->
<!--@end-->
<div class="noticeBox">
<!--@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]}
{@ $_existsThumbnail = $oDocument->thumbnailExists($widget_info->thumbnail_width,$widget_info->thumbnail_height,$widget_info->thumbnail_type) }
<td><!--@if($oDocument->document_srl)-->
<div class="titleBox">
<span class="title">
<a href="{$oDocument->getPermanentUrl()}#{$oDocument->getCommentCount()}">{$oDocument->getTitle($widget_info->subject_cut_size)}</a>
</span>
<!--@if($widget_info->display_regdate == 'Y')-->
<span class="regdate">[{$oDocument->getRegdate("m-d")}]</span>
<!--@end-->
</div>
<div class="contentbox">
<!--@if($_existsThumbnail)--><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="" align="left" class="thumbnail"/></a><!--@end-->
{$oDocument->getSummary($widget_info->content_cut_size)}
</div>
<!--@end--></td>
<!--@end-->
<!--@for($k=$j;$k<$widget_info->cols_list_count;$k++)--><td>&nbsp;</td><!--@end-->
</tr>
<!--@end-->
</table>
<!--@end-->
</div>
</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">공지사항 형태의 출력</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">This is a webzine style skin that displays article list and images. Articles with images will be exposed only.</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>