mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 14:49:56 +09:00
xe_blog layout skin update (to 2step)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4043 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d691339524
commit
c00e3c8fd7
13 changed files with 125 additions and 121 deletions
|
|
@ -51,6 +51,21 @@
|
|||
<description xml:lang="es">Usted puede definir el número de la lista(predefinido: 5).</description>
|
||||
<description xml:lang="ru">Вы можете выбрать число списка. (стандарт: 5)</description>
|
||||
</var>
|
||||
<var id="subject_cut_size">
|
||||
<name xml:lang="ko">제목 글자수</name>
|
||||
<name xml:lang="jp">タイトルの文字数</name>
|
||||
<name xml:lang="zh-CN">标题字数</name>
|
||||
<name xml:lang="en">Length of Subject</name>
|
||||
<name xml:lang="es">Número de letras del título</name>
|
||||
<name xml:lang="ru">Длина темы</name>
|
||||
<type>text</type>
|
||||
<description xml:lang="ko">제목 글자수를 지정할 수 있습니다. (0또는 비워주시면 자르지 않습니다)</description>
|
||||
<description xml:lang="jp">タイトルの文字数が指定できます(「0」または空欄の場合は、文字数を制限しません)。</description>
|
||||
<description xml:lang="zh-CN">可以设置标题的字数。(0或留空为不限)</description>
|
||||
<description xml:lang="en">Length of Subject can be assigned. (0 or blank value will not restrict the length)</description>
|
||||
<description xml:lang="es">El largo del título puede ser asignado. (valor 0 o en blanco no restringe el largo)</description>
|
||||
<description xml:lang="ru">Длина темы может быть присвоена. (0 или пустое значение не будут ограничивать длину)</description>
|
||||
</var>
|
||||
<var id="mid_list">
|
||||
<name xml:lang="ko">대상 모듈</name>
|
||||
<name xml:lang="zh-CN">模块对象</name>
|
||||
|
|
|
|||
|
|
@ -28,6 +28,10 @@
|
|||
$obj->sort_index = $order_target;
|
||||
$obj->list_count = $list_count;
|
||||
|
||||
// 제목 길이 자르기
|
||||
$subject_cut_size = $args->subject_cut_size;
|
||||
if(!$subject_cut_size) $subject_cut_size = 0;
|
||||
|
||||
// comment 모듈의 model 객체를 받아서 getCommentList() method를 실행
|
||||
$oCommentModel = &getModel('comment');
|
||||
$output = $oCommentModel->getNewestCommentList($obj);
|
||||
|
|
@ -37,6 +41,7 @@
|
|||
|
||||
$widget_info->title = $title;
|
||||
$widget_info->comment_list = $output;
|
||||
$widget_info->subject_cut_size = $subject_cut_size;
|
||||
|
||||
Context::set('widget_info', $widget_info);
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
</div>
|
||||
<ul class="items">
|
||||
<!--@foreach($widget_info->comment_list as $val)-->
|
||||
<li><a href="{getUrl('','document_srl',$val->get('document_srl'))}#comment_{$val->get('comment_srl')}">{$val->getSummary(60)}</a></li>
|
||||
<li><a href="{getUrl('','document_srl',$val->get('document_srl'))}#comment_{$val->get('comment_srl')}">{$val->getSummary($widget_info->subject_cut_size)}</a></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue