# FILE: swupdate.tmpl # DESCRIPTION: Handler for online software updates # $COPYRIGHT$ <#define array @menubar (number,name)#> 0 Information 1 Update 2 Discus 5 <#/define#> <#define array @mod_alt_colors (_index, color)#> 1 #e3e3e3 2 #d0d0d0 <#/define#> Online Software Update Manager

Version Manager

<#insert template "admtabs"#> <#if $general->{screen} == 2#>
{#if $browser->{recent}#}

Updates Received

{#else#}
$fsUpdates Received
{#endif#}
[check] <#if $#files == 1#>

Successfully received 1 update from the DiscusWare server.

<#else#>

Successfully received $#files updates from the DiscusWare server.

<#endif#>

IMPORTANT: These updates are not installed until you click the button below.


<#endif#> <#if $general->{screen} == 0#> <#foreach $update (@updates)#> <#endloop#>
$update->{description} <#date $update->{time} format "%mon. %day, %year - %24hour:%minute"#>
<#endif#> <#if $general->{screen} == 1 || $general->{screen} == 2#>
{#if $browser->{recent}#}

Select and Apply Updates

{#else#}
$fsSelect and Apply Updates
{#endif#}

The following table lists the file{#if $#files != 1#}s{#endif#}{||}associated with this update. DiscusWare recommends that you accept these automatic selections.

The update you are about to apply was uploaded at <#date $general->{selected_update_time} format "%mon. %day, %year - %24hour:%minute"#> and has the following description: $general->{selected_update_descr}.


<#foreach $file (@files)#> <#if $file->{delete} == 1#> <#else#> <#if $file->{destfile_exists} == 1#> <#else#> <#endif#> <#endif#> <#endloop#>
  Action File Directory Current File
<#if $file->{checkbox_disabled} == 1#> <#if $file->{checkbox_checked} == 1#> <#else#> <#endif#> <#else#> {checkbox_checked} == 1#>{||}checked<#endif#>\ > <#endif#> DeleteReplaceAdd$file->{file} $file->{nice_dir} <#if $file->{destfile_exists} == 1#> <#if $file->{destfile_mtime} > $general->{selected_update_time}#> Exists: <#date $file->{destfile_mtime} format "%mon. %day, %year - %24hour:%minute"#> <#else#> Exists: <#date $file->{destfile_mtime} format "%mon. %day, %year - %24hour:%minute"#> <#endif#> <#else#> Does Not Exist <#endif#>

<#endif#> <#if $general->{screen} == 3#> <#if $general->{files_fail} == 0#>
{#if $browser->{recent}#}

Updates Installed

{#else#}
$fsUpdates Installed
{#endif#}
[check]

All selected updates have been correctly installed.

<#else#>
{#if $browser->{recent}#}

Installation Failed

{#else#}
$fsInstallation Failed
{#endif#}
[check]

Some of the components of this update could not be successfully installed. Please review any error messages below, and specific error messages in the Discus error log ($DCONF->{admin_dir}/errors.txt).

<#endif#>

{#if $browser->{recent}#}

Installation Details

{#else#}
$fsInstallation Details
{#endif#}

The following is a record of the actions taken to complete this upgrade.


<#foreach $file (@details)#> <#if $file->{error} eq ""#> <#else#> <#endif#> <#endloop#>
  File Directory Errors
\ <#if $file->{ok} == 0#> NOT OK\ <#else#> <#if $file->{ok} == 1#> OK\ <#else#> DELETED\ <#endif#> <#endif#> $file->{file} $file->{dir}N/A$file->{error}
<#endif#> <#if $general->{screen} == 4#>
{#if $browser->{recent}#}

Installation Failure Alert

{#else#}
$fsInstallation Failure Alert
{#endif#}
[check] The automatic upgrade script has detected that the upgrade would likely fail, because files cannot be added to and removed from the directories listed below. Please review the list of directories below and, as appropriate, make or request permission changes to that the web server can write to these directories. When finished, click the button below.
    <#foreach $dir (@dirs)#>
  • $dir->{dirname} <#endloop#>

<#endif#>