Index: openacs-4/packages/acs-developer-support/www/index.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-developer-support/www/index.tcl,v
diff -u -r1.8 -r1.9
--- openacs-4/packages/acs-developer-support/www/index.tcl 11 Dec 2003 21:39:51 -0000 1.8
+++ openacs-4/packages/acs-developer-support/www/index.tcl 30 Dec 2003 22:46:17 -0000 1.9
@@ -18,12 +18,10 @@
set package_id [ad_conn package_id]
-doc_body_append "[ad_header "ACS Developer Support"]
+set page_title "Developer Support"
+set context {}
-
ACS Developer Support
-[ad_context_bar "Request Index"]
-
-
+append body "
- OpenACS Shell
- Developer support information is currently
@@ -39,26 +37,26 @@
set enabled_ips [nsv_get ds_properties enabled_ips]
set includes_this_ip_p 0
if { [llength $enabled_ips] == 0 } {
- doc_body_append "
- (none)\n"
+ append body "
- (none)\n"
} else {
foreach ip $enabled_ips {
if { [string match $ip [ad_conn peeraddr]] } {
set includes_this_ip_p 1
}
if { [regexp {[\*\?\[\]]} $ip] } {
- doc_body_append "
- IPs matching the pattern \"
$ip
\"\n"
+ append body " - IPs matching the pattern \"
$ip
\"\n"
} else {
- doc_body_append " - $ip\n"
+ append body "
- $ip\n"
}
}
}
if { !$includes_this_ip_p } {
- doc_body_append "
- add your IP, [ad_conn peeraddr]\n"
+ append body "
- add your IP, [ad_conn peeraddr]\n"
}
set requests [nsv_array names ds_request]
-doc_body_append "
+append body "
Information is being swept every [ad_parameter DataSweepInterval "developer-support" 900] sec
@@ -85,9 +83,9 @@
"
if { [llength $requests] == 0 } {
- doc_body_append "There is no request information available."
+ append body "There is no request information available."
} else {
- doc_body_append "
+ append body "
\n"
+ append body "\n"
}
-doc_body_append "
-
-
-[ad_footer]
-"
-
+append body ""