From f71beda125634c5fa0d267d13296232f14e2e5fe Mon Sep 17 00:00:00 2001 From: haneul Date: Wed, 6 May 2009 15:03:26 +0000 Subject: [PATCH] =?UTF-8?q?English=20translation,=20planet=20widget?= =?UTF-8?q?=EC=97=90=20=EB=8C=93=EA=B8=80,=20=EC=9B=90=EC=B8=84=20?= =?UTF-8?q?=EC=88=98=20=EB=B3=B4=EC=97=AC=EC=A3=BC=EB=8A=94=20=EB=B6=80?= =?UTF-8?q?=EB=B6=84=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6291 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- widgets/planet_document/conf/info.xml | 56 ++++++++++++++++--- .../planet_document/planet_document.class.php | 4 ++ .../skins/default/css/widget.css | 5 +- .../planet_document/skins/default/list.html | 6 +- 4 files changed, 60 insertions(+), 11 deletions(-) diff --git a/widgets/planet_document/conf/info.xml b/widgets/planet_document/conf/info.xml index c866ab5f0..6bb4e6f20 100644 --- a/widgets/planet_document/conf/info.xml +++ b/widgets/planet_document/conf/info.xml @@ -1,12 +1,12 @@  플래닛 최근 글 출력 - 플래닛 최근 글 출력 + Recent Document of PlanetXE 微博主题列表 微型部落格主題輸出 プラネット最新書き込み表示 플래닛의 글들만 출력하는 위젯입니다 . - 플래닛의 글들만 출력하는 위젯입니다 . + This widget displays recent documents in PlanetXE. 列出微博主题列表。 微型部落格主題輸出控件。 プラネットに登録された書く込みだけ表示するウィジェットです。 @@ -27,7 +27,7 @@ 목록수 目录数 リスト数 - The number of list + The number of items Número de la lista Число списка 目錄數 @@ -76,7 +76,7 @@ 중복 허용 重複可能 重复与否 - 중복 허용 + Allow Repetition 중복 허용 是否重複 Y로 하시면 플래닛 멤버들의 중복을 검사하지 않고 무조건 최신순으로 글을 추출하여 출력합니다 @@ -85,13 +85,13 @@ 允许重复:不管你发布了多少个主题,按时间顺列出; 不重复:只列出每个用户的最近一个主题。 - Y로 하시면 플래닛 멤버들의 중복을 검사하지 않고 무조건 최신순으로 글을 추출하여 출력합니다 + If you do not allow the repetition, this widget shows at most one article for one member Y로 하시면 플래닛 멤버들의 중복을 검사하지 않고 무조건 최신순으로 글을 추출하여 출력합니다 可重複:按照時間順序排列顯示主題;不重複:只會顯示用戶最近發表的主題。 N 중복하지 않음 - 중복하지 않음 + Not allow 重複不可 不重复 중복하지 않음 @@ -100,12 +100,54 @@ Y 중복 허용 - 중복 허용 + Allow 重複可能 允许重复 중복 허용 可重複 + + select + 글쓴이 표시 + Display author's name + + Y + 출력 + Display + 显示 + 顯示 + 表示 + + + N + 출력하지 않음 + Not display + 不显示 + 不顯示 + 表示しない + + + + select + 댓글수, 원츄수 표시 + Display the number of comments and votes + + Y + 출력 + Display + 显示 + 顯示 + 表示 + + + N + 출력하지 않음 + Not display + 不显示 + 不顯示 + 表示しない + + diff --git a/widgets/planet_document/planet_document.class.php b/widgets/planet_document/planet_document.class.php index 54b3223ec..fefaa88b2 100644 --- a/widgets/planet_document/planet_document.class.php +++ b/widgets/planet_document/planet_document.class.php @@ -59,6 +59,10 @@ $widget_info->thumbnail_width = $args->thumbnail_width; $widget_info->thumbnail_height = $args->thumbnail_height; $widget_info->domain = Context::getDefaultUrl(); + if(!$args->show_number_of_comments) $args->show_number_of_comments = "N"; + if(!$args->show_author_name) $args->show_author_name = "N"; + $widget_info->show_number_of_comments = $args->show_number_of_comments; + $widget_info->show_author_name = $args->show_author_name; Context::set('widget_info', $widget_info); // 템플릿 컴파일 diff --git a/widgets/planet_document/skins/default/css/widget.css b/widgets/planet_document/skins/default/css/widget.css index 22adec8e8..5009d19cf 100644 --- a/widgets/planet_document/skins/default/css/widget.css +++ b/widgets/planet_document/skins/default/css/widget.css @@ -15,13 +15,14 @@ .widgetUlistB li .author{ float:left; margin-right:-42px;} .widgetUlistB li .author img{ border:1px solid;} .widgetUlistB li .title{ position:relative; margin:0 0 0 60px; border:2px solid; padding:10px 15px; *zoom:1;} -.widgetUlistB li .title div { display:inline; } -.widgetUlistB li .title a{ text-decoration:underline;} +.widgetUlistB li .title div { display:block; } +.widgetUlistB li .title a{ text-decoration:none;} .widgetUlistB li .title .arrow{ position:absolute; top:16px; left:-6px; display:block; overflow:hidden; width:6px; height:7px; font-size:0; line-height:0;} .widgetUlistB li .title .deco{ position:absolute; display:block; overflow:hidden; width:1px; height:1px; font-size:0; line-height:0;} .widgetUlistB li .title .deco .topLeft{} .widgetUlistB li .title .date{ font-size:11px; font-family:Tahoma;} .widgetUlistB li .title .hour{ font-size:11px; font-family:Tahoma;} +.widgetUlistB li .title .cnt{ font-size:11px; font-family:Tahoma; color:#888;} .widgetUlistB li .author img{ border-color:#ccc;} .widgetUlistB li .title{ border-color:#eee; color:#333; background:#fff;} diff --git a/widgets/planet_document/skins/default/list.html b/widgets/planet_document/skins/default/list.html index 1f5d0b0ac..936af71e8 100644 --- a/widgets/planet_document/skins/default/list.html +++ b/widgets/planet_document/skins/default/list.html @@ -8,8 +8,10 @@
  • {htmlspecialchars($item->nick_name)}
    - {$item->getContent()} - {zdate($item->get('regdate'),"y.m.d",false)} {zdate($item->get('regdate'),"H:i",false)} + {$item->getContent()} + {zdate($item->get('regdate'),"y.m.d",false)} {zdate($item->get('regdate'),"H:i",false)} + by {$item->getNickName()} + {$lang->comment}:{$item->getCommentCount()} {$lang->cmd_planet_good}:{$item->getVotedCount()}