#291 웹진형 위젯의 정렬 순서가 적용되도록 했고 이미지가 없더라도 노출이 되도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3163 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-12-06 07:06:08 +00:00
parent c870c7a194
commit f63c58674a
3 changed files with 40 additions and 17 deletions

View file

@ -15,7 +15,7 @@
.nw_box .thumbnailBox .thumbnail img { padding:4px; border:1px solid #DEDEDE; }
.nw_box .thumbnailBox .thumbnail img:hover { border:1px solid #54564b; }
.nw_box .thumbnailBox .desc { padding-left:5px; }
.nw_box .thumbnailBox .desc { padding-left:5px; padding-bottom:5px; }
.nw_box .thumbnailBox .titleBox { margin-top:8px; margin-bottom:5px;}

View file

@ -17,14 +17,17 @@
<tr valign="top">
<!--@for($j=0;$j<$widget_info->cols_list_count;$j++)-->
{@ $oDocument = $widget_info->document_list[$i*$widget_info->cols_list_count + $j]}
{@ $_existsThumbnail = $oDocument->thumbnailExists($widget_info->thumbnail_width,$widget_info->thumbnail_height,$widget_info->thumbnail_type) }
<td <!--@if($widget_info->rows_list_count>1)-->class="bottomBorder"<!--@end-->><!--@if($oDocument->document_srl)-->
<table cellspacing="0" class="thumbnailBox">
<!--@if($_existsThumbnail)-->
<col width="{$widget_info->thumbnail_width+20}" />
<col />
<!--@end-->
<tr>
<td class="thumbnail" height="{$widget_info->thumbnail_height}"><a href="{getUrl('','document_srl',$oDocument->document_srl)}"><img src="{$oDocument->getThumbnail($widget_info->thumbnail_width,$widget_info->thumbnail_height,$widget_info->thumbnail_type)}" border="0" alt="" /></a></td>
<td class="desc">
<!--@if($_existsThumbnail)--><td class="thumbnail" height="{$widget_info->thumbnail_height}"><a href="{getUrl('','document_srl',$oDocument->document_srl)}"><img src="{$oDocument->getThumbnail($widget_info->thumbnail_width,$widget_info->thumbnail_height,$widget_info->thumbnail_type)}" border="0" alt="" /></a></td><!--@end-->
<td class="desc" height="{$widget_info->thumbnail_height}">
<div class="titleBox">