<h2>{i18n}Confirm Expunge{/i18n}</h2>

<div class="ktInfoMessage"><span><strong>{i18n}Note{/i18n}:</strong> {i18n}please
confirm that you want to delete these documents.{/i18n}</span></div>

{if (!empty($documents))}

<form action="{$smarty.server.PHP_SELF}" method="POST">

<input type="hidden" name="action" value="finish_expunge" />

<table class="listing">
  <thead>
    <tr>

      <th>{i18n}Document Name{/i18n}</th>

    </tr>
  </thead>
  <tbody>
    {foreach item=oDoc from=$documents}
    <tr>
      <td>{$oDoc->getName()|sanitize}<input type="hidden" name="selected_docs[]" value="{$oDoc->getId()}" /></td>
    </tr>
    {/foreach}
  </tbody>
</table>
<div class="form_actions">
   <input type="submit" value="{i18n}Confirm Expunge{/i18n}" />
   <!-- <input type="submit" value="Restore" /> -->  <!-- how do we want to handle restore in this? major UI issue :( -->
</div>
</form>

{else}
<div class="ktInfoMessage"><span>{i18n}No documents were selected.{/i18n}</span></div>
{/if}
