git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4825 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2008-11-10 02:32:33 +00:00
parent ded9858513
commit 74f49c934b
7 changed files with 38 additions and 49 deletions

View file

@ -29,6 +29,7 @@
{@ $order_type = "desc"; }
<!--@end-->
{$module_info->default_style = 'blog' }
<!--@if($module_info->default_style != 'forum' && $module_info->default_style != 'blog')-->
<!--@if($listStyle=='gallery')-->
{@ $module_info->default_style = 'gallery'}

View file

@ -37,51 +37,38 @@
</tr>
</table>
<!--@else-->
<!--@foreach($notice_list as $no => $document)-->
<table cellspacing="0" summary="" class="boardList">
<tbody>
<tr class="notice">
<!--@if($module_info->display_number!='N')--><td class="notice">{$lang->notice}</td><!--@end-->
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<td class="title">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
<!--@end-->
{@ $_col_count = 1; }
<!--@if($module_info->display_number!='N')-->{@ $_col_count++}<!--@end-->
<!--@if($grant->is_admin)-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_author!='N')-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_readed_count!='N')-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_voted_count!='N')-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_regdate != 'N')-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_last_update == 'Y')-->{@ $_col_count++}<!--@end-->
<!--@if($notice_list)-->
<table cellspacing="0" border="1" summary="List of Articles" class="boardList">
<!--@if($_col_count>1)-->
<thead>
{@ $no_line_class = " no_line" }
<tr>
<!--@if($module_info->display_number!='N')--><th scope="col">{$lang->no}</th>{@ $no_line_class=""}<!--@end-->
<!--@if($grant->is_admin)--><th scope="col"><input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" /></th>{@ $no_line_class=""}<!--@end-->
<th scope="col" class="title">
<!--@if($module_info->use_category == "Y")-->
<span class="jumpTo">
<select name="category" id="board_category">
<option value="">{$lang->category}</option>
<!--@foreach($category_list as $val)-->
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl)-->selected="selected"<!--@end-->>{str_repeat("&nbsp;&nbsp;",$val->depth)} {$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
<!--@end-->
</select>
<button type="button" name="go_button" id="go_button" onclick="doChangeCategory(); return false;" class="button">Go</button>
</span>
<!--@end-->
{$lang->title}
</th>
<!--@if($module_info->display_author!='N')--><th scope="col">{$lang->writer}</th><!--@end-->
<!--@if($module_info->display_readed_count!='N')--><th scope="col"><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./images/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><th scope="col"><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">{$lang->voted_count}<!--@if($sort_index=='voted_count')--><img src="./images/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
<!--@if($module_info->display_regdate != 'N')--><th scope="col"><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<!--@if($sort_index=='regdate')--><img src="./images/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><th scope="col"><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_update}<!--@if($sort_index=='last_update')--><img src="./images/common/{$order_icon}" alt="sort" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyAndTrackback" title="Replies"><img src="./images/{$module_info->colorset}/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/{$module_info->colorset}/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$document->getTrackbackCount()}</strong></span>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}
</td>
<!--@if($module_info->display_author!='N')--><td class="author"><div class="member_{$document->get('member_srl')}">{$document->getNickName()}</div></td><!--@end-->
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
</tr>
</thead>
</tbody>
</table>
<!--@end-->
<!--@else-->
<!--@end-->
{@ $height = $module_info->thumbnail_height + 50; }
<!--@if($module_info->use_category=='Y')-->{@ $height += 0 }<!--@end-->
@ -106,7 +93,6 @@
<!--@else-->
<a href="{getUrl('document_srl',$document->document_srl,'listStyle',$listStyle, 'cpage','')}">
<img src="./images/common/blank.gif" alt="" width="{$module_info->thumbnail_width}" height="{$module_info->thumbnail_height}" />
<span class="text">TEXT</span>
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
<!--@end-->

View file

@ -67,7 +67,7 @@
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong></span>
<a href="{getUrl('document_srl', $document->document_srl)}#comment"><span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong></span></a>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
@ -96,7 +96,7 @@
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong></span>
<a href="{getUrl('document_srl', $document->document_srl)}#comment"><span class="replyNum" title="Replies"><strong>[{$document->getCommentCount()}]</strong></span></a>
<!--@end-->
<!--@if($document->getTrackbackCount())-->

View file

@ -66,7 +66,7 @@
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong></span>
<a href="{getUrl('document_srl', $document->document_srl)}#comment"><span class="replyNum" title="Replies"><strong>[{$document->getCommentCount()}]</strong></span></a>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
@ -99,7 +99,7 @@
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong></span>
<a href="{getUrl('document_srl', $document->document_srl)}#comment"><span class="replyNum" title="Replies"><strong>[{$document->getCommentCount()}]</strong></span></a>
<!--@end-->
<!--@if($document->getTrackbackCount())-->

View file

@ -40,6 +40,7 @@
<!--@end-->
</dl>
<a name="comment_{$comment->get('comment_srl')}"></a>
<div class="itemContent">
<!--@if(!$comment->isAccessible())-->
<!--%import("filter/input_password.xml")-->

View file

@ -70,6 +70,7 @@
.boardList td.title img{ vertical-align:middle; margin:0 1px;}
.boardList td.title .replyNum{ font:11px Tahoma;}
.boardList td.title .replyNum sup{ font:10px Tahoma;}
.boardList td.title .replyNum strong { font-weight:normal; }
.boardList td.author{ text-align:left; }
.boardList td.replies{ font:11px Tahoma;}
.boardList td.reading{ font:11px Tahoma;}
@ -109,7 +110,7 @@
.thumbList li .thumb a .category{ position:absolute; left:0; bottom:0; width:100%; padding:2px 0; white-space:nowrap; text-indent:4px;}
.thumbList li .title{ clear:both; white-space:nowrap; margin-bottom:3px;}
.thumbList li .title input{ width:13px; height:13px; vertical-align:middle; white-space:nowrap;}
.thumbList li .author{}
.thumbList li .author{ white-space:nowrap;}
.thumbList li .reading{ font:11px Tahoma;}
.thumbList li .recommend{ font:11px Tahoma;}
.thumbList li .date{ font:11px Tahoma;}

View file

@ -148,7 +148,7 @@
<!--@if($oDocument->allowTrackback())-->
<!--#include("./trackback.html")-->
<!--@end-->
<a name="comment"></a>
<!--#include("./comment.html")-->
<!--@if($grant->write_comment && $oDocument->isEnableComment() )-->