mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-15 17:29:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8002 201d5d3c-b55e-5fd7-737f-ddc643e51545
51 lines
3.2 KiB
HTML
51 lines
3.2 KiB
HTML
<ul class="widgetGalleryA" style="width:{$widget_info->cols_list_count*($widget_info->thumbnail_width+28)}px;">
|
|
{@$_idx=0}
|
|
<!--@foreach($widget_info->content_items as $key => $item)-->
|
|
<li<!--@if($_idx>0 && $_idx % $widget_info->cols_list_count==0)--> class="clearLeft"<!--@end--> style="<!--@if($_idx >= $widget_info->list_count)-->display:none;<!--@end-->width:{$widget_info->thumbnail_width}px;">
|
|
<!--@foreach($widget_info->option_view_arr as $k => $v)-->
|
|
<!--@if($v=='thumbnail')-->
|
|
<a href="{$item->getLink()}" class="thumb" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px">
|
|
<!--@if($item->getThumbnail())-->
|
|
<img src="{$item->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px"/>
|
|
<!--@else-->
|
|
<span class="imgNone">{$lang->none_image}</span>
|
|
<!--@end-->
|
|
<!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
|
|
<strong class="board">{$item->getBrowserTitle()}</strong>
|
|
<!--@end-->
|
|
<!--@if($widget_info->show_category=='Y' && $item->getCategory())-->
|
|
<strong class="category">{$item->getCategory()}</strong>
|
|
<!--@end-->
|
|
</a>
|
|
|
|
<!--@else if($v=='title')-->
|
|
<a href="{$item->getLink()}" class="title">{$item->getTitle($widget_info->subject_cut_size)}</a>
|
|
<!--@if($widget_info->show_comment_count=='Y' && $item->getCommentCount())-->
|
|
<em class="replyNum" title="Replies"><a href="{$item->getLink()}#comment">{$item->getCommentCount()}</a></em>
|
|
<!--@end-->
|
|
|
|
<!--@if($widget_info->show_trackback_count=='Y' && $item->getTrackbackCount())-->
|
|
<em class="trackbackNum" title="Trackbacks"><a href="{$item->getLink()}#trackback">{$item->getTrackbackCount()}</a></em>
|
|
<!--@end-->
|
|
|
|
<!--@if($widget_info->show_icon=='Y')-->
|
|
<span class="icon">{$item->printExtraImages()}</span>
|
|
<!--@end-->
|
|
|
|
<!--@else if($v=='nickname')-->
|
|
<a href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}">{$item->getNickName()}</a>
|
|
<!--@else if($v=='regdate')-->
|
|
<span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour">{$item->getRegdate("H:i")}</span>
|
|
<!--@end-->
|
|
<!--@end-->
|
|
</li>
|
|
{@$_idx++}
|
|
<!--@end-->
|
|
</ul>
|
|
|
|
<!--@if($widget_info->page_count > 1 && $widget_info->list_count<$_idx)-->
|
|
<ul class="widgetNavigator">
|
|
<li><button type="button" class="prev" title="{$lang->cmd_prev}" onclick="content_widget_prev(jQuery(this).parents('ul.widgetNavigator').prev('ul.widgetGalleryA'),{$widget_info->list_count})"><span>{$lang->cmd_prev}</span></button></li>
|
|
<li><button type="button" class="next" title="{$lang->cmd_next}" onclick="content_widget_next(jQuery(this).parents('ul.widgetNavigator').prev('ul.widgetGalleryA'),{$widget_info->list_count})"><span>{$lang->cmd_next}</span></button></li>
|
|
</ul>
|
|
<!--@end-->
|