묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
이거 좀 수정해주세요
2011.01.05 17:57
최근 게시물 위젯입니다
이미지는 나올 필요가 없고 제목과 내용이 필요한데
이미지만 삭제하니까
좌측이 그냥 비어 있는 채로 있더군요
제목 ㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁ
ㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁ
ㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁㅁ
이것좀 고쳐주세요
<ul class="ncwWebzine">
{@$_idx=0}
<!--@foreach($widget_info->content_items as $key => $item)-->
<li<!--@if($_idx >= $widget_info->list_count)--> style="display:none"<!--@end-->>
<p class="ncwThumbArea" style="margin-right:-{$widget_info->thumbnail_width+20}px;">
<a href="{$item->getLink()}" class="thumb">
<!--@if($item->getThumbnail())-->
<img src="{$item->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px" alt="" />
<!--@else-->
<span class="imgNone" style="width:{$widget_info->thumbnail_width}px; height:{$widget_info->thumbnail_height}px; line-height:{$widget_info->thumbnail_height}px">{$lang->none_image}</span>
<!--@end-->
<!--@if($widget_info->show_category=='Y' && $item->getCategory())-->
<strong class="categoryTitle" style="width:{$widget_info->thumbnail_width}px;">{$item->getCategory()}</strong>
<!--@end-->
</a>
</p>
<!--@for($j=0,$c=count($widget_info->option_view_arr);$j<$c;$j++)-->
<!--@if($widget_info->option_view_arr[$j]=='title')-->
<p class="titleArea" style="margin-left:{$widget_info->thumbnail_width+35}px;">
<!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
<a href="{getSiteUrl($item->domain, ', 'mid', $item->get('mid'))}" class="moduleTitle">{$item->getBrowserTitle()}</a>
<!--@end-->
<a href="{$item->getLink()}" class="documentTitle">{$item->getTitle($widget_info->subject_cut_size)}</a>
<!--@if($widget_info->show_comment_count=='Y' && $item->getCommentCount())-->
<sup class="replyNum" title="Replies"><a href="{$item->getLink()}#comment">{$item->getCommentCount()}</a></sup>
<!--@end-->
<!--@if($widget_info->show_trackback_count=='Y' && $item->getTrackbackCount())-->
<sup class="trackbackNum" title="Trackbacks"><a href="{$item->getLink()}#trackback">{$item->getTrackbackCount()}</a></sup>
<!--@end-->
<!--@if($widget_info->show_icon=='Y')-->
<span class="icon">{$item->printExtraImages()}</span>
<!--@end-->
<!--@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-->
</p>
<!--@else if($widget_info->option_view_arr[$j]=='content')-->
<p class="textArea" style="margin-left:{$widget_info->thumbnail_width+35}px;">
{$item->getContent()}
<!--@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-->
</p>
<!--@else if($widget_info->option_view_arr[$j]=='nickname')-->
<p class="authorArea" style="margin-left:{$widget_info->thumbnail_width+35}px;">
<span class="author">{$item->getNickName()}</span>
<!--@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-->
</p>
<!--@end-->
<!--@end-->
</li>
{@$_idx++}
<!--@end-->
</ul>
<!--@if($widget_info->page_count > 1 && $widget_info->list_count<$_idx)-->
<ul class="ncwListPagination">
<li><button type="button" class="prev" title="{$lang->cmd_prev}" onclick="content_widget_prev(jQuery(this).parents('ul.ncwListPagination').prev('ul.ncwWebzine'),{$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.ncwListPagination').prev('ul.ncwWebzine'),{$widget_info->list_count})"><span>{$lang->cmd_next}</span></button></li>
</ul>
<!--@end-->