Minahito
minah****@users*****
2005年 12月 21日 (水) 13:10:09 JST
Index: xoops2jp/html/modules/base/admin/templates/module_information.html diff -u xoops2jp/html/modules/base/admin/templates/module_information.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/module_information.html:1.1.2.2 --- xoops2jp/html/modules/base/admin/templates/module_information.html:1.1.2.1 Wed Dec 21 12:52:19 2005 +++ xoops2jp/html/modules/base/admin/templates/module_information.html Wed Dec 21 13:10:09 2005 @@ -1,11 +1,17 @@ -<h3>» <{$smarty.const._MI_BASE_MENU_MODULELIST}> » <{$smarty.const._MD_A_BASE_LANG_INFORMATION}></h3> +<h3> + <{if $installed }> + » <{$smarty.const._MI_BASE_MENU_MODULELIST}> + <{else}> + » <{$smarty.const._MI_BASE_MENU_MODULEINSTALL}> + <{/if}> +» <{$smarty.const._MD_A_BASE_LANG_INFORMATION}></h3> <h4><{$smarty.const._MD_A_BASE_LANG_MOD_BASIC_INFO}></h4> <table class="outer" cellspacing="1"> <tr> - <th rowspan="5" style="width:25%;"><img src="<{$xoops_url}>/modules/<{$module->getVar('dirname')}>/<{$module->modinfo.image}>" /> + <th rowspan="6" style="width:25%;"><img src="<{$xoops_url}>/modules/<{$module->getVar('dirname')}>/<{$module->modinfo.image}>" /> <div><{$module->modinfo.name|escape}></div></th> - <td class="head" style="width:25%;"><{$smarty.const._MD_A_BASE_LANG_NAME}></td> + <td class="head"><{$smarty.const._MD_A_BASE_LANG_NAME}></td> <td class="odd"><{$module->getVar('name',e)}></td> </tr> <tr> @@ -14,11 +20,31 @@ </tr> <tr> <td class="head"><{$smarty.const._MD_A_BASE_LANG_VERSION}></td> - <td class="odd"><{math equation="v/100" v=$module->getVar('version') format="%.2f"}></td> + <td class="odd"><{math equation="v/100" v=$module->getVar('version') format="%.2f"}> + <{if $module->getVar('version') != $module->modinfo.version * 100 }> + » <b style="color:red;"><{math equation=$module->modinfo.version format="%.2f"}></b> + <{/if}> + </td> </tr> <tr> <td class="head"><{$smarty.const._MD_A_BASE_LANG_MID}></td> - <td class="odd"><{$module->getVar('mid')}></td> + <td class="even"> + <{if $module->getVar('mid')}> + <{$module->getVar('mid')}> + <{else}> + -- + <{/if}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._MD_A_BASE_LANG_LASTUPDATE}></td> + <td class="odd"> + <{if $module->getVar('last_update')}> + <{$module->getVar('last_update')|xoops_formattimestamp:l}> + <{else}> + -- + <{/if}> + </td> </tr> <tr> <td class="head"><{$smarty.const._MD_A_BASE_LANG_MOD_DESC}></td>