<div class="adminnavi">
  <a href="./index.php"><{$smarty.const._MI_LEGACY_NAME}></a>
  &raquo;&raquo; <a href="./index.php?action=ImagecategoryList"><{$smarty.const._MI_LEGACY_MENU_IMAGE_MANAGE}></a>
  &raquo;&raquo; <a href="./index.php?action=ImageList&amp;imgcat_id=<{$object->getShow('imgcat_id')}>"><{$smarty.const._AD_LEGACY_LANG_IMAGE_LIST}></a>
  &raquo;&raquo; <span class="adminnaviTitle"><{$smarty.const._AD_LEGACY_LANG_IMAGE_DELETE}></span>
</div>

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

<div class="confirm"><{$smarty.const._AD_LEGACY_MESSAGE_CONFIRM_DELETE}></div>

<form method="post" action="./index.php?action=ImageDelete">
  <{xoops_token form=$actionForm}>
  <{xoops_input type=hidden name=image_id value=$actionForm->get('image_id')}>
  <table class="outer">
    <tr>
      <th colspan="2">
        <{$smarty.const._AD_LEGACY_LANG_IMAGE_DELETE}>
      </th>
    </tr>
    <tr>
      <td class="<{cycle values="odd,even"}> legacy_list_image" colspan="2">
      <{if $object->mImageCategory->get('imgcat_storetype') == 'file'}>
        <img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$object->getShow('image_name')}>" alt="<{$object->getShow('image_nicename')}>" title="<{$object->getShow('image_nicename')}>" />
      <{else}>
        <img src="<{$smarty.const.XOOPS_URL}>/image.php?id=<{$object->getShow('image_id')}>" alt="<{$object->getShow('image_nicename')}>" title="<{$object->getShow('image_nicename')}>" />
      <{/if}>
      </td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_LEGACY_LANG_IMAGE_ID}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('image_id')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_LEGACY_LANG_IMAGE_NAME}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('image_name')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._MD_LEGACY_LANG_IMAGE_NICENAME}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('image_nicename')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._MD_LEGACY_LANG_IMAGE_MIMETYPE}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('image_mimetype')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_LEGACY_LANG_IMAGE_CREATED}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->get('image_created')|xoops_formattimestamp:l}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_LEGACY_LANG_IMAGE_DISPLAY}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('image_display')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_LEGACY_LANG_IMAGE_WEIGHT}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('image_weight')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_LEGACY_LANG_IMGCAT_ID}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('imgcat_id')}></td>
    </tr>
    <tr>
      <td class="foot" colspan="2">
        <input class="formButton" type="submit" value="<{$smarty.const._DELETE}>" />
        <input class="formButton" type="submit" value="<{$smarty.const._BACK}>" name="_form_control_cancel" />
      </td>
    </tr>
  </table>
</form>
