xe_board, xe_default 게시판의 웹진형일때 내용 자르기를 정할 수 있도록 스킨 기능 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5989 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-03-30 01:26:34 +00:00
parent 7ad4015c2d
commit d2124f9b9a
6 changed files with 40 additions and 8 deletions

View file

@ -11,9 +11,8 @@
<!--%import("css/white.css")-->
<!--@end-->
<!--@if(!$module_info->duration_new = (int)$module_info->duration_new)-->
{@ $module_info->duration_new = 12 }
<!--@end-->
<!--@if(!$module_info->duration_new = (int)$module_info->duration_new)-->{@ $module_info->duration_new = 12 }<!--@end-->
<!--@if(!$module_info->content_cut_size = (int)$module_info->content_cut_size)-->{@ $module_info->content_cut_size= 240 }<!--@end-->
<!--@if(!$module_info->thumbnail_type)-->{@ $module_info->thumbnail_type = 'crop'; }<!--@end-->
<!--@if(!$module_info->thumbnail_width)-->{@ $module_info->thumbnail_width = 100; }<!--@end-->

View file

@ -127,7 +127,7 @@
<a href="{getUrl('document_srl',$document->document_srl,'listStyle',$listStyle, 'cpage','')}" class="thumb"><img src="{$document->getThumbnail($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type)}" alt="" /></a>
<!--@end-->
<!--@if($grant->view)-->
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getSummary(120)}</a>
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getSummary($module_info->content_cut_size)}</a>
<!--@end-->
&nbsp;
</td>

View file

@ -248,6 +248,23 @@
<description xml:lang="es">You may set length of title. (0 or blank value will not restrict the length)</description>
<description xml:lang="zh-TW">可指定標題字數(0或留白為不限制)。</description>
</var>
<var id="content_cut_size">
<type>text</type>
<name xml:lang="ko">내용 글자수</name>
<name xml:lang="jp">内容の文字数</name>
<name xml:lang="zh-CN">内容字数</name>
<name xml:lang="en">Length of Content</name>
<name xml:lang="es">Número de letras del Contenidos</name>
<name xml:lang="ru">Длина содержания</name>
<name xml:lang="zh-TW">內容字數</name>
<description xml:lang="ko">내용 글자수를 지정할 수 있습니다. (기본 240)</description>
<description xml:lang="jp">内容の文字数を指定します(デフォルト 240)。</description>
<description xml:lang="zh-CN">可以指定要显示的内容字数。(默认为240)</description>
<description xml:lang="en">Length of Content can be assigned. (default 240)</description>
<description xml:lang="es">El largo del Contenidos puede ser asignado. (Predefinido 240)</description>
<description xml:lang="ru">Длина содержания может быть присвоена. (стандарт: 240)</description>
<description xml:lang="zh-TW">可以指定要顯示的內容字數。(預設是240)</description>
</var>
<var name="display_number" type="select">
<title xml:lang="ko">번호 표시</title>
<title xml:lang="jp">番号表示</title>