{literal}
<script type="text/javascript">
function confirm_delete_file(file_id, file_info) {
    if (window.confirm(file_info+'\n\n{/literal}{t}Are you sure you want to delete this file?{/t}{literal}')) {
        location.href = '{/literal}{$smarty.const.PHPAGA_SELF}?action={$smarty.const.ACTION_FILE_REMOVE}{if (isset($DELETE_OP_URL_EXTRA) && strlen($DELETE_OP_URL_EXTRA))}{$DELETE_OP_URL_EXTRA}{/if}{literal}&file_id='+file_id;
    }
}
</script>
{/literal}
