<div class="adminnavi">
  <a href="./index.php"><{$smarty.const._MI_BASE_NAME}></a>
  &raquo;&raquo; <a href="./index.php?action=ModuleList"><{$smarty.const._MI_BASE_MENU_MODULELIST}></a>
  &raquo;&raquo; <{$smarty.const._MD_A_BASE_LANG_MODUPDATE_CONF}>
</div>

<h3><{$smarty.const._MD_A_BASE_LANG_MODUPDATE_CONF}></h3>

<ul>
  <li><{$smarty.const._MD_A_BASE_LANG_MODUPDATE_ADVICE|replace:"_%s_":$module->getVar('name','e')}>
</ul>

<form method="POST">
<{xoops_token form=$actionForm}>
<input type="hidden" name="dirname" value="<{$module->getVar('dirname')|escape}>" />
<table class="outer">
  <tr>
    <th colspan="3"><{$smarty.const._MD_A_BASE_LANG_MODUPDATE_CONF}></th>
  </tr>
  <tr>
    <td class="head" rowspan="6" style="text-align:center;">
      <img src="<{$xoops_url}>/modules/<{$module->getVar('dirname')}>/<{$module->modinfo.image}>" />
      <div><{$module->modinfo.name|escape}></div>
    </td>
	<td class="head"><{$smarty.const._MD_A_BASE_LANG_NAME}></td>
	<td class="<{cycle values='odd,even'}>"><{$module->getVar('name',e)}></td>
  </tr>
  <tr>
	<td class="head"><{$smarty.const._MD_A_BASE_LANG_MOD_DIR_NAME}></td>
	<td class="<{cycle values='odd,even'}>"><{$module->getVar('dirname',e)}></td>
  </tr>
  <tr>
	<td class="head"><{$smarty.const._MD_A_BASE_LANG_VERSION}></td>
	<td class="<{cycle values='odd,even'}>"><{math equation="v/100" v=$module->getVar('version') format="%.2f"}>
	<{if $module->getVar('version') != $module->modinfo.version * 100 }>
	  &raquo; <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="<{cycle values='odd,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="<{cycle values='odd,even'}>">
	  <{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>
	<td class="<{cycle values='odd,even'}>"><{$module->modinfo.description|escape}></td>
  </tr>
  <tr>
    <td class="foot" colspan="3">
      <input type="submit" value="<{$smarty.const._MD_A_BASE_LANG_UPDATE}>" class="formButton" />
      <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" />
    </td>
  </tr>
</table>
</form>
