expungeconfirmlist.smarty
1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<h2>Confirm Expunge</h2>
<div class="ktInfo"><p><strong>{i18n}Note{/i18n}:</strong> {i18n}please
confirm that you want to delete these documents.{/i18n}</p></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>
<th>{i18n}Location{/i18n}</th>
</tr>
</thead>
<tbody>
{foreach item=oDoc from=$documents}
<tr>
<td>{$oDoc->getName()}<input type="hidden" name="selected_docs[]" value="{$oDoc->getId()}" /></td>
<td class="descriptiveText">{$oDoc->getDisplayPath()}</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="ktInfo"><p>{i18n}No documents were selected.{/i18n}</p></div>
{/if}