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
$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
+ append body "Watches
\n"
+ append body "
\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]
"