mass_delete.smarty
1.24 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
38
39
40
41
42
<h2>{i18n}Delete Files and Folders{/i18n}</h2>
<form action="{$smarty.server.PHP_SELF}" method="POST">
<fieldset>
<legend>{i18n}Specify Reason for Delete{/i18n}</legend>
<p class="descriptiveText">{i18n}Please give a reason for deleting these files. This
will be recorded in the documents' "Transaction History"{/i18n}.</p>
<input type="hidden" name="action" value="doDelete" />
<input type="hidden" name="fFolderId" value="{$folder_id}" />
{* Include the document/folder ids *}
{foreach item=iDocId from=$documents}
<input type="hidden" name="selection_d[]" value="{$iDocId}" />
{/foreach}
{foreach item=iFolderId from=$folders}
<input type="hidden" name="selection_f[]" value="{$iFolderId}" />
{/foreach}
<div class="field">
<label>{i18n}Items to delete{/i18n}</label>
<p class="descriptiveText">{i18n}The items that you selected to delete.{/i18n}</p>
{if ($folder_string)}{$folder_string}<br />{/if}
{if ($document_string)}{$document_string}{/if}
</div>
{foreach item=oWidget from=$form_fields}
{$oWidget->render()}
{/foreach}
<div class="form_actions">
<input type="submit" value="{i18n}Delete{/i18n}" />
<input type="submit" name="kt_cancel[{addQS}fFolderId={$folder_id}{/addQS}]" value="{i18n}Cancel{/i18n}" />
</div>
</fieldset>
</form>