mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 14:49:56 +09:00
모바일 전용 콘텐트 위젯인 mcontent 위젯 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7613 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
54e75da57f
commit
9fca3e4929
8 changed files with 1431 additions and 0 deletions
46
widgets/mcontent/skins/default/normal.html
Normal file
46
widgets/mcontent/skins/default/normal.html
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
<div class="mcw">
|
||||
<!--@if($widget_info->modules_info && count($widget_info->modules_info)==1)-->
|
||||
{@$__module_info=$widget_info->modules_info;}
|
||||
{@$__module_info=array_pop($__module_info);}
|
||||
<h2>{$__module_info->browser_title}</h2>
|
||||
<!--@end-->
|
||||
|
||||
<ul>
|
||||
<!--@foreach($widget_info->content_items as $key => $item)-->
|
||||
<li>
|
||||
<a href="{$item->getLink()}">
|
||||
<!--@for($j=0,$c=count($widget_info->option_view_arr);$j<$c;$j++)-->
|
||||
<!--@if($widget_info->option_view_arr[$j]=='title')-->
|
||||
<span class="title">
|
||||
<!--@if(!$__module_info && $widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
|
||||
{$item->getBrowserTitle()} ›
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_category=='Y' && $item->getCategory())-->
|
||||
{$item->getCategory()} ›
|
||||
<!--@end-->
|
||||
|
||||
<strong>{$item->getTitle($widget_info->subject_cut_size)}</strong>
|
||||
|
||||
<!--@if($widget_info->show_comment_count=='Y' && $item->getCommentCount())-->
|
||||
<em title="Replies">[{$item->getCommentCount()}]</em>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->show_trackback_count=='Y' && $item->getTrackbackCount())-->
|
||||
<em title="Trackbacks">[{$item->getTrackbackCount()}]</em>
|
||||
<!--@end-->
|
||||
</span>
|
||||
|
||||
<!--@else if($widget_info->option_view_arr[$j]=='nickname')-->
|
||||
<span class="auth">
|
||||
<strong>{$item->getNickName()}</strong>
|
||||
{$item->getRegdate("Y-m-d")}
|
||||
{$item->getRegdate("H:i")}
|
||||
</span>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</a>
|
||||
</li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue