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.9.20.4 -r1.9.20.5 --- openacs-4/packages/acs-admin/www/apm/version-reload.tcl 7 Aug 2014 19:09:26 -0000 1.9.20.4 +++ openacs-4/packages/acs-admin/www/apm/version-reload.tcl 7 Aug 2014 19:24:52 -0000 1.9.20.5 @@ -14,10 +14,10 @@ set title "Reload $pretty_name" set context [list \ - [list "../developer" "Developer's Administration"] \ - [list "/acs-admin/apm/" "Package Manager"] \ - [list [export_vars -base version-view { version_id }] "$pretty_name $version_name"] \ - $title] + [list "../developer" "Developer's Administration"] \ + [list "/acs-admin/apm/" "Package Manager"] \ + [list [export_vars -base version-view { version_id }] "$pretty_name $version_name"] \ + $title] # files in $files. apm_mark_version_for_reload $version_id files @@ -35,62 +35,62 @@ catch { apm_load_any_changed_libraries errors } if {[info exists errors($package_key)]} { - array set package_errors $errors($package_key) + array set package_errors $errors($package_key) } else { - array set package_errors [list] + array set package_errors [list] } foreach file $files { - append body "
[ad_quotehtml $package_errors($file)]
[ad_quotehtml $package_errors($file)]
There - $exist_n_error_files with errors that prevented complete - reloading. Fix the problem, then reload the - package again to finish the reload. -
- " + if {$n_errors > 1} { + set exist_n_error_files "were $n_errors files" + } else { + set exist_n_error_files "was $n_errors file" + } + append body " +There + $exist_n_error_files with errors that prevented complete + reloading. Fix the problem, then reload the + package again to finish the reload. +
+ " } } if { [info exists files_to_watch_p] } { append body [subst { - If you know you're going to be modifying one of the above files frequently, - select the "watch this file" link next to a filename to cause the interpreters to - reload the file immediately whenever it is changed.-
+