mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
English translation, planet widget에 댓글, 원츄 수 보여주는 부분 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6291 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
59084f558a
commit
f71beda125
4 changed files with 60 additions and 11 deletions
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<widget version="0.2">
|
||||
<title xml:lang="ko">플래닛 최근 글 출력</title>
|
||||
<title xml:lang="en">플래닛 최근 글 출력</title>
|
||||
<title xml:lang="en">Recent Document of PlanetXE</title>
|
||||
<title xml:lang="zh-CN">微博主题列表</title>
|
||||
<title xml:lang="zh-TW">微型部落格主題輸出</title>
|
||||
<title xml:lang="jp">プラネット最新書き込み表示</title>
|
||||
<description xml:lang="ko">플래닛의 글들만 출력하는 위젯입니다 .</description>
|
||||
<description xml:lang="en">플래닛의 글들만 출력하는 위젯입니다 .</description>
|
||||
<description xml:lang="en">This widget displays recent documents in PlanetXE.</description>
|
||||
<description xml:lang="zh-CN">列出微博主题列表。</description>
|
||||
<description xml:lang="zh-TW">微型部落格主題輸出控件。</description>
|
||||
<description xml:lang="jp">プラネットに登録された書く込みだけ表示するウィジェットです。</description>
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
<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>
|
||||
<name xml:lang="en">The number of items</name>
|
||||
<name xml:lang="es">Número de la lista</name>
|
||||
<name xml:lang="ru">Число списка</name>
|
||||
<name xml:lang="zh-TW">目錄數</name>
|
||||
|
|
@ -76,7 +76,7 @@
|
|||
<name xml:lang="ko">중복 허용</name>
|
||||
<name xml:lang="jp">重複可能</name>
|
||||
<name xml:lang="zh-CN">重复与否</name>
|
||||
<name xml:lang="en">중복 허용</name>
|
||||
<name xml:lang="en">Allow Repetition</name>
|
||||
<name xml:lang="ru">중복 허용</name>
|
||||
<name xml:lang="zh-TW">是否重複</name>
|
||||
<description xml:lang="ko">Y로 하시면 플래닛 멤버들의 중복을 검사하지 않고 무조건 최신순으로 글을 추출하여 출력합니다</description>
|
||||
|
|
@ -85,13 +85,13 @@
|
|||
允许重复:不管你发布了多少个主题,按时间顺列出;
|
||||
不重复:只列出每个用户的最近一个主题。
|
||||
</description>
|
||||
<description xml:lang="en">Y로 하시면 플래닛 멤버들의 중복을 검사하지 않고 무조건 최신순으로 글을 추출하여 출력합니다</description>
|
||||
<description xml:lang="en">If you do not allow the repetition, this widget shows at most one article for one member</description>
|
||||
<description xml:lang="ru">Y로 하시면 플래닛 멤버들의 중복을 검사하지 않고 무조건 최신순으로 글을 추출하여 출력합니다</description>
|
||||
<description xml:lang="zh-TW">可重複:按照時間順序排列顯示主題;不重複:只會顯示用戶最近發表的主題。</description>
|
||||
<options>
|
||||
<value>N</value>
|
||||
<name xml:lang="ko">중복하지 않음</name>
|
||||
<name xml:lang="en">중복하지 않음</name>
|
||||
<name xml:lang="en">Not allow</name>
|
||||
<name xml:lang="jp">重複不可</name>
|
||||
<name xml:lang="zh-CN">不重复</name>
|
||||
<name xml:lang="es">중복하지 않음</name>
|
||||
|
|
@ -100,12 +100,54 @@
|
|||
<options>
|
||||
<value>Y</value>
|
||||
<name xml:lang="ko">중복 허용</name>
|
||||
<name xml:lang="en">중복 허용</name>
|
||||
<name xml:lang="en">Allow</name>
|
||||
<name xml:lang="jp">重複可能</name>
|
||||
<name xml:lang="zh-CN">允许重复</name>
|
||||
<name xml:lang="es">중복 허용</name>
|
||||
<name xml:lang="zh-TW">可重複</name>
|
||||
</options>
|
||||
</var>
|
||||
<var id="show_author_name">
|
||||
<type>select</type>
|
||||
<name xml:lang="ko">글쓴이 표시</name>
|
||||
<name xml:lang="en">Display author's name</name>
|
||||
<options>
|
||||
<value>Y</value>
|
||||
<name xml:lang="ko">출력</name>
|
||||
<name xml:lang="en">Display</name>
|
||||
<name xml:lang="zh-CN">显示</name>
|
||||
<name xml:lang="zh-TW">顯示</name>
|
||||
<name xml:lang="jp">表示</name>
|
||||
</options>
|
||||
<options>
|
||||
<value>N</value>
|
||||
<name xml:lang="ko">출력하지 않음</name>
|
||||
<name xml:lang="en">Not display</name>
|
||||
<name xml:lang="zh-CN">不显示</name>
|
||||
<name xml:lang="zh-TW">不顯示</name>
|
||||
<name xml:lang="jp">表示しない</name>
|
||||
</options>
|
||||
</var>
|
||||
<var id="show_number_of_comments">
|
||||
<type>select</type>
|
||||
<name xml:lang="ko">댓글수, 원츄수 표시</name>
|
||||
<name xml:lang="en">Display the number of comments and votes</name>
|
||||
<options>
|
||||
<value>Y</value>
|
||||
<name xml:lang="ko">출력</name>
|
||||
<name xml:lang="en">Display</name>
|
||||
<name xml:lang="zh-CN">显示</name>
|
||||
<name xml:lang="zh-TW">顯示</name>
|
||||
<name xml:lang="jp">表示</name>
|
||||
</options>
|
||||
<options>
|
||||
<value>N</value>
|
||||
<name xml:lang="ko">출력하지 않음</name>
|
||||
<name xml:lang="en">Not display</name>
|
||||
<name xml:lang="zh-CN">不显示</name>
|
||||
<name xml:lang="zh-TW">不顯示</name>
|
||||
<name xml:lang="jp">表示しない</name>
|
||||
</options>
|
||||
</var>
|
||||
</extra_vars>
|
||||
</widget>
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
// 템플릿 컴파일
|
||||
|
|
|
|||
|
|
@ -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;}
|
||||
|
|
|
|||
|
|
@ -8,8 +8,10 @@
|
|||
<li>
|
||||
<a href="{getSiteUrl($widget_info->domain,'','mid',$item->getPlanetMid(),'date',$item->getRegdate())}" class="author" title="{htmlspecialchars($item->nick_name)}"><img src="{$item->getPlanetPhotoSrc($widget_info->thumbnail_width,$widget_info->thumbnail_height)}" width="{$widget_info->thumbnail_width}" height="{$widget_info->thumbnail_height}" alt="{htmlspecialchars($item->nick_name)}" /></a>
|
||||
<div class="title">
|
||||
{$item->getContent()}
|
||||
<span class="date">{zdate($item->get('regdate'),"y.m.d",false)}</span> <span class="hour">{zdate($item->get('regdate'),"H:i",false)}</span>
|
||||
{$item->getContent()}
|
||||
<span class="date">{zdate($item->get('regdate'),"y.m.d",false)}</span> <span class="hour">{zdate($item->get('regdate'),"H:i",false)}</span>
|
||||
<!--@if($widget_info->show_author_name == 'Y')--><span class="author_a">by <a href="#" onclick="return false;" class="member_{$item->getMemberSrl()}">{$item->getNickName()}</a></span> <!--@endif-->
|
||||
<!--@if($widget_info->show_number_of_comments == 'Y')--><span class="cnt">{$lang->comment}:{$item->getCommentCount()} {$lang->cmd_planet_good}:{$item->getVotedCount()}</span><!--@endif-->
|
||||
<span class="arrow"></span><span class="deco topLeft"></span><span class="deco topRight"></span><span class="deco bottomLeft"></span><span class="deco bottomRight"></span>
|
||||
</div>
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue