Index: openacs-4/packages/acs-admin/www/apm/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/index.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-admin/www/apm/index.adp 17 Sep 2003 11:08:09 -0000 1.1 @@ -0,0 +1,5 @@ + +@page_title;noquote@ +@context;noquote@ + +@body;noquote@ Index: openacs-4/packages/acs-admin/www/apm/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/index.tcl,v diff -u -r1.16 -r1.17 --- openacs-4/packages/acs-admin/www/apm/index.tcl 17 May 2003 09:36:29 -0000 1.16 +++ openacs-4/packages/acs-admin/www/apm/index.tcl 17 Sep 2003 11:08:09 -0000 1.17 @@ -12,7 +12,9 @@ { reload_links_p 0 } } -doc_body_append [apm_header] +set page_title "Package Manager" +set context [list $page_title] + set user_id [ad_get_user_id] # Determine the user's email address. If its not registered, put in a default. @@ -49,7 +51,7 @@ set missing_text "No packages match criteria." -doc_body_append "
[ad_dimensional $dimensional_list]
" +append body "
[ad_dimensional $dimensional_list]
" set use_watches_p [expr ! [ad_parameter -package_id [ad_acs_kernel_id] PerformanceModeP request-processor 1]] @@ -114,7 +116,7 @@ set reload_filter "display reload links" } -doc_body_append "

Packages

+append body "

Packages

" -doc_body_append " +append body " @@ -172,34 +176,34 @@
$reload_filter @@ -134,22 +136,22 @@ if { $use_watches_p } { set watch_files [nsv_array names apm_reload_watch] if { [llength $watch_files] > 0 } { - doc_body_append "

Watches

\n" } } else { set kernel_id [ad_acs_kernel_id] - doc_body_append "

Watches

+ append body "

Watches

Watching of files is not enabled in performance mode (see the PerformanceModeP parameter on the ACS Kernel parameter page)" } -doc_body_append " +append body "

Help

@@ -164,6 +166,4 @@ information on the next screen, and click watch next to the file's name on the following screen.
- -[ad_footer] " Index: openacs-4/packages/acs-admin/www/apm/version-view.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/version-view.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-admin/www/apm/version-view.adp 17 Sep 2003 11:08:09 -0000 1.1 @@ -0,0 +1,5 @@ + +@page_title;noquote@ +@context;noquote@ + +@body;noquote@ 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.12 -r1.13 --- openacs-4/packages/acs-admin/www/apm/version-view.tcl 11 Sep 2003 08:35:56 -0000 1.12 +++ openacs-4/packages/acs-admin/www/apm/version-view.tcl 17 Sep 2003 11:08:09 -0000 1.13 @@ -84,7 +84,7 @@ set status "[ad_decode $version_name_greater -1 "An older" "A newer"] version of this package, version $installed_version_name, is installed and [ad_decode $installed_enabled_p "t" "enabled" "disabled"]." if { $version_name_greater < 0 } { - doc_body_append " You may upgrade to this version now." + append body " You may upgrade to this version now." } } @@ -132,8 +132,12 @@ } db_release_unused_handles -doc_body_append "[apm_header "$pretty_name $version_name"] +set page_title "$pretty_name $version_name" +set context [list [list "/acs-admin/apm/" "ACS Package Manager Administration"] $page_title] + + +append body " $prompt_text

Package Information

@@ -155,11 +159,11 @@ set supported_databases [join $supported_databases_list ", "] } -doc_body_append " +append body "
Database Support:$supported_databases
CVS:$cvs_status
[ad_decode [llength $owners] 1 "Owner" "Owners"]:[join $owners "
"]
Package Key:$package_key
Distribution File:" if { ![empty_string_p $tarball_length] && $tarball_length > 0 } { - doc_body_append "[format "%.1f" [expr { $tarball_length / 1024.0 }]]KB " + append body "[format "%.1f" [expr { $tarball_length / 1024.0 }]]KB " if { [empty_string_p $distribution_uri] } { - doc_body_append "(generated on this system" + append body "(generated on this system" if { ![empty_string_p $distribution_date] } { - doc_body_append " on $distribution_date" + append body " on $distribution_date" } - doc_body_append ")" + append body ")" } else { - doc_body_append "(downloaded from $distribution_uri" + append body "(downloaded from $distribution_uri" if { ![empty_string_p $distribution_date] } { - doc_body_append " on $distribution_date" + append body " on $distribution_date" } - doc_body_append ")" + append body ")" } } else { - doc_body_append "None available" + append body "None available" if { $installed_p == "t" } { - doc_body_append " (generate one now from the filesystem)" + append body " (generate one now from the filesystem)" } } -doc_body_append " +append body "
" -doc_body_append " +append body "

Disable/Uninstall

Disable/Uninstall

- -[ad_footer] "