<div class="adminnavi">
  <a href="./index.php"><{$smarty.const._MI_LEGACY_NAME}></a>
  &raquo;&raquo; <a href="./index.php?action=BlockList"><{$smarty.const._MI_LEGACY_MENU_BLOCKLIST}></a>
  &raquo;&raquo; <span class="adminnaviTitle"><{$smarty.const._AD_LEGACY_LANG_BLOCK_UNINSTALL}></span>
</div>

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

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

<div class="tips">
  <{if $object->get('block_type') == 'C'}>
    <{$smarty.const._AD_LEGACY_TIPS_CUSTOM_BLOCK_UNINSTALL}>
  <{else}>
    <{$smarty.const._AD_LEGACY_TIPS_BLOCK_UNINSTALL}>
  <{/if}>
</div>

<form method="post" action="./index.php?action=BlockUninstall">
<{xoops_token form=$actionForm}>
<{xoops_input type=hidden name=bid value=$actionForm->get('bid')}>
<table class="outer">
  <tr>
    <th colspan="2"><{$smarty.const._AD_LEGACY_LANG_BLOCK_UNINSTALL}></th>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._AD_LEGACY_LANG_BID}></td>
    <td class="<{cycle values="odd,even"}>"><{$object->getShow('bid')}></td>
  </tr>
  <tr>
  <td class="head"><{$smarty.const._AD_LEGACY_LANG_BLOCK_MOD}></td>
    <td class="<{cycle values="odd,even"}>"><{$object->getShow('mid')}></td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._AD_LEGACY_LANG_FUNC_NUM}></td>
    <td class="<{cycle values="odd,even"}>"><{$object->getShow('func_num')}></td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._AD_LEGACY_LANG_OPTIONS}></td>
    <td class="<{cycle values="odd,even"}>"><{$object->getShow('options')}></td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._AD_LEGACY_LANG_NAME}></td>
    <td class="<{cycle values="odd,even"}>"><{$object->getShow('name')}></td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._AD_LEGACY_LANG_TITLE}></td>
    <td class="<{cycle values="odd,even"}>"><{$object->getShow('title')}></td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._AD_LEGACY_LANG_CONTENT}></td>
    <td class="<{cycle values="odd,even"}>"><{$object->getShow('content')}></td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._AD_LEGACY_LANG_SIDE}></td>
    <td class="<{cycle values="odd,even"}>">
      <{if $object->mColumn}><{$object->mColumn->getShow('name')}><{/if}>
    </td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._AD_LEGACY_LANG_WEIGHT}></td>
    <td class="<{cycle values="odd,even"}>"><{$object->getShow('weight')}></td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._AD_LEGACY_LANG_VISIBLE}></td>
    <td class="<{cycle values="odd,even"}>">
      <{if $object->getShow('visible') == 1}>
        <{$smarty.const._YES}>
      <{else}>
        <{$smarty.const._YES}>
      <{/if}>
    </td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._AD_LEGACY_LANG_BLOCK_TYPE}></td>
    <td class="<{cycle values="odd,even"}>"><{$object->getShow('block_type')}></td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._AD_LEGACY_LANG_C_TYPE}></td>
    <td class="<{cycle values="odd,even"}>"><{$object->getShow('c_type')}></td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._AD_LEGACY_LANG_ISACTIVE}></td>
    <td class="<{cycle values="odd,even"}>">
      <{if $object->getShow('isactive') == 1}>
        <{$smarty.const._YES}>
      <{else}>
        <{$smarty.const._YES}>
      <{/if}>
    </td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._AD_LEGACY_LANG_DIRNAME}></td>
    <td class="<{cycle values="odd,even"}>"><{$object->getShow('dirname')}></td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._AD_LEGACY_LANG_FUNC_FILE}></td>
    <td class="<{cycle values="odd,even"}>"><{$object->getShow('func_file')}></td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._AD_LEGACY_LANG_SHOW_FUNC}></td>
    <td class="<{cycle values="odd,even"}>"><{$object->getShow('show_func')}></td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._AD_LEGACY_LANG_EDIT_FUNC}></td>
    <td class="<{cycle values="odd,even"}>"><{$object->getShow('edit_func')}></td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._AD_LEGACY_LANG_TEMPLATE}></td>
    <td class="<{cycle values="odd,even"}>"><{$object->getShow('template')}></td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._AD_LEGACY_LANG_BCACHETIME}></td>
    <td class="<{cycle values="odd,even"}>">
      <{if $object->mCachetime}><{$object->mCachetime->getShow('label')}><{/if}>
    </td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._AD_LEGACY_LANG_LAST_MODIFIED}></td>
    <td class="<{cycle values="odd,even"}>"><{$object->get('last_modified')|xoops_formattimestamp:l}></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>
