Minahito
minah****@users*****
2005年 12月 14日 (水) 14:35:52 JST
Index: xoops2jp/html/modules/base/admin/templates/legacy_admin_inst_moduleinfo.html diff -u xoops2jp/html/modules/base/admin/templates/legacy_admin_inst_moduleinfo.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/legacy_admin_inst_moduleinfo.html:1.1.2.2 --- xoops2jp/html/modules/base/admin/templates/legacy_admin_inst_moduleinfo.html:1.1.2.1 Thu Dec 1 21:42:06 2005 +++ xoops2jp/html/modules/base/admin/templates/legacy_admin_inst_moduleinfo.html Wed Dec 14 14:35:51 2005 @@ -1,4 +1,178 @@ +<h4>» <{$smarty.const._MD_A_BASE_LANG_INFORMATION}> » <{$module->getVar('name')}></h4> -This template shows a module that is already installed. +<h5><{$smarty.const._MD_A_BASE_LANG_MOD_BASIC_INFO}></h5> +<table class="outer" cellspacing="1"> + <tr> + <th rowspan="4" style="width:25%;"><img src="<{$xoops_url}>/modules/<{$module->getVar('dirname')}>/<{$module->modinfo.image}>" /> + <div><{$module->modinfo.name}></div></th> + <td class="head" style="width:25%;"><{$smarty.const._MD_A_BASE_LANG_NAME}></td> + <td class="odd"><{$module->getVar('name')}></td> + </tr> + <tr> + <td class="head"><{$smarty.const._MD_A_BASE_LANG_MOD_DIR_NAME}></td> + <td class="even"><{$module->getVar('dirname')}></td> + </tr> + <tr> + <td class="head"><{$smarty.const._MD_A_BASE_LANG_VERSION}></td> + <td class="odd"><{$module->getVar('version')}></td> + </tr> + <tr> + <td class="head"><{$smarty.const._MD_A_BASE_LANG_MOD_DESC}></td> + <td class="even"><{$module->modinfo.description}></td> + </tr> +</table> -<h1><{$module->getVar('name')}></h1> +<br /> +<table class="outer" cellspacing="1"> + <tr> + <th colspan="2"><{$smarty.const._MD_A_BASE_LANG_MOD_LICENSE_INFO}></th> + </tr> + <tr> + <td class="head" style="width:30%;"><{$smarty.const._MD_A_BASE_LANG_MODULE_LICENSE}></td> + <td class="odd"><{$module->modinfo.license}></td> + </tr> + <tr> + <td class="head"><{$smarty.const._MD_A_BASE_LANG_MOD_AUTHOR}></td> + <td class="even"><{$module->modinfo.author}></td> + </tr> + <tr> + <td class="head"><{$smarty.const._MD_A_BASE_LANG_MOD_CREDITS}></td> + <td class="odd"><{$module->modinfo.credits}></td> + </tr> +</table> + + +<h5><{$smarty.const._MD_A_BASE_LANG_SQL_INFO}></h5> +<{if $module->modinfo.tables}> +<table class="outer" cellspacing="1"> + <tr> + <td class="head" style="width:30%;"><{$smarty.const._MD_A_BASE_LANG_SQL_HAS_MAIN}></td> + <td class="odd"><{$smarty.const._MD_A_BASE_LANG_ACTIVE}></td> + </tr> + <tr> + <td class="head"><{$smarty.const._MD_A_BASE_LANG_SQL_ENGINE}></td> + <td class="even"><{$smarty.const._MD_A_BASE_LANG_SQL_MYSQL}></td> + </tr> + <tr> + <td class="head"><{$smarty.const._MD_A_BASE_LANG_SQL_FILE_NAME}></td> + <td class="odd"><{$module->modinfo.sqlfile.mysql}></td> + </tr> +</table> +<br /> +<table class="outer" cellspacing="1"> + <tr> + <th><{$smarty.const._MD_A_BASE_LANG_TABLE_NUM}></th> + <th><{$smarty.const._MD_A_BASE_LANG_TABLE_NAME}></th> + <th><{$smarty.const._MD_A_BASE_LANG_TABLE_PROPERTIES}></th> + </tr> +<{foreach from=$module->modinfo.tables item=table key=table_key}> + <tr> + <td class="head"><{$table_key}></td> + <td class="<{cycle values='odd,odd,even,even'}>"><{$table}></td> + <td class="<{cycle values='odd,odd,even,even'}>">xxxxxxxxxxxxx</td> + </tr> +<{/foreach}> +</table> +<{else}> + <div><{$smarty.const._MD_A_BASE_LANG_NO_SQL}></div> +<{/if}> + + +<h5><{$smarty.const._MD_A_BASE_LANG_TEMPLATE_INFO}></h5> + +<{if $module->modinfo.templates }> +<table class="outer" cellspacing="1"> + <tr> + <td class="head" style="width:30%;"><{$smarty.const._MD_A_BASE_LANG_TEMPLATE_HAS_MAIN}></td> + <td class="odd">使用</td> + </tr> + <tr> + <td class="head"><{$smarty.const._MD_A_BASE_LANG_TEMPLATE_ENGINE}></td> + <td class="even">Smarty</td> + </tr> +</table> +<br /> +<table class="outer" cellspacing="1"> + <tr> + <th><{$smarty.const._MD_A_BASE_LANG_TEMPLATE_KEY}></th> + <th><{$smarty.const._MD_A_BASE_LANG_TEMPLATE_FILE}></th> + <th><{$smarty.const._MD_A_BASE_LANG_TEMPLATE_DESC}></th> + </tr> +<{foreach from=$module->modinfo.templates item=template key=template_key}> + <tr> + <td class="head"><{$template_key}></td> + <td class="<{cycle values='odd,odd,even,even'}>"><{$template.file}></td> + <td class="<{cycle values='odd,odd,even,even'}>"><{$template.description}></td> + </tr> +<{/foreach}> +</table> +<{else}> + <div><{$smarty.const._MD_A_BASE_LANG_NO_TEMPLATE}></div> +<{/if}> + + +<h5><{$smarty.const._MD_A_BASE_LANG_BLOCKS_INFO}></h5> + +<{foreach from=$module->modinfo.blocks item=block key=block_num }> +<table class="outer" cellspacing="1"> + <tr> + <th><{$smarty.const._MD_A_BASE_LANG_BLOCK_KEY}> (<{$block_num}>)</th> + <th><{$smarty.const._MD_A_BASE_LANG_BLOCK_VAL}></th> + </tr> + <{foreach from=$block key=block_key item=block_val name=block }> + <tr> + <td class="head" style="width:30%;"><{$block_key}></td> + <{if $block_key == "name" }> + <td class="<{cycle values='odd,even' name=block}>"><b><{$block_val}></b></td> + <{else}> + <td class="<{cycle values='odd,even' name=block}>"><{$block_val}></td> + <{/if}> + </tr> + <{/foreach}> +</table> +<br /> +<{foreachelse}> + <div><{$smarty.const._MD_A_BASE_LANG_NO_BLOCK}></div> +<{/foreach}> + + +<h5><{$smarty.const._MD_A_BASE_LANG_CONFIG_INFO}></h5> + +<{foreach from=$module->modinfo.config item=config }> +<table class="outer" cellspacing="1"> + <tr> + <th><{$smarty.const._MD_A_BASE_LANG_CONFIG_KEY}></th> + <th><{$smarty.const._MD_A_BASE_LANG_CONFIG_VAL}></th> + </tr> + <{foreach from=$config key=config_key item=config_val name=config }> + <tr> + <td class="head" style="width:30%;"><{$config_key}></td> + <{if $config_key == "name" }> + <td class="<{cycle values="odd,even" name=config}>"><b><{$config_val}></b></td> + <{else}> + <td class="<{cycle values="odd,even" name=config}>"><{$config_val}></td> + <{/if}> + </tr> + <{/foreach}> +</table> +<br /> +<{foreachelse}> + <div><{$smarty.const._MD_A_BASE_LANG_NO_CONFIG}></div> +<{/foreach}> + +<h5><{$smarty.const._MD_A_BASE_LANG_MAINMENU_INFO}></h5> +<{if $module->getVar('hasmain')}> + +<{else}> +<div><{$smarty.const._MD_A_BASE_LANG_NO_MAINMENU}></div> +<{/if}> + +<h5><{$smarty.const._MD_A_BASE_LANG_FEATURE_SVC_INFO}></h5> +<{if $module->getVar('hassearch')}> +<{/if}> + +<{if $module->getVar('hascomments')}> +<{/if}> + +<{if $module->getVar('hasnotification')}> +<{/if}>