Minahito
minah****@users*****
2005年 12月 28日 (水) 22:47:42 JST
Index: xoops2jp/html/modules/base/admin/templates/module_list.html diff -u /dev/null xoops2jp/html/modules/base/admin/templates/module_list.html:1.1.2.1 --- /dev/null Wed Dec 28 22:47:42 2005 +++ xoops2jp/html/modules/base/admin/templates/module_list.html Wed Dec 28 22:47:42 2005 @@ -0,0 +1,56 @@ +<h3>» <{$smarty.const._MD_A_BASE_LANG_MODLIST}></h3> + +<div style="text-align:right;">[ <a href="index.php?action=ModuleDeactiveList"><b><{$smarty.const._MD_A_BASE_LANG_MODINSTALL}></b></a>]</div> + +<br /> +<form method="post"> +<table classs="outer" cellspacing="1"> + <tr> + <th><{$smarty.const._MD_A_BASE_LANG_MID}><br /> + <a href="index.php?action=ModuleList&sort=<{$smarty.const.MODULE_SORT_KEY_MID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>"></a> + <a href="index.php?action=ModuleList&sort=-<{$smarty.const.MODULE_SORT_KEY_MID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>"></a></th> + <th><{$smarty.const._MD_A_BASE_LANG_NAME}><br /> + <a href="index.php?action=ModuleList&sort=<{$smarty.const.MODULE_SORT_KEY_NAME}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>"></a> + <a href="index.php?action=ModuleList&sort=-<{$smarty.const.MODULE_SORT_KEY_NAME}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>"></a></th> + <th><{$smarty.const._MD_A_BASE_LANG_VERSION}><br /> + <a href="index.php?action=ModuleList&sort=<{$smarty.const.MODULE_SORT_KEY_VERSION}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>"></a> + <a href="index.php?action=ModuleList&sort=-<{$smarty.const.MODULE_SORT_KEY_VERSION}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>"></a></th> + <th><{$smarty.const._MD_A_BASE_LANG_LASTUPDATE}><br /> + <a href="index.php?action=ModuleList&sort=<{$smarty.const.MODULE_SORT_KEY_LASTUPDATE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>"></a> + <a href="index.php?action=ModuleList&sort=-<{$smarty.const.MODULE_SORT_KEY_LASTUPDATE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>"></a></th> + <th><{$smarty.const._MD_A_BASE_LANG_WEIGHT}><br /> + <a href="index.php?action=ModuleList&sort=<{$smarty.const.MODULE_SORT_KEY_WEIGHT}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>"></a> + <a href="index.php?action=ModuleList&sort=-<{$smarty.const.MODULE_SORT_KEY_WEIGHT}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>"></a></th> + <th><{$smarty.const._MD_A_BASE_LANG_ISACTIVE}><br /> + <a href="index.php?action=ModuleList&sort=<{$smarty.const.MODULE_SORT_KEY_ISACTIVE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>"></a> + <a href="index.php?action=ModuleList&sort=-<{$smarty.const.MODULE_SORT_KEY_ISACTIVE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>"></a></th> + <th><{$smarty.const._MD_A_BASE_LANG_CONTROL}></th> + </tr> + <{foreach item=module from=$moduleObjects}> + <tr class="<{cycle values='odd,even'}>" style="text-align:center;"> + <td><{$module->getVar('mid')}></td> + <td><img src="<{$xoops_url}>/modules/<{$module->getVar('dirname')}>/<{$module->modinfo.image}>" alt="<{$module->getVar('name','e')}>" /><br /> + <input type="text" size="22" name="name[<{$module->getVar('mid')}>]" value="<{$module->getVar('name','e')}>"></td> + <td><{$module->getRenderedVersion()}></td> + <td><{$module->getVar('last_update')|xoops_formattimestamp:l}></td> + <td> + <{if $module->getVar('hasmain')}> + <input type="text" size="4" maxlength="4" name="weight[<{$module->getVar('mid')}>]" value="<{$module->getVar('weight','e')}>" /> + <{else}> + <input type="hidden" name="weight[<{$module->getVar('mid')}>]" value="<{$module->getVar('weight','e')}>" /> + <{/if}> + </td> + <td><input type="checkbox" name="isactive[<{$module->getVar('mid')}>]" value="1" <{if $module->getVar('isactive')}>checked<{/if}> /></td> + <td><a href="index.php?action=ModuleUpdate&dirname=<{$module->getVar('dirname')}>"><img src="<{"icons/update.gif"|theme}>" alt="<{$smarty.const._MD_A_BASE_LANG_UPDATE}>" /></a> + <{if $module->getVar('isactive') == 0 }> + <a href="index.php?action=ModuleUninstall&dirname=<{$module->getVar('dirname')}>"><img src="<{"icons/uninstall.gif"|theme}>" alt="<{$smarty.const._MD_A_BASE_LANG_UNINSTALL}>" /></a> + <{/if}> + <a href="index.php?action=ModuleInfo&dirname=<{$module->getVar('dirname')}>"><img src="<{"icons/info.gif"|theme}>" alt="<{$smarty.const._MD_A_BASE_LANG_INFORMATION}>" /></a></td> + </tr> + <{/foreach}> + <tr> + <td class="foot" colspan="7" align="center"><br /> + <input type="submit" value="<{$smarty.const._MD_A_BASE_LANG_UPDATE}>" class="formButton" /> + </td> +</table> +</form>