삭제
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2327 201d5d3c-b55e-5fd7-737f-ddc643e51545
113
widgets/newest_document/conf/info.xml
Normal file
|
|
@ -0,0 +1,113 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<widget version="0.1">
|
||||
<title xml:lang="ko">최근 문서 출력</title>
|
||||
<title xml:lang="zh-CN">主题列表</title>
|
||||
<title xml:lang="jp">最近の書き込み表示</title>
|
||||
<title xml:lang="en">Display Newest Articles</title>
|
||||
<author email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
|
||||
<name xml:lang="ko">제로</name>
|
||||
<name xml:lang="zh-CN">zero</name>
|
||||
<name xml:lang="jp">Zero</name>
|
||||
<name xml:lang="en">zero</name>
|
||||
<description xml:lang="ko">최근 문서 (document)를 출력하는 위젯입니다.</description>
|
||||
<description xml:lang="zh-CN">显示最新主题列表 (document)的控件。</description>
|
||||
<description xml:lang="jp">最近の書き込み(document)を表示させるウィジェットです。</description>
|
||||
<description xml:lang="en">This widget displays newest articles.</description>
|
||||
</author>
|
||||
<extra_vars>
|
||||
<var id="title">
|
||||
<name xml:lang="ko">제목</name>
|
||||
<name xml:lang="zh-CN">栏目名</name>
|
||||
<name xml:lang="jp">タイトル</name>
|
||||
<name xml:lang="en">Title</name>
|
||||
<type>text</type>
|
||||
<description xml:lang="ko">최근 게시물의 제목으로 출력됩니다.</description>
|
||||
<description xml:lang="zh-CN">显示为最新主题列表的标题。</description>
|
||||
<description xml:lang="jp">最近の書き込みのタイトルとして表示されます。</description>
|
||||
<description xml:lang="en">It will be the title of the newest articles.</description>
|
||||
</var>
|
||||
<var id="order_target">
|
||||
<name xml:lang="ko">정렬 대상</name>
|
||||
<name xml:lang="zh-CN">排序对象</name>
|
||||
<name xml:lang="jp">ソート対象</name>
|
||||
<name xml:lang="en">Target to be sorted</name>
|
||||
<type>select</type>
|
||||
<description xml:lang="ko">등록된 순서 또는 변경된 순서로 정렬을 할 수 있습니다.</description>
|
||||
<description xml:lang="zh-CN">可以按照指定的顺序进行排序。</description>
|
||||
<description xml:lang="jp">登録された順番または変更された順番にソートできます。</description>
|
||||
<description xml:lang="en">The list of newewst articles may be sorted by submitted order or modified order.</description>
|
||||
<options>
|
||||
<name xml:lang="ko">최신 등록순</name>
|
||||
<name xml:lang="zh-CN">最新发表顺</name>
|
||||
<name xml:lang="jp">最新登録順</name>
|
||||
<name xml:lang="en">Newest Submitted Order</name>
|
||||
<value>list_order</value>
|
||||
</options>
|
||||
<options>
|
||||
<name xml:lang="ko">최근 변경순</name>
|
||||
<name xml:lang="zh-CN">最新修改顺</name>
|
||||
<name xml:lang="jp">最近変更順</name>
|
||||
<name xml:lang="en">Newest Modified Order</name>
|
||||
<value>update_order</value>
|
||||
</options>
|
||||
</var>
|
||||
<var id="order_type">
|
||||
<name xml:lang="ko">정렬 방법</name>
|
||||
<name xml:lang="zh-CN">排序方式</name>
|
||||
<name xml:lang="jp">ソートタイプ</name>
|
||||
<name xml:lang="en">Sorting Type</name>
|
||||
<type>select</type>
|
||||
<description xml:lang="ko">정렬대상을 내림차순 또는 올림차순으로 정렬할 수 있습니다.</description>
|
||||
<description xml:lang="zh-CN">对其排序对象可进行升序/降序方式排序。</description>
|
||||
<description xml:lang="jp">ソートタイプを、降順、昇順にソートできます。</description>
|
||||
<description xml:lang="en">You can sort target articles by asending or desending order.</description>
|
||||
<options>
|
||||
<name xml:lang="ko">내림차순</name>
|
||||
<name xml:lang="zh-CN">降序</name>
|
||||
<name xml:lang="jp">降順</name>
|
||||
<name xml:lang="en">Desending order</name>
|
||||
<value>desc</value>
|
||||
</options>
|
||||
<options>
|
||||
<name xml:lang="ko">올림차순</name>
|
||||
<name xml:lang="zh-CN">升序</name>
|
||||
<name xml:lang="jp">昇順</name>
|
||||
<name xml:lang="en">Asending order</name>
|
||||
<value>asc</value>
|
||||
</options>
|
||||
</var>
|
||||
<var id="list_count">
|
||||
<name xml:lang="ko">목록수</name>
|
||||
<name xml:lang="zh-CN">目录数</name>
|
||||
<name xml:lang="jp">リスト数</name>
|
||||
<name xml:lang="en">The number of list</name>
|
||||
<type>text</type>
|
||||
<description xml:lang="ko">출력될 목록의 수를 정하실 수 있습니다. (기본 5개)</description>
|
||||
<description xml:lang="zh-CN">可设置要显示的目录数。 (默认为5个)</description>
|
||||
<description xml:lang="jp">出力されるリストの数を指定することができます。(デフォルト5個)</description>
|
||||
<description xml:lang="en">You can set the number of articles to be displayed. (default is 5)</description>
|
||||
</var>
|
||||
<var id="mid_list">
|
||||
<name xml:lang="ko">대상 모듈</name>
|
||||
<name xml:lang="zh-CN">模块对象</name>
|
||||
<name xml:lang="jp">モジュール</name>
|
||||
<name xml:lang="en">Target Module</name>
|
||||
<type>mid_list</type>
|
||||
<description xml:lang="ko">선택하신 모듈에 등록된 글을 대상으로 합니다.</description>
|
||||
<description xml:lang="zh-CN">将把被选模块当中的主题作为对象。</description>
|
||||
<description xml:lang="jp">チェックされたモジュールに登録されたコンテンツ(書き込み)を対象とします。</description>
|
||||
<description xml:lang="en">The target articles to be sorted will be the ones submitted in the selected module.</description>
|
||||
</var>
|
||||
<var id="subject_cut_size" type="text">
|
||||
<name xml:lang="ko">제목 글자수</name>
|
||||
<name xml:lang="jp">タイトルの文字数</name>
|
||||
<name xml:lang="zh-CN">标题字数</name>
|
||||
<name xml:lang="en">Length of Subject</name>
|
||||
<type>text</type>
|
||||
<description lang="ko">제목 글자수를 지정할 수 있습니다. (0또는 비워주시면 자르지 않습니다)</description>
|
||||
<description lang="jp">タイトルの文字数が指定できます(「0」または空欄の場合は、文字数を制限しません)。</description>
|
||||
<description lang="zh-CN">可以设置标题的字数。(0或留空为不限)</description>
|
||||
<description lang="en">Length of Subject can be assigned. (0 or blank value will not restrict the length)</description>
|
||||
</var>
|
||||
</extra_vars>
|
||||
</widget>
|
||||
59
widgets/newest_document/newest_document.class.php
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
<?php
|
||||
/**
|
||||
* @class newest_document
|
||||
* @author zero (zero@nzeo.com)
|
||||
* @brief 최근 게시물을 출력하는 위젯
|
||||
* @version 0.1
|
||||
**/
|
||||
|
||||
class newest_document extends WidgetHandler {
|
||||
|
||||
/**
|
||||
* @brief 위젯의 실행 부분
|
||||
*
|
||||
* ./widgets/위젯/conf/info.xml 에 선언한 extra_vars를 args로 받는다
|
||||
* 결과를 만든후 print가 아니라 return 해주어야 한다
|
||||
**/
|
||||
function proc($args) {
|
||||
// 위젯 자체적으로 설정한 변수들을 체크
|
||||
$title = $args->title;
|
||||
$order_target = $args->order_target;
|
||||
$order_type = $args->order_type;
|
||||
$list_count = (int)$args->list_count;
|
||||
if(!$list_count) $list_count = 5;
|
||||
$mid_list = explode(",",$args->mid_list);
|
||||
$subject_cut_size = $args->subject_cut_size;
|
||||
if(!$subject_cut_size) $subject_cut_size = 0;
|
||||
|
||||
// DocumentModel::getDocumentList()를 이용하기 위한 변수 정리
|
||||
$obj->mid = $mid_list;
|
||||
$obj->sort_index = $order_target;
|
||||
$obj->list_count = $list_count;
|
||||
|
||||
// document 모듈의 model 객체를 받아서 getDocumentList() method를 실행
|
||||
$oDocumentModel = &getModel('document');
|
||||
$output = $oDocumentModel->getDocumentList($obj);
|
||||
|
||||
// 템플릿 파일에서 사용할 변수들을 세팅
|
||||
if(count($mid_list)==1) $widget_info->module_name = $mid_list[0];
|
||||
|
||||
$widget_info->title = $title;
|
||||
$widget_info->document_list = $output->data;
|
||||
$widget_info->subject_cut_size = $subject_cut_size;
|
||||
|
||||
Context::set('widget_info', $widget_info);
|
||||
|
||||
// 템플릿의 스킨 경로를 지정 (skin, colorset에 따른 값을 설정)
|
||||
$tpl_path = sprintf('%sskins/%s', $this->widget_path, $args->skin);
|
||||
Context::set('colorset', $args->colorset);
|
||||
|
||||
// 템플릿 파일을 지정
|
||||
$tpl_file = 'list';
|
||||
|
||||
// 템플릿 컴파일
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
$output = $oTemplate->compile($tpl_path, $tpl_file);
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
.newestDocument { position:relative; border:1px solid #e0e1db; background:url(../images/cyan/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestDocument 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;} */
|
||||
.newestDocument .documentList { padding:1.2em; overflow:hidden;}
|
||||
.newestDocument .documentList li { display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; }
|
||||
.newestDocument .documentList li a { color:#a4a4a4; line-height:1.5em; }
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
.newestDocument { position:relative; border:1px solid #e0e1db; background:url(../images/green/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestDocument 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;} */
|
||||
.newestDocument .documentList { padding:1.2em; overflow:hidden;}
|
||||
.newestDocument .documentList li { display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; }
|
||||
.newestDocument .documentList li a { color:#a4a4a4; line-height:1.5em; }
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
.newestDocument { position:relative; border:1px solid #e0e1db; background:url(../images/normal/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestDocument 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;} */
|
||||
.newestDocument .documentList { padding:1.2em; overflow:hidden;}
|
||||
.newestDocument .documentList li { display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; }
|
||||
.newestDocument .documentList li a { color:#a4a4a4; line-height:1.5em; }
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
.newestDocument { position:relative; border:1px solid #e0e1db; background:url(../images/purple/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestDocument 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;} */
|
||||
.newestDocument .documentList { padding:1.2em; overflow:hidden;}
|
||||
.newestDocument .documentList li { display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; }
|
||||
.newestDocument .documentList li a { color:#a4a4a4; line-height:1.5em; }
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
.newestDocument { position:relative; border:1px solid #e0e1db; background:url(../images/red/bgBoxTypeB.gif) repeat-x left top; margin-bottom:.7em; }
|
||||
.newestDocument 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;} */
|
||||
.newestDocument .documentList { padding:1.2em; overflow:hidden;}
|
||||
.newestDocument .documentList li { display:block; color:#a4a4a4; margin-right:.1em; overflow:hidden; }
|
||||
.newestDocument .documentList li a { color:#a4a4a4; line-height:1.5em; }
|
||||
|
After Width: | Height: | Size: 207 B |
|
After Width: | Height: | Size: 205 B |
|
After Width: | Height: | Size: 200 B |
|
After Width: | Height: | Size: 197 B |
|
After Width: | Height: | Size: 196 B |
28
widgets/newest_document/skins/blog_newest_document/list.html
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<!-- 설정된 컬러셋의 종류에 따라서 css파일을 import 합니다 -->
|
||||
|
||||
<!--@if($colorset=="cyan")-->
|
||||
<!--%import("css/cyan.css")-->
|
||||
<!--@elseif($colorset=="green")-->
|
||||
<!--%import("css/green.css")-->
|
||||
<!--@elseif($colorset=="red")-->
|
||||
<!--%import("css/red.css")-->
|
||||
<!--@elseif($colorset=="purple")-->
|
||||
<!--%import("css/purple.css")-->
|
||||
<!--@else-->
|
||||
<!--%import("css/normal.css")-->
|
||||
<!--@end-->
|
||||
|
||||
<div class="newestDocument">
|
||||
<div class="header">
|
||||
<!--@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->getTitleText($widget_info->subject_cut_size)}</a></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
49
widgets/newest_document/skins/blog_newest_document/skin.xml
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
<?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">Newest Article List of Blog Style</title>
|
||||
<maker email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
|
||||
<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">It displays newest article with blog style.</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>
|
||||
<color name="cyan">
|
||||
<title xml:lang="ko">청록색</title>
|
||||
<title xml:lang="jp">青緑</title>
|
||||
<title xml:lang="zh-CN">青绿色</title>
|
||||
<title xml:lang="en">cyan</title>
|
||||
</color>
|
||||
<color name="green">
|
||||
<title xml:lang="ko">초록색</title>
|
||||
<title xml:lang="jp">緑</title>
|
||||
<title xml:lang="zh-CN">绿色</title>
|
||||
<title xml:lang="en">green</title>
|
||||
</color>
|
||||
<color name="red">
|
||||
<title xml:lang="ko">빨간색</title>
|
||||
<title xml:lang="jp">赤</title>
|
||||
<title xml:lang="zh-CN">红色</title>
|
||||
<title xml:lang="en">red</title>
|
||||
</color>
|
||||
<color name="purple">
|
||||
<title xml:lang="ko">보라색</title>
|
||||
<title xml:lang="jp">紫</title>
|
||||
<title xml:lang="zh-CN">紫色</title>
|
||||
<title xml:lang="en">purple</title>
|
||||
</color>
|
||||
</colorset>
|
||||
</skin>
|
||||
1
widgets/newest_document/skins/cozy_simple/css/blue.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
div.documentBox .header h2 { font-size:1em; color:#1187d8;}
|
||||
|
|
@ -0,0 +1 @@
|
|||
div.documentBox .header h2 { font-size:1em; color:#9ab09f;}
|
||||
7
widgets/newest_document/skins/cozy_simple/css/common.css
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
div.documentBox { padding-bottom:1em;}
|
||||
div.documentBox .header { padding:7px 0 0 12px; height:21px; _height:20px; background:#f5f5f5; }
|
||||
*:first-child+html div.documentBox .header { height:20px; color:#ef2121;}
|
||||
|
||||
div.documentBox ul { padding:.5em; overflow:hidden;}
|
||||
div.documentBox ul li { color:#a4a4a4; margin-right:.1em; line-height:1.5em;}
|
||||
div.documentBox ul li a { color:#a4a4a4;}
|
||||
1
widgets/newest_document/skins/cozy_simple/css/green.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
div.documentBox .header h2 { font-size:1em; color:#8dc63f;}
|
||||
1
widgets/newest_document/skins/cozy_simple/css/pink.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
div.documentBox .header h2 { font-size:1em; color:#f70795;}
|
||||
1
widgets/newest_document/skins/cozy_simple/css/red.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
div.documentBox .header h2 { font-size:1em; color:#ef2121;}
|
||||
29
widgets/newest_document/skins/cozy_simple/list.html
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<!-- 설정된 컬러셋의 종류에 따라서 css파일을 import 합니다 -->
|
||||
|
||||
<!--%import("css/common.css")-->
|
||||
<!--@if($colorset=="bluish_green")-->
|
||||
<!--%import("css/bluish_green.css")-->
|
||||
<!--@elseif($colorset=="green")-->
|
||||
<!--%import("css/green.css")-->
|
||||
<!--@elseif($colorset=="pink")-->
|
||||
<!--%import("css/pink.css")-->
|
||||
<!--@elseif($colorset=="blue")-->
|
||||
<!--%import("css/blue.css")-->
|
||||
<!--@else-->
|
||||
<!--%import("css/red.css")-->
|
||||
<!--@end-->
|
||||
|
||||
<div class="documentBox">
|
||||
<div class="header">
|
||||
<!--@if($widget_info->title)-->
|
||||
<h2>{$widget_info->title}</h2>
|
||||
<!--@else-->
|
||||
<h2>newest documents</h2>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<ul>
|
||||
<!--@foreach($widget_info->document_list as $oDocument)-->
|
||||
<li><a href="{$oDocument->getPermanentUrl()}#{$oDocument->getCommentCount()}">{$oDocument->getTitleText($widget_info->subject_cut_size)}</a></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
65
widgets/newest_document/skins/cozy_simple/skin.xml
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<skin>
|
||||
<title xml:lang="ko">cozy simple</title>
|
||||
<title xml:lang="jp">Cozyシンプル</title>
|
||||
<title xml:lang="en">cozy simple skin</title>
|
||||
<title xml:lang="zh-CN">Cozy样式皮肤</title>
|
||||
<maker email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
|
||||
<name xml:lang="ko">제로</name>
|
||||
<name xml:lang="jp">Zero</name>
|
||||
<name xml:lang="en">zero</name>
|
||||
<name xml:lang="zh-CN">Zero</name>
|
||||
<description xml:lang="ko">
|
||||
cozy simple 위젯입니다.
|
||||
디자인 : 서기정 (http://blog.naver.com/addcozy)
|
||||
HTML/CSS : 소지훈
|
||||
</description>
|
||||
<description xml:lang="jp">
|
||||
Cozyシンプルウィジェットです。
|
||||
デザイン:ソギジョン(http://blog.naver.com/addcozy)
|
||||
HTML/CSS:ソジフン
|
||||
</description>
|
||||
<description xml:lang="en">
|
||||
This is cozy simple widget.
|
||||
Design : Ki-Jeong Seo (http://blog.naver.com/addcozy)
|
||||
HTML/CSS : Ji-Hun So
|
||||
</description>
|
||||
<description xml:lang="zh-CN">
|
||||
Cozy样式皮肤。
|
||||
设计 : Ki-Jeong Seo (http://blog.naver.com/addcozy)
|
||||
HTML/CSS : Ji-Hun So
|
||||
</description>
|
||||
</maker>
|
||||
<colorset>
|
||||
<color name="red">
|
||||
<title xml:lang="ko">빨간색</title>
|
||||
<title xml:lang="jp">赤</title>
|
||||
<title xml:lang="en">Red</title>
|
||||
<title xml:lang="zh-CN">红色</title>
|
||||
</color>
|
||||
<color name="green">
|
||||
<title xml:lang="ko">초록색</title>
|
||||
<title xml:lang="jp">緑</title>
|
||||
<title xml:lang="en">Green</title>
|
||||
<title xml:lang="zh-CN">绿色</title>
|
||||
</color>
|
||||
<color name="blue">
|
||||
<title xml:lang="ko">파란색</title>
|
||||
<title xml:lang="jp">青</title>
|
||||
<title xml:lang="en">Blue</title>
|
||||
<title xml:lang="zh-CN">蓝色</title>
|
||||
</color>
|
||||
<color name="pink">
|
||||
<title xml:lang="ko">분홍색</title>
|
||||
<title xml:lang="jp">ピンク</title>
|
||||
<title xml:lang="en">Pink</title>
|
||||
<title xml:lang="zh-CN">粉红色</title>
|
||||
</color>
|
||||
<color name="bluish_green">
|
||||
<title xml:lang="ko">청록색</title>
|
||||
<title xml:lang="jp">青緑</title>
|
||||
<title xml:lang="en">Cyan</title>
|
||||
<title xml:lang="zh-CN">青绿色</title>
|
||||
</color>
|
||||
</colorset>
|
||||
</skin>
|
||||
BIN
widgets/newest_document/skins/default/blue/document_bullet.gif
Normal file
|
After Width: | Height: | Size: 282 B |
75
widgets/newest_document/skins/default/blue/style.css
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
.newest_document_default_blue {
|
||||
}
|
||||
|
||||
.newest_document_default_blue .newest_document_default_box {
|
||||
}
|
||||
|
||||
.newest_document_default_blue .newest_document_default_box .title_box {
|
||||
border:1px solid #EEEEEE;
|
||||
padding:5px;
|
||||
height:14px;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.newest_document_default_blue .newest_document_default_box .title_box .title {
|
||||
background:url(./title_bullet.gif) no-repeat left;
|
||||
font-weight:bold;
|
||||
height:16px;
|
||||
padding-left:20px;
|
||||
float:left;
|
||||
}
|
||||
|
||||
.newest_document_default_blue .newest_document_default_box .title_box .more A {
|
||||
float:right;
|
||||
color:#AAAAAA;
|
||||
text-decoration:none;
|
||||
font-weight:bold;
|
||||
font-size:.75em;
|
||||
}
|
||||
|
||||
.newest_document_default_blue .newest_document_default_box .document_box {
|
||||
padding:3px 3px 3px 5px;
|
||||
clear:both;
|
||||
border-bottom:1px solid #EEEEEE;
|
||||
height:16px;
|
||||
margin:0px 0px 2px 0px;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.newest_document_default_blue .newest_document_default_box .document {
|
||||
padding:0px 0px 5px 20px;
|
||||
background:url(./document_bullet.gif) no-repeat left;
|
||||
float:left;
|
||||
}
|
||||
|
||||
.newest_document_default_blue .newest_document_default_box .document A {
|
||||
text-decoration:none;
|
||||
color:#555555;
|
||||
}
|
||||
|
||||
.newest_document_default_blue .newest_document_default_box .document A:hover {
|
||||
text-decoration:underline;
|
||||
color:#000000;
|
||||
}
|
||||
|
||||
.newest_document_default_blue .newest_document_default_box .document A:visited {
|
||||
color:#AAAAAA;
|
||||
}
|
||||
|
||||
.newest_document_default_blue .newest_document_default_box .document .comment A {
|
||||
font-size:7pt;
|
||||
color:#AAAAAA;
|
||||
letter-spacing:-1px;
|
||||
}
|
||||
|
||||
.newest_document_default_blue .newest_document_default_box .document .writer {
|
||||
color:#AAAAAA;
|
||||
}
|
||||
|
||||
|
||||
.newest_document_default_blue .newest_document_default_box .regdate {
|
||||
color:#AAAAAA;
|
||||
font-size:8pt;
|
||||
float:right;
|
||||
white-space:nowrap;
|
||||
}
|
||||
BIN
widgets/newest_document/skins/default/blue/title_bullet.gif
Normal file
|
After Width: | Height: | Size: 1 KiB |
35
widgets/newest_document/skins/default/list.html
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<!-- 설정된 컬러셋의 종류에 따라서 css파일을 import 합니다 -->
|
||||
|
||||
<!--@if($colorset=="normal"||!$colorset)-->
|
||||
<!--%import("normal/style.css")-->
|
||||
|
||||
<!--@elseif($colorset=="blue")-->
|
||||
<!--%import("blue/style.css")-->
|
||||
|
||||
<!--@end-->
|
||||
|
||||
<div class="newest_document_default_{$colorset}">
|
||||
<div class="newest_document_default_box">
|
||||
<div class="title_box">
|
||||
<div class="title">{$widget_info->title}</div>
|
||||
<!--@if($widget_info->module_name)-->
|
||||
<div class="more"><a href="{getUrl('','mid',$widget_info->module_name)}">more</a></div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<!--@foreach($widget_info->document_list as $oDocument)-->
|
||||
<div class="document_box">
|
||||
<div class="document">
|
||||
<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>
|
||||
</div>
|
||||
<div class="regdate">{$oDocument->getRegdate("Y-m-d")}</div>
|
||||
</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
</div>
|
||||
BIN
widgets/newest_document/skins/default/normal/document_bullet.gif
Normal file
|
After Width: | Height: | Size: 282 B |
75
widgets/newest_document/skins/default/normal/style.css
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
.newest_document_default_normal {
|
||||
}
|
||||
|
||||
.newest_document_default_normal .newest_document_default_box {
|
||||
}
|
||||
|
||||
.newest_document_default_normal .newest_document_default_box .title_box {
|
||||
border:1px solid #EEEEEE;
|
||||
padding:5px;
|
||||
height:14px;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.newest_document_default_normal .newest_document_default_box .title_box .title {
|
||||
background:url(./title_bullet.gif) no-repeat left;
|
||||
font-weight:bold;
|
||||
height:14px;
|
||||
padding-left:20px;
|
||||
float:left;
|
||||
}
|
||||
|
||||
.newest_document_default_normal .newest_document_default_box .title_box .more A {
|
||||
float:right;
|
||||
color:#AAAAAA;
|
||||
text-decoration:none;
|
||||
font-weight:bold;
|
||||
font-size:.75em;
|
||||
}
|
||||
|
||||
.newest_document_default_normal .newest_document_default_box .document_box {
|
||||
padding:3px 3px 3px 5px;
|
||||
clear:both;
|
||||
border-bottom:1px solid #EEEEEE;
|
||||
height:16px;
|
||||
margin:0px 0px 2px 0px;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.newest_document_default_normal .newest_document_default_box .document {
|
||||
padding:0px 0px 5px 20px;
|
||||
background:url(./document_bullet.gif) no-repeat left;
|
||||
float:left;
|
||||
}
|
||||
|
||||
.newest_document_default_normal .newest_document_default_box .document A {
|
||||
text-decoration:none;
|
||||
color:#555555;
|
||||
}
|
||||
|
||||
.newest_document_default_normal .newest_document_default_box .document A:hover {
|
||||
text-decoration:underline;
|
||||
color:#000000;
|
||||
}
|
||||
|
||||
.newest_document_default_normal .newest_document_default_box .document A:visited {
|
||||
color:#AAAAAA;
|
||||
}
|
||||
|
||||
.newest_document_default_normal .newest_document_default_box .document .comment A {
|
||||
font-size:7pt;
|
||||
color:#AAAAAA;
|
||||
letter-spacing:-1px;
|
||||
}
|
||||
|
||||
.newest_document_default_normal .newest_document_default_box .document .writer {
|
||||
color:#AAAAAA;
|
||||
}
|
||||
|
||||
|
||||
.newest_document_default_normal .newest_document_default_box .regdate {
|
||||
color:#AAAAAA;
|
||||
font-size:8pt;
|
||||
float:right;
|
||||
white-space:nowrap;
|
||||
}
|
||||
BIN
widgets/newest_document/skins/default/normal/title_bullet.gif
Normal file
|
After Width: | Height: | Size: 589 B |
31
widgets/newest_document/skins/default/skin.xml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<?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">Default Skin of Newest Article List</title>
|
||||
<maker email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
|
||||
<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">Default skin of newest article list widget</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>
|
||||
<color name="blue">
|
||||
<title xml:lang="ko">푸른계통의 컬러</title>
|
||||
<title xml:lang="jp">青系のカラー</title>
|
||||
<title xml:lang="zh-CN">蓝色</title>
|
||||
<title xml:lang="en">Blue style color</title>
|
||||
</color>
|
||||
</colorset>
|
||||
</skin>
|
||||
18
widgets/newest_document/skins/xe_official/css/black.css
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
.latest_black { width:100%; padding-bottom:15px; overflow:hidden; position:relative;}
|
||||
.latest_black h2 { display:block; height:21px; padding:9px 0 0 9px; margin-bottom:12px; color:#ffffff; background:url(../images/black/lineNotice.gif) no-repeat left bottom; font-size:1em;}
|
||||
|
||||
.latest_black ul { }
|
||||
.latest_black ul li { position:relative; height:21px; background:url(../images/black/bulletD0.gif) no-repeat left 5px; padding-left:10px; overflow:hidden; }
|
||||
|
||||
.latest_black ul li .title { position:relative; z-index:0; overflow:hidden; width:100%; white-space:nowrap;}
|
||||
.latest_black ul li .title a { color:#818181; text-decoration:none; }
|
||||
.latest_black ul li .title a:hover { text-decoration:underline; }
|
||||
.latest_black ul li .title span.comment { color:#FE6700; font:.8em Tahoma; }
|
||||
.latest_black ul li .title span.comment a { color:#FE6700; font:.8em Tahoma; }
|
||||
|
||||
.latest_black ul li .date { position:relative; z-index:1; }
|
||||
.latest_black ul li .date span { background:#FFFFFF; position:relative; z-index:1; padding:3px 5px 3px 12px; text-align:right; float:right; top:-16px; _top:-18px; color:#999999; font:.8em Tahoma; }
|
||||
|
||||
.latest_black .more { position:absolute; top:12px; right:11px; color:#54564b; font:.8em Tahoma;}
|
||||
.latest_black a.more { text-decoration:none;}
|
||||
.latest_black a.more:hover { text-decoration:underline;}
|
||||
18
widgets/newest_document/skins/xe_official/css/white.css
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
.latest_white { width:100%; padding-bottom:15px; overflow:hidden; position:relative;}
|
||||
.latest_white h2 { display:block; height:21px; padding:9px 0 0 9px; margin-bottom:12px; color:#000000; background:url(../images/white/lineNotice.gif) no-repeat left bottom; font-size:1em;}
|
||||
|
||||
.latest_white ul { }
|
||||
.latest_white ul li { position:relative; height:21px; background:url(../images/white/bulletD0.gif) no-repeat left 5px; padding-left:10px; overflow:hidden; }
|
||||
|
||||
.latest_white ul li .title { position:relative; z-index:0; overflow:hidden; width:100%; white-space:nowrap;}
|
||||
.latest_white ul li .title a { color:#555555; text-decoration:none; }
|
||||
.latest_white ul li .title a:hover { text-decoration:underline; }
|
||||
.latest_white ul li .title span.comment { color:#FE6700; font:.8em Tahoma; }
|
||||
.latest_white ul li .title span.comment a { color:#FE6700; font:.8em Tahoma; }
|
||||
|
||||
.latest_white ul li .date { position:relative; z-index:1; }
|
||||
.latest_white ul li .date span { background:#FFFFFF; position:relative; z-index:1; padding:3px 5px 3px 12px; text-align:right; float:right; top:-16px; _top:-18px; color:#999999; font:.8em Tahoma; }
|
||||
|
||||
.latest_white .more { position:absolute; top:12px; right:11px; color:#54564b; font:.8em Tahoma;}
|
||||
.latest_white a.more { text-decoration:none;}
|
||||
.latest_white a.more:hover { text-decoration:underline;}
|
||||
|
After Width: | Height: | Size: 44 B |
|
After Width: | Height: | Size: 139 B |
|
After Width: | Height: | Size: 44 B |
|
After Width: | Height: | Size: 139 B |
29
widgets/newest_document/skins/xe_official/list.html
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<!-- 설정된 컬러셋의 종류에 따라서 css파일을 import 합니다 -->
|
||||
|
||||
<!--@if($colorset=="black")-->
|
||||
<!--%import("css/black.css")-->
|
||||
<!--@else-->
|
||||
<!--%import("css/white.css")-->
|
||||
<!--@end-->
|
||||
|
||||
<div class="latest_{$colorset}">
|
||||
<!--@if($widget_info->title)-->
|
||||
<h2>{$widget_info->title}</h2>
|
||||
<!--@end-->
|
||||
<ul>
|
||||
<!--@foreach($widget_info->document_list as $oDocument)-->
|
||||
<li>
|
||||
<span class="title">
|
||||
<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>
|
||||
<span class="date"><span>{$oDocument->getRegdate("Y-m-d")}</span></span>
|
||||
</li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
<!--@if($widget_info->module_name)-->
|
||||
<a href="{getUrl('','mid',$widget_info->module_name)}" class="more">more</a>
|
||||
<!--@end-->
|
||||
</div>
|
||||
41
widgets/newest_document/skins/xe_official/skin.xml
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<skin>
|
||||
<title xml:lang="ko">XE 공식 레이아웃용 최신글 스킨</title>
|
||||
<title xml:lang="jp">XEデフォルトレイアウト用の最新コンテンツ表示スキン</title>
|
||||
<title xml:lang="zh-CN">XE 官方网站主题列表</title>
|
||||
<maker email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 8. 1">
|
||||
<name xml:lang="ko">제로</name>
|
||||
<name xml:lang="jp">Zero</name>
|
||||
<name xml:lang="zh-CN">zero</name>
|
||||
<description xml:lang="ko">
|
||||
XE 공식 레이아웃에 적합한 최신글 스킨입니다.
|
||||
디자인 : 이소라 (http://ra-ra.pe.kr)
|
||||
퍼블리싱 : 정찬명 (http://naradesign.net)
|
||||
레이아웃 제작 : zero (http://blog.nzeo.com)
|
||||
</description>
|
||||
<description xml:lang="jp">
|
||||
XEデフォルトレイアウトに最も適した最新コンテンツ表示用のスキンです。
|
||||
デザイン:イソラ(http://ra-ra.pe.kr)
|
||||
パブリシング:ジョンチャンミョン(http://naradesign.net)
|
||||
レイアウト作成:Zero (http://blog.nzeo.com)
|
||||
</description>
|
||||
<description xml:lang="zh-CN">
|
||||
适合XE 官方网站的主题列表。
|
||||
设计 : So-Ra Lee(http://ra-ra.pe.kr)
|
||||
HTML/CSS : Chan-Myung Jeong(http://naradesign.net)
|
||||
布局: zero (http://blog.nzeo.com)
|
||||
</description>
|
||||
</maker>
|
||||
<colorset>
|
||||
<color name="white">
|
||||
<title xml:lang="ko">흰색 바탕용</title>
|
||||
<title xml:lang="jp">白い背景</title>
|
||||
<title xml:lang="zh-CN">白色背景</title>
|
||||
</color>
|
||||
<color name="black">
|
||||
<title xml:lang="ko">어두운 바탕용</title>
|
||||
<title xml:lang="jp">暗い背景</title>
|
||||
<title xml:lang="zh-CN">暗色背景</title>
|
||||
</color>
|
||||
</colorset>
|
||||
</skin>
|
||||