Minahito
minah****@users*****
2006年 4月 6日 (木) 15:01:02 JST
Index: xoops2jp/html/modules/base/admin/templates/block_list.html diff -u xoops2jp/html/modules/base/admin/templates/block_list.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/block_list.html:1.1.2.2 --- xoops2jp/html/modules/base/admin/templates/block_list.html:1.1.2.1 Wed Apr 5 19:58:23 2006 +++ xoops2jp/html/modules/base/admin/templates/block_list.html Thu Apr 6 15:01:02 2006 @@ -20,9 +20,6 @@ <th><{$smarty.const._AD_BASE_LANG_WEIGHT}><br /> <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.NEWBLOCKS_SORT_KEY_WEIGHT}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.NEWBLOCKS_SORT_KEY_WEIGHT}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> - <th><{$smarty.const._AD_BASE_LANG_VISIBLE}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.NEWBLOCKS_SORT_KEY_VISIBLE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.NEWBLOCKS_SORT_KEY_VISIBLE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_BLOCK_TYPE}><br /> <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.NEWBLOCKS_SORT_KEY_BLOCK_TYPE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.NEWBLOCKS_SORT_KEY_BLOCK_TYPE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> @@ -40,16 +37,15 @@ <{foreach item=obj from=$objects}> <tr class="<{cycle values='odd,even'}>"> <td><{$obj->getVar('bid')}></td> - <td><{$obj->getVar('mid')}></td> + <td><{$obj->mModule->getVar('name')}></td> <td><{$obj->getVar('name')}></td> <td><{$obj->getVar('title')}></td> - <td><{$obj->getVar('side')}></td> + <td><{if $obj->mColumn}><{$obj->mColumn->getVar('name')}><{/if}></td> <td><{$obj->getVar('weight')}></td> - <td><{$obj->getVar('visible')}></td> <td><{$obj->getVar('block_type')}></td> <td><{$obj->getVar('c_type')}></td> - <td><{$obj->getVar('bcachetime')}></td> - <td><{$obj->getVar('last_modified')}></td> + <td><{if $obj->mCachetime}><{$obj->mCachetime->getVar('label')}><{/if}></td> + <td><{$obj->getVar('last_modified')|xoops_formattimestamp:l}></td> <td> <a href="./index.php?action=BlockEdit&bid=<{$obj->getVar('bid')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" /></a> <a href="./index.php?action=BlockUninstall&bid=<{$obj->getVar('bid')}>"><img src="<{"icons/uninstall.gif"|theme}>" alt="<{$smarty.const._DELETE}>" /></a> Index: xoops2jp/html/modules/base/admin/templates/block_edit.html diff -u xoops2jp/html/modules/base/admin/templates/block_edit.html:1.1.2.2 xoops2jp/html/modules/base/admin/templates/block_edit.html:1.1.2.3 --- xoops2jp/html/modules/base/admin/templates/block_edit.html:1.1.2.2 Thu Apr 6 12:37:57 2006 +++ xoops2jp/html/modules/base/admin/templates/block_edit.html Thu Apr 6 15:01:02 2006 @@ -38,14 +38,16 @@ <tr> <th><{$smarty.const._AD_BASE_LANG_BCACHETIME}></th> <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=text name=bcachetime value=$actionForm->getVar('bcachetime')}> + <select name='bcachetime'> + <{xoops_optionsArray from=$cachetimeArr value=cachetime label=label default=$actionForm->get('bcachetime')}> + </select> </td> </tr> <tr> <th><{$smarty.const._AD_BASE_LANG_TARGET_MODULES}></th> <td class="<{cycle values="odd,even"}>"> <select size='5' name='bmodule[]' multiple='multiple'> - <{xoops_optionsArray from=$moduleArr label=name value=mid}> + <{xoops_optionsArray from=$moduleArr value=mid label=name default=$actionForm->get('bmodule')}> </select> </td> </tr> @@ -53,7 +55,7 @@ <th><{$smarty.const._AD_BASE_LANG_TARGET_GROUPS}></th> <td class="<{cycle values="odd,even"}>"> <select size='5' name='groupid[]' multiple='multiple'> - <{xoops_optionsArray from=$groupArr value=groupid label=name}> + <{xoops_optionsArray from=$groupArr value=groupid label=name default=$actionForm->get('groupid')}> </select> </td> </tr>