{$dialog_id = uniqid('f-delete-dialog-')} {function form_begin} {if $allowed_files}
{/if} {/function}[`No permissions to delete these files`]: {foreach $unallowed_files as $file} {$file.name|escape} {/foreach}
{/if} {$allowed_files_count = count($allowed_files)}
{if $is_permanently}
[`Files will be deleted PERMANENTLY without the ability to restore. Are you sure?`]
{else}
[`Files will be moved to trash. Are you sure?`]
{/if}
{_w('%d file will be deleted', '%d files will be deleted', $allowed_files_count)}
[`You don’t have permissions to delete these files.`]
{/if}