mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-19 19:29:56 +09:00
merge from 1.5.3.2 (~r11225)
git-svn-id: http://xe-core.googlecode.com/svn/trunk@11226 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
54e3a72065
commit
77f5aa2671
313 changed files with 8058 additions and 14251 deletions
|
|
@ -379,6 +379,20 @@
|
|||
<name xml:lang="zh-TW">內容字數</name>
|
||||
<name xml:lang="tr">İçerik Uzunluğu</name>
|
||||
</var>
|
||||
<var id="new_window" type="select">
|
||||
<name xml:lang="ko">링크</name>
|
||||
<name xml:lang="en">Like</name>
|
||||
<options>
|
||||
<value></value>
|
||||
<name xml:lang="ko">현재창에서 열기</name>
|
||||
<name xml:lang="en">Open in current window</name>
|
||||
</options>
|
||||
<options>
|
||||
<value>Y</value>
|
||||
<name xml:lang="ko">새창에서 열기</name>
|
||||
<name xml:lang="en">Open in new window</name>
|
||||
</options>
|
||||
</var>
|
||||
</group>
|
||||
|
||||
<group>
|
||||
|
|
|
|||
|
|
@ -237,7 +237,7 @@
|
|||
$content_item = new contentItem( $args->module_srls_info[$module_srl]->browser_title );
|
||||
$content_item->adds($oDocument->getObjectVars());
|
||||
$content_item->add('original_content', $oDocument->get('content'));
|
||||
$content_item->setTitle($oDocument->getTitle());
|
||||
$content_item->setTitle($oDocument->getTitleText());
|
||||
$content_item->setCategory( $category_lists[$module_srl][$category_srl]->title );
|
||||
$content_item->setDomain( $args->module_srls_info[$module_srl]->domain );
|
||||
$content_item->setContent($oDocument->getSummary($args->content_cut_size));
|
||||
|
|
@ -443,6 +443,7 @@
|
|||
//$content_item->setCategory($item->category);
|
||||
$item->description = preg_replace('!<a href=!is','<a onclick="window.open(this.href);return false" href=', $item->description);
|
||||
$content_item->setContent($this->_getSummary($item->description, $args->content_cut_size));
|
||||
$content_item->setThumbnail($this->_getRssThumbnail($item->description));
|
||||
$content_item->setLink($item->link);
|
||||
$date = date('YmdHis', strtotime(max($item->pubdate,$item->pubDate,$item->{'dc:date'})));
|
||||
$content_item->setRegdate($date);
|
||||
|
|
@ -477,6 +478,7 @@
|
|||
//$content_item->setCategory($item->category);
|
||||
$item->description = preg_replace('!<a href=!is','<a onclick="window.open(this.href);return false" href=', $item->description);
|
||||
$content_item->setContent($this->_getSummary($item->description, $args->content_cut_size));
|
||||
$content_item->setThumbnail($this->_getRssThumbnail($item->description));
|
||||
$content_item->setLink($item->link);
|
||||
$date = date('YmdHis', strtotime(max($item->pubdate,$item->pubDate,$item->{'dc:date'})));
|
||||
$content_item->setRegdate($date);
|
||||
|
|
@ -544,6 +546,7 @@
|
|||
}
|
||||
}
|
||||
$content_item->setContent($this->_getSummary($item->description, $args->content_cut_size));
|
||||
$content_item->setThumbnail($this->_getRssThumbnail($item->description));
|
||||
$content_item->setLink($item->link);
|
||||
$date = date('YmdHis', strtotime(max($item->published,$item->updated,$item->{'dc:date'})));
|
||||
$content_item->setRegdate($date);
|
||||
|
|
@ -554,6 +557,28 @@
|
|||
return $content_items;
|
||||
}
|
||||
|
||||
function _getRssThumbnail($content)
|
||||
{
|
||||
@preg_match('@<img[^>]+src\s*=\s*(?:"(.+)"|\'(.+)\'|([^\s>(?:/>)]+))@', $content, $matches);
|
||||
|
||||
if($matches[1])
|
||||
{
|
||||
return $matches[1];
|
||||
}
|
||||
elseif($matches[2])
|
||||
{
|
||||
return $matches[2];
|
||||
}
|
||||
elseif($matches[3])
|
||||
{
|
||||
return $matches[3];
|
||||
}
|
||||
else
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
function _getTrackbackItems($args){
|
||||
// Get categories
|
||||
$output = executeQueryArray('widgets.content.getCategories',$obj);
|
||||
|
|
@ -603,6 +628,7 @@
|
|||
$widget_info->page_count = $args->page_count;
|
||||
$widget_info->subject_cut_size = $args->subject_cut_size;
|
||||
$widget_info->content_cut_size = $args->content_cut_size;
|
||||
$widget_info->new_window = $args->new_window;
|
||||
|
||||
$widget_info->duration_new = $args->duration_new * 60*60;
|
||||
$widget_info->thumbnail_type = $args->thumbnail_type;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<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">
|
||||
<a href="{$item->getLink()}" class="thumb" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px" target="_blank"|cond="$widget_info->new_window">
|
||||
<!--@if($item->getThumbnail())-->
|
||||
<img src="{$item->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px"/>
|
||||
<!--@else-->
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
</a>
|
||||
|
||||
<!--@else if($v=='title')-->
|
||||
<a href="{$item->getLink()}" class="title">{$item->getTitle($widget_info->subject_cut_size)}</a>
|
||||
<a href="{$item->getLink()}" class="title" target="_blank"|cond="$widget_info->new_window">{$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-->
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
{@$thumbnail_idx = $widget_info->content_items[0]->getFirstThumbnailIdx() }
|
||||
{@$have_first_thumbnail=true}
|
||||
<p class="widgetThumb floatLeft" style="margin-right:-{$widget_info->thumbnail_width}px">
|
||||
<a href="{$widget_info->content_items[$thumbnail_idx]->getLink()}" class="thumb"><img src="{$widget_info->content_items[$thumbnail_idx]->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px"></a>
|
||||
<a href="{$widget_info->content_items[$thumbnail_idx]->getLink()}" class="thumb" target="_blank"|cond="$widget_info->new_window"><img src="{$widget_info->content_items[$thumbnail_idx]->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px"></a>
|
||||
</p>
|
||||
<!--@end-->
|
||||
|
||||
|
|
@ -17,14 +17,14 @@
|
|||
<!--@foreach($widget_info->option_view_arr as $k => $v)-->
|
||||
<!--@if($v=='title')-->
|
||||
<!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
|
||||
<a href="{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}" class="board"><strong>{$item->getBrowserTitle()}</strong></a>
|
||||
<a href="{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}" class="board" target="_blank"|cond="$widget_info->new_window"><strong>{$item->getBrowserTitle()}</strong></a>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_category=='Y' && $item->getCategory())-->
|
||||
<a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}"><strong class="category">{$item->getCategory()}</strong></a>
|
||||
<a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}" target="_blank"|cond="$widget_info->new_window"><strong class="category">{$item->getCategory()}</strong></a>
|
||||
<!--@end-->
|
||||
|
||||
<a href="{$item->getLink()}">{$item->getTitle($widget_info->subject_cut_size)}</a>
|
||||
<a href="{$item->getLink()}" target="_blank"|cond="$widget_info->new_window">{$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>
|
||||
|
|
@ -63,7 +63,7 @@
|
|||
{@$thumbnail_idx = $widget_info->content_items[0]->getFirstThumbnailIdx() }
|
||||
{@$have_first_thumbnail=true}
|
||||
<p class="widgetThumb floatLeft" style="margin-right:-{$widget_info->thumbnail_width}px">
|
||||
<a href="{$widget_info->content_items[$thumbnail_idx]->getLink()}" class="thumb"><img src="{$widget_info->content_items[$thumbnail_idx]->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px"></a>
|
||||
<a href="{$widget_info->content_items[$thumbnail_idx]->getLink()}" class="thumb" target="_blank"|cond="$widget_info->new_window"><img src="{$widget_info->content_items[$thumbnail_idx]->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px"></a>
|
||||
</p>
|
||||
<!--@end-->
|
||||
|
||||
|
|
@ -78,21 +78,21 @@
|
|||
<td class="title">
|
||||
|
||||
<!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
|
||||
<a href="{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}"><strong class="board">{$item->getBrowserTitle()}</strong></a>
|
||||
<a href="{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}" target="_blank"|cond="$widget_info->new_window"><strong class="board">{$item->getBrowserTitle()}</strong></a>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_category=='Y' && $item->getCategory())-->
|
||||
<a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}"><strong class="category">{$item->getCategory()}</strong></a>
|
||||
<a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}" target="_blank"|cond="$widget_info->new_window"><strong class="category">{$item->getCategory()}</strong></a>
|
||||
<!--@end-->
|
||||
|
||||
<a href="{$item->getLink()}">{$item->getTitle($widget_info->subject_cut_size)}</a>
|
||||
<a href="{$item->getLink()}" target="_blank"|cond="$widget_info->new_window">{$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>
|
||||
<em class="replyNum" title="Replies"><a href="{$item->getLink()}#comment" target="_blank"|cond="$widget_info->new_window">{$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>
|
||||
<em class="trackbackNum" title="Trackbacks"><a href="{$item->getLink()}#trackback" target="_blank"|cond="$widget_info->new_window">{$item->getTrackbackCount()}</a></em>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_icon=='Y')-->
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<li<!--@if($_idx >= $widget_info->list_count)--> style="display:none"<!--@end-->>
|
||||
|
||||
<p class="thumbArea" style="width:{$widget_info->thumbnail_width}px;margin-right:-{$widget_info->thumbnail_width}px;">
|
||||
<a href="{$item->getLink()}" class="thumb" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px">
|
||||
<a href="{$item->getLink()}" class="thumb" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px" target="_blank"|cond="$widget_info->new_window">
|
||||
<!--@if($item->getThumbnail())-->
|
||||
<img src="{$item->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px" />
|
||||
<!--@else-->
|
||||
|
|
@ -23,21 +23,21 @@
|
|||
<p class="titleArea" style="margin-left:{$widget_info->thumbnail_width+20}px;">
|
||||
|
||||
<!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
|
||||
<a href="{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}"><strong class="board">{$item->getBrowserTitle()}</strong></a>
|
||||
<a href="{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}" target="_blank"|cond="$widget_info->new_window"><strong class="board">{$item->getBrowserTitle()}</strong></a>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_category=='Y' && $item->get('category_srl') )-->
|
||||
<a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}"><strong class="category">{$item->getCategory()}</strong></a>
|
||||
<a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}" target="_blank"|cond="$widget_info->new_window"><strong class="category">{$item->getCategory()}</strong></a>
|
||||
<!--@end-->
|
||||
|
||||
<a href="{$item->getLink()}" class="title">{$item->getTitle($widget_info->subject_cut_size)}</a>
|
||||
<a href="{$item->getLink()}" class="title" target="_blank"|cond="$widget_info->new_window">{$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>
|
||||
<em class="replyNum" title="Replies"><a href="{$item->getLink()}#comment" target="_blank"|cond="$widget_info->new_window">{$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>
|
||||
<em class="trackbackNum" title="Trackbacks"><a href="{$item->getLink()}#trackback" target="_blank"|cond="$widget_info->new_window">{$item->getTrackbackCount()}</a></em>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_icon=='Y')-->
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
|
||||
<!--@else if($widget_info->option_view_arr[$j]=='nickname')-->
|
||||
<p class="authorArea" style="margin-left:{$widget_info->thumbnail_width+20}px;">
|
||||
<a href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}">{$item->getNickName()}</a>
|
||||
<a href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}" target="_blank"|cond="$widget_info->new_window">{$item->getNickName()}</a>
|
||||
<!--@if($widget_info->option_view_arr[$j+1]=='regdate')-->
|
||||
<span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour">{$item->getRegdate("H:i")}</span>
|
||||
<!--@end-->
|
||||
|
|
|
|||
|
|
@ -8,20 +8,20 @@
|
|||
<!--@foreach($widget_info->option_view_arr as $k => $v)-->
|
||||
<!--@if($v=='title')-->
|
||||
<!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
|
||||
<a href="<!--@if($item->contents_link)-->{$item->contents_link}<!--@else-->{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}<!--@end-->" class="board"><strong>{$item->getBrowserTitle()}</strong></a>
|
||||
<a href="<!--@if($item->contents_link)-->{$item->contents_link}<!--@else-->{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}<!--@end-->" class="board" target="_blank"|cond="$widget_info->new_window"><strong>{$item->getBrowserTitle()}</strong></a>
|
||||
<!--@end-->
|
||||
<!--@if($widget_info->show_category=='Y' && $item->get('category_srl') )-->
|
||||
<a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}"><strong class="category">{$item->getCategory()}</strong></a>
|
||||
<a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}" target="_blank"|cond="$widget_info->new_window"><strong class="category">{$item->getCategory()}</strong></a>
|
||||
<!--@end-->
|
||||
|
||||
<a href="{$item->getLink()}" class="title">{$item->getTitle($widget_info->subject_cut_size)}</a>
|
||||
<a href="{$item->getLink()}" class="title" target="_blank"|cond="$widget_info->new_window">{$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>
|
||||
<em class="replyNum" title="Replies"><a href="{$item->getLink()}#comment" target="_blank"|cond="$widget_info->new_window">{$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>
|
||||
<em class="trackbackNum" title="Trackbacks"><a href="{$item->getLink()}#trackback" target="_blank"|cond="$widget_info->new_window">{$item->getTrackbackCount()}</a></em>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_icon=='Y')-->
|
||||
|
|
@ -60,20 +60,20 @@
|
|||
|
||||
<!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
|
||||
|
||||
<a href="<!--@if($item->contents_link)-->{$item->contents_link}<!--@else-->{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}<!--@end-->"><strong class="board">{$item->getBrowserTitle()}</strong></a>
|
||||
<a href="<!--@if($item->contents_link)-->{$item->contents_link}<!--@else-->{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}<!--@end-->" target="_blank"|cond="$widget_info->new_window"><strong class="board">{$item->getBrowserTitle()}</strong></a>
|
||||
<!--@end-->
|
||||
<!--@if($widget_info->show_category=='Y' && $item->get('category_srl') )-->
|
||||
<a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}"><strong class="category">{$item->getCategory()}</strong></a>
|
||||
<a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}" target="_blank"|cond="$widget_info->new_window"><strong class="category">{$item->getCategory()}</strong></a>
|
||||
<!--@end-->
|
||||
|
||||
<a href="{$item->getLink()}">{$item->getTitle($widget_info->subject_cut_size)}</a>
|
||||
<a href="{$item->getLink()}" target="_blank"|cond="$widget_info->new_window">{$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>
|
||||
<em class="replyNum" title="Replies"><a href="{$item->getLink()}#comment" target="_blank"|cond="$widget_info->new_window">{$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>
|
||||
<em class="trackbackNum" title="Trackbacks"><a href="{$item->getLink()}#trackback" target="_blank"|cond="$widget_info->new_window">{$item->getTrackbackCount()}</a></em>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_icon=='Y')-->
|
||||
|
|
|
|||
|
|
@ -8,20 +8,20 @@
|
|||
<!--@foreach($widget_info->option_view_arr as $k => $v)-->
|
||||
<!--@if($v=='title')-->
|
||||
<!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
|
||||
<a href="<!--@if($item->contents_link)-->{$item->contents_link}<!--@else-->{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}<!--@end-->" class="board"><strong>{$item->getBrowserTitle()}</strong></a>
|
||||
<a href="<!--@if($item->contents_link)-->{$item->contents_link}<!--@else-->{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}<!--@end-->" class="board" target="_blank"|cond="$widget_info->new_window"><strong>{$item->getBrowserTitle()}</strong></a>
|
||||
<!--@end-->
|
||||
<!--@if($widget_info->show_category=='Y' && $item->get('category_srl') )-->
|
||||
<a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}"><strong class="category">{$item->getCategory()}</strong></a>
|
||||
<a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}" target="_blank"|cond="$widget_info->new_window"><strong class="category">{$item->getCategory()}</strong></a>
|
||||
<!--@end-->
|
||||
|
||||
<a href="{$item->getLink()}" class="title">{$item->getTitle($widget_info->subject_cut_size)}</a>
|
||||
<a href="{$item->getLink()}" class="title" target="_blank"|cond="$widget_info->new_window">{$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>
|
||||
<em class="replyNum" title="Replies"><a href="{$item->getLink()}#comment" target="_blank"|cond="$widget_info->new_window">{$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>
|
||||
<em class="trackbackNum" title="Trackbacks"><a href="{$item->getLink()}#trackback" target="_blank"|cond="$widget_info->new_window">{$item->getTrackbackCount()}</a></em>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_icon=='Y')-->
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
<span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour">{$item->getRegdate("H:i")}</span>
|
||||
|
||||
<!--@else if($v=='content')-->
|
||||
<p class="summary"><a href="{$item->getLink()}">{$item->getContent()}</a></p>
|
||||
<p class="summary"><a href="{$item->getLink()}" target="_blank"|cond="$widget_info->new_window">{$item->getContent()}</a></p>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</li>
|
||||
|
|
@ -63,20 +63,20 @@
|
|||
|
||||
<!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
|
||||
|
||||
<a href="<!--@if($item->contents_link)-->{$item->contents_link}<!--@else-->{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}<!--@end-->"><strong class="board">{$item->getBrowserTitle()}</strong></a>
|
||||
<a href="<!--@if($item->contents_link)-->{$item->contents_link}<!--@else-->{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}<!--@end-->" target="_blank"|cond="$widget_info->new_window"><strong class="board">{$item->getBrowserTitle()}</strong></a>
|
||||
<!--@end-->
|
||||
<!--@if($widget_info->show_category=='Y' && $item->get('category_srl') )-->
|
||||
<a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}"><strong class="category">{$item->getCategory()}</strong></a>
|
||||
<a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}" target="_blank"|cond="$widget_info->new_window"><strong class="category">{$item->getCategory()}</strong></a>
|
||||
<!--@end-->
|
||||
|
||||
<a href="{$item->getLink()}">{$item->getTitle($widget_info->subject_cut_size)}</a>
|
||||
<a href="{$item->getLink()}" target="_blank"|cond="$widget_info->new_window">{$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>
|
||||
<em class="replyNum" title="Replies"><a href="{$item->getLink()}#comment" target="_blank"|cond="$widget_info->new_window">{$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>
|
||||
<em class="trackbackNum" title="Trackbacks"><a href="{$item->getLink()}#trackback" target="_blank"|cond="$widget_info->new_window">{$item->getTrackbackCount()}</a></em>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_icon=='Y')-->
|
||||
|
|
@ -92,7 +92,7 @@
|
|||
</tr>
|
||||
<!--@if($v=='content')-->
|
||||
<tr>
|
||||
<td colspan="3" class="summary"><a href="{$item->getLink()}">{$item->getContent()}</a></td>
|
||||
<td colspan="3" class="summary"><a href="{$item->getLink()}" target="_blank"|cond="$widget_info->new_window">{$item->getContent()}</a></td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
{@$_idx++}
|
||||
|
|
|
|||
|
|
@ -220,7 +220,7 @@
|
|||
$thumbnail = $oDocument->getThumbnail();
|
||||
$content_item = new mcontentItem( $args->module_srls_info[$module_srl]->browser_title );
|
||||
$content_item->adds($oDocument->getObjectVars());
|
||||
$content_item->setTitle($oDocument->getTitle());
|
||||
$content_item->setTitle($oDocument->getTitleText());
|
||||
$content_item->setCategory( $category_lists[$module_srl][$category_srl]->title );
|
||||
$content_item->setDomain( $args->module_srls_info[$module_srl]->domain );
|
||||
$content_item->setContent($oDocument->getSummary($args->content_cut_size));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue