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 |
"
-doc_body_append "
+append body "
CVS: | $cvs_status |
[ad_decode [llength $owners] 1 "Owner" "Owners"]: | [join $owners " "] |
Package Key: | $package_key |
@@ -172,34 +176,34 @@
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]
"