<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; <span class="adminnaviTitle"><{$smarty.const._AD_BASE_LANG_MODUPDATE_CONF}></span>
</div>

<h3 class="admintitle"><{$smarty.const._AD_BASE_LANG_MODUPDATE_CONF}></h3>

<div class="confirm"><{$smarty.const._AD_BASE_LANG_MODUPDATE_ADVICE|replace:"_%s_":$module->getShow('name')}></div>

<{if $actionForm->hasError()}>
<div class="error">
  <ul>
    <{foreach item=message from=$actionForm->getErrorMessages()}>
      <li><{$message|escape}></li>
    <{/foreach}>
  </ul>
</div>
<{/if}>

<form method="post" action="">
<{xoops_token form=$actionForm}>
<{xoops_input type=hidden name=dirname value=$module->get('dirname')}>
<table class="outer">
  <tr>
    <th colspan="3"><{$smarty.const._AD_BASE_LANG_MODUPDATE_CONF}></th>
  </tr>
  <tr>
    <td class="head base_list_image" rowspan="6">
      <img src="<{$xoops_url}>/modules/<{$module->getShow('dirname')}>/<{$module->modinfo.image}>" alt="<{$module->getShow('name')}>" title="<{$module->getShow('name')}>" />
      <div class="base_list_title"><{$module->modinfo.name|escape}></div>
    </td>
	<td class="head"><{$smarty.const._AD_BASE_LANG_NAME}></td>
	<td class="<{cycle values='odd,even'}>"><{$module->getShow('name')}></td>
  </tr>
  <tr>
	<td class="head"><{$smarty.const._AD_BASE_LANG_MOD_DIR_NAME}></td>
	<td class="<{cycle values='odd,even'}>"><{$module->getShow('dirname')}></td>
  </tr>
  <tr>
	<td class="head"><{$smarty.const._AD_BASE_LANG_VERSION}></td>
	<td class="<{cycle values='odd,even'}>"><{math equation="v/100" v=$module->get('version') format="%.2f"}>
	<{if $module->get('version') != $module->modinfo.version * 100 }>
	  &raquo; <span class="base_module_versionMsg"><{math equation=$module->modinfo.version format="%.2f"}></span>
	<{/if}>
	</td>
  </tr>
  <tr>
	<td class="head"><{$smarty.const._AD_BASE_LANG_MID}></td>
	<td class="<{cycle values='odd,even'}>">
	  <{if $module->get('mid')}>
	    <{$module->getShow('mid')}>
	  <{else}>
	    --
	  <{/if}>
	</td>
  </tr>
  <tr>
	<td class="head"><{$smarty.const._AD_BASE_LANG_LASTUPDATE}></td>
	<td class="<{cycle values='odd,even'}>">
	  <{if $module->get('last_update')}>
        <{$module->get('last_update')|xoops_formattimestamp:l}>
      <{else}>
        --
      <{/if}>
    </td>
  </tr>
  <tr>
	<td class="head"><{$smarty.const._AD_BASE_LANG_MOD_DESC}></td>
	<td class="<{cycle values='odd,even'}>"><{$module->modinfo.description|escape}></td>
  </tr>
  <tr>
    <td class="foot" colspan="3">
      <input class="formButton" type="submit" value="<{$smarty.const._AD_BASE_LANG_UPDATE}>" />
      <input class="formButton" type="submit" value="<{$smarty.const._BACK}>" name="_form_control_cancel" />
    </td>
  </tr>
</table>
</form>
