Minahito
minah****@users*****
2006年 4月 24日 (月) 19:40:39 JST
Index: xoops2jp/html/modules/legacyRender/admin/templates/banner_list.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/banner_list.html:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/templates/banner_list.html:1.1.2.2 --- xoops2jp/html/modules/legacyRender/admin/templates/banner_list.html:1.1.2.1 Mon Apr 24 16:30:35 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/banner_list.html Mon Apr 24 19:40:39 2006 @@ -31,18 +31,12 @@ <th><{$smarty.const._AD_LEGACYRENDER_LANG_IMAGEURL}><br /> <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_IMAGEURL}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNER_SORT_KEY_IMAGEURL}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_CLICKURL}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_CLICKURL}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNER_SORT_KEY_CLICKURL}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_DATE}><br /> <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_DATE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNER_SORT_KEY_DATE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_HTMLBANNER}><br /> <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_HTMLBANNER}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNER_SORT_KEY_HTMLBANNER}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_HTMLCODE}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_HTMLCODE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNER_SORT_KEY_HTMLCODE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_CONTROL}></th> </tr> <{foreach item=obj from=$objects}> @@ -52,11 +46,15 @@ <td><{$obj->getVar('imptotal')}></td> <td><{$obj->getVar('impmade')}></td> <td><{$obj->getVar('clicks')}></td> - <td><{$obj->getVar('imageurl')}></td> - <td><{$obj->getVar('clickurl')}></td> + <td> + <{if $obj->get('htmlbanner')}> + <{$obj->get('htmlcode')}> + <{else}> + <a href="<{$obj->getVar('clickurl')}>" target="_blank"><img src="<{$obj->getVar('imageurl')}>" alt="Banner" /></a> + <{/if}> + </td> <td><{$obj->get('date')|xoops_formattimestamp}></td> <td><{$obj->getVar('htmlbanner')}></td> - <td><{$obj->getVar('htmlcode')}></td> <td> <a href="./index.php?action=BannerEdit&bid=<{$obj->get('bid')|escape}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" /></a> <a href="./index.php?action=BannerDelete&bid=<{$obj->get('bid')|escape}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" /></a>