Tom Hayakawa
tom_g3x****@users*****
2006年 4月 15日 (土) 14:51:33 JST
Index: xoops2jp/html/modules/base/admin/templates/blockinstall_list.html diff -u xoops2jp/html/modules/base/admin/templates/blockinstall_list.html:1.1.2.7 xoops2jp/html/modules/base/admin/templates/blockinstall_list.html:1.1.2.8 --- xoops2jp/html/modules/base/admin/templates/blockinstall_list.html:1.1.2.7 Sat Apr 15 14:37:04 2006 +++ xoops2jp/html/modules/base/admin/templates/blockinstall_list.html Sat Apr 15 14:51:32 2006 @@ -16,22 +16,22 @@ <table class="outer"> <tr> <th><{$smarty.const._AD_BASE_LANG_BID}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.NEWBLOCKS_SORT_KEY_BID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.NEWBLOCKS_SORT_KEY_BID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.NEWBLOCKS_SORT_KEY_BID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.NEWBLOCKS_SORT_KEY_BID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_MID}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.NEWBLOCKS_SORT_KEY_MID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.NEWBLOCKS_SORT_KEY_MID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.NEWBLOCKS_SORT_KEY_MID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.NEWBLOCKS_SORT_KEY_MID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <{* <th><{$smarty.const._AD_BASE_LANG_NAME}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.NEWBLOCKS_SORT_KEY_NAME}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.NEWBLOCKS_SORT_KEY_NAME}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.NEWBLOCKS_SORT_KEY_NAME}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.NEWBLOCKS_SORT_KEY_NAME}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> *}> <th><{$smarty.const._AD_BASE_LANG_TITLE}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.NEWBLOCKS_SORT_KEY_TITLE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.NEWBLOCKS_SORT_KEY_TITLE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.NEWBLOCKS_SORT_KEY_TITLE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.NEWBLOCKS_SORT_KEY_TITLE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_TEMPLATE}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.NEWBLOCKS_SORT_KEY_TEMPLATE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.NEWBLOCKS_SORT_KEY_TEMPLATE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.NEWBLOCKS_SORT_KEY_TEMPLATE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.NEWBLOCKS_SORT_KEY_TEMPLATE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_CONTROL}></th> </tr> <{foreach item=obj from=$objects}> @@ -54,9 +54,11 @@ <td style="text-align:left;"><{$obj->getVar('title')}></td> <td style="text-align:left;"><{$obj->getVar('template')}></td> <td> - <a href="./index.php?action=BlockInstallEdit&bid=<{$obj->getVar('bid')}>"><img src="<{"icons/install.gif"|theme}>" alt="<{$smarty.const._MD_A_BASE_LANG_INSTALL}>" /></a> <{if $obj->get('block_type') == 'C'}> - <a href="./index.php?action=CustomBlockDelete&bid=<{$obj->getVar('bid')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" /></a> + <a href="./index.php?action=CustomBlockEdit&bid=<{$obj->getVar('bid')}>"><img src="<{"icons/install.gif"|theme}>" alt="<{$smarty.const._MD_A_BASE_LANG_INSTALL}>" title="<{$smarty.const._MD_A_BASE_LANG_INSTALL}>" /></a> + <a href="./index.php?action=CustomBlockDelete&bid=<{$obj->getVar('bid')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>" /></a> + <{else}> + <a href="./index.php?action=BlockInstallEdit&bid=<{$obj->getVar('bid')}>"><img src="<{"icons/install.gif"|theme}>" alt="<{$smarty.const._MD_A_BASE_LANG_INSTALL}>"title="<{$smarty.const._MD_A_BASE_LANG_INSTALL}>" /></a> <{/if}> </td> </tr>