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

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

{if (!empty($documents))}

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

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

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

      <th>{i18n}Document Name{/i18n}</th>
      <th>{i18n}Restore To{/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>
      <td>{$context->getRestoreLocationFor($oDoc)}</td>
    </tr>
    {/foreach}
  </tbody>
</table>
<div class="form_actions">
   <input type="submit" value="{i18n}Confirm Restore{/i18n}" />

</div>
</form>

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