{include file="location.tpl" last_location="Applying patch"} {capture name=dialog} {if $patch_type eq "upgrade" and $patch_phase ne "upgrade_final"}
CHECKING PATCH EXECUTABLE...
{$patch_exe.patch_exe} ...
{if $patch_exe.status eq "OK"}
[OK]
{else}
[{$patch_exe.status}]
{/if}
{section name=result_line loop=$integrity_result}
{$integrity_result[result_line].filename} ...
{if $integrity_result[result_line].status eq "OK"}
[OK]
{else}
[{$integrity_result[result_line].status}]
{/if}
{/section}
{/if} {if $patch_type eq "text" or ($patch_type eq "upgrade" and $patch_phase ne "upgrade_final")} CHECKING WRITE PERMISSIONS...
{section name=file loop=$all_files_to_patch}
{$all_files_to_patch[file].filename} ...
{if $all_files_to_patch[file].status eq "OK"}
[OK]
{else}
[{$all_files_to_patch[file].status}]
{/if}
{/section}
IMPORTANT: It is recommended to backup these files.
{if !empty($files_to_patch)} BEFORE YOU CONTINUE PLEASE SET WRITE PERMISSIONS ON FOLLOWING FILES
{section name=file loop=$files_to_patch}
{$files_to_patch[file]}
{/section}
{/if}
{/if}
{if $confirm_patch ne "" and $patch_phase ne "upgrade_final"}
APPLYING THE PATCH... {if $patch_phase eq "upgrade_final"}
{section name=file loop=$patch_files}
{$patch_files[file].orig_file} ... [{$patch_files[file].status}]
{/section}
PATCH RESULTS...
{section name=line loop=$patch_result}
{$patch_result[line]}
{/section}
PATCH LOG...
{section name=line loop=$patch_log}
{$patch_log[line]}
{/section}
{else}
{section name=line loop=$patch_result}
{$patch_result[line]}
{/section}
{/if}