Minahito
minah****@users*****
2006年 5月 15日 (月) 17:46:46 JST
Index: xoops2jp/html/modules/base/admin/templates/image_list.html diff -u xoops2jp/html/modules/base/admin/templates/image_list.html:1.1.2.2 xoops2jp/html/modules/base/admin/templates/image_list.html:1.1.2.3 --- xoops2jp/html/modules/base/admin/templates/image_list.html:1.1.2.2 Fri May 12 00:46:05 2006 +++ xoops2jp/html/modules/base/admin/templates/image_list.html Mon May 15 17:46:46 2006 @@ -38,7 +38,15 @@ <{foreach item=obj from=$objects}> <tr class="<{cycle values='odd,even'}>"> <td><{$obj->getVar('image_id')}></td> - <td><{$obj->getVar('image_name')}></td> + <td> + <{if $obj->mImageCategory != null}> + <{if $obj->mImageCategory->get('imgcat_storetype') == 'file'}> + <img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$obj->getVar('image_name')}>" /> + <{else}> + <img src="<{$smarty.const.XOOPS_URL}>/image.php?id=<{$obj->getVar('image_id')}>" /> + <{/if}> + <{/if}> + </td> <td><{$obj->getVar('image_nicename')}></td> <td><{$obj->getVar('image_mimetype')}></td> <td><{$obj->getVar('image_created')}></td>