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.23.2.1 -r1.23.2.2
--- openacs-4/packages/acs-developer-support/www/index.tcl 13 Mar 2019 10:27:15 -0000 1.23.2.1
+++ openacs-4/packages/acs-developer-support/www/index.tcl 19 Aug 2019 17:46:54 -0000 1.23.2.2
@@ -21,18 +21,19 @@
set page_title "Developer Support"
set context {}
-append body "
+append body [subst {
-- OpenACS Shell
-
- Developer support toolbar is currently
-[expr {$enabled_p ?
- "on (turn it off)" :
- "off (turn it on)"}]
+
- OpenACS Shell
+ [expr {[ns_config ns/server/[ns_info server]/module/nsshell url {}] ne {} ?
+ "
- NaviServer Shell
" : {}}]
+ - Developer support toolbar is currently
+ [expr {$enabled_p ?
+ "on (turn it off)" :
+ "off (turn it on)"}]
-
- Developer support information is currently
-restricted to the following IP addresses:
-
-"
+ - Developer support information is currently restricted to the following IP addresses:
+
+}]
set enabled_ips [nsv_get ds_properties enabled_ips]
set includes_this_ip_p 0
@@ -44,7 +45,7 @@
set includes_this_ip_p 1
}
if { [regexp {[\*\?\[\]]} $ip] } {
- append body "- IPs matching the pattern \"
$ip
\"\n"
+ append body " - IPs matching the pattern '
$ip
'\n"
} else {
append body " - $ip\n"
}
@@ -57,7 +58,7 @@
set requests [nsv_array names ds_request]
set parameterHref [export_vars -base /shared/parameters { package_id { return_url {[ad_return_url]} } }]
-append body "
+append body [subst {
- Information is being swept every [parameter::get -parameter DataSweepInterval -default 900] sec
@@ -69,31 +70,31 @@
- User-switching is currently
[expr {$user_switching_enabled_p ?
- "on (turn it off)" :
- "off (turn it on)"}]
+ "on (turn it off)" :
+ "off (turn it on)"}]
- Database statistics is currently
[expr {$database_enabled_p ?
- "on (turn it off)" :
- "off (turn it on)"}]
+ "on (turn it off)" :
+ "off (turn it on)"}]
- Template profiling is currently
[expr {$profiling_enabled_p ?
- "on (turn it off)" :
- "off (turn it on)"}]
+ "on (turn it off)" :
+ "off (turn it on)"}]
- ADP reveal is currently
[expr {$adp_reveal_enabled_p ?
- "on (turn it off)" :
- "off (turn it on)"}]
+ "on (turn it off)" :
+ "off (turn it on)"}]
- Help on edit and code links.
Available Request Information
-"
+}]
if { [llength $requests] == 0 } {
append body "There is no request information available."
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/acs-developer-support/www/nsshell.adp'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 1.1 refers to a dead (removed) revision in file `openacs-4/packages/acs-developer-support/www/nsshell.tcl'.
Fisheye: No comparison available. Pass `N' to diff?