Index: openacs-4/packages/acs-admin/www/apm/version-view.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/version-view.tcl,v diff -u -r1.30.2.1 -r1.30.2.2 --- openacs-4/packages/acs-admin/www/apm/version-view.tcl 13 Mar 2019 09:07:19 -0000 1.30.2.1 +++ openacs-4/packages/acs-admin/www/apm/version-view.tcl 13 Mar 2019 09:16:05 -0000 1.30.2.2 @@ -77,7 +77,7 @@ } else { set status [subst { [expr {$installed_version_name_greater_p ? "A newer" : "An older"}] version of this package, - version $installed_version_name, is installed and [ad_decode $installed_enabled_p "t" "enabled" "disabled"]. + version $installed_version_name, is installed and [expr {$installed_enabled_p ? "enabled" : "disabled"}]. }] if { !$installed_version_name_greater_p } { set href [export_vars -base version-upgrade {version_id}] @@ -137,10 +137,10 @@ - - - - + + + + @@ -156,7 +156,7 @@ append body [subst { - + @@ -175,7 +175,7 @@ }] } -set vendorHTML [ad_decode $vendor_uri "" $vendor [subst {$vendor}]] +set vendorHTML [expr {$vendor_uri eq "" ? $vendor : [subst {$vendor}]}] append body [subst { Index: openacs-4/packages/acs-admin/www/apm/version-reload.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/version-reload.tcl,v diff -u -r1.16 -r1.16.2.1 --- openacs-4/packages/acs-admin/www/apm/version-reload.tcl 2 Jul 2018 15:54:40 -0000 1.16 +++ openacs-4/packages/acs-admin/www/apm/version-reload.tcl 13 Mar 2019 09:18:08 -0000 1.16.2.1 @@ -29,7 +29,7 @@ if { [llength $files] == 0 } { append body "There are no changed files to reload in this package.

" } else { - append body "Marked the following file[ad_decode [llength $files] 1 "" "s"] for reloading:

Package Name:$pretty_name
Version:$version_name
OpenACS Core:[ad_decode $initial_install_p "t" "Yes" "No"]
Singleton:[ad_decode $singleton_p "t" "Yes" "No"]
Implements Subsite:[ad_decode $implements_subsite_p t Yes No]
Inherit Templates:[ad_decode $inherit_templates_p t Yes No]
OpenACS Core:[expr {$initial_install_p ? "Yes" : "No"}]
Singleton:[expr {$singleton_p ? "Yes" : "No"}]
Implements Subsite:[expr {$implements_subsite_p ? "Yes" : "No"}]
Inherit Templates:[expr {$inherit_templates_p ? "Yes" : "No"}]
Auto-mount:$auto_mount
Status:$status
Data Model:$data_model_status
Database Support:$supported_databases
CVS:$cvs_status
[ad_decode [llength $owners] 1 "Owner" "Owners"]:[join $owners "
"]
[expr {[llength $owners] == 1 ? "Owner" : "Owners"}]:[join $owners "
"]
Package Key:$package_key
Summary:$summary
Description:$description
Vendor:$vendorHTML
Package URL:$package_uri