Active Users: | @active_user_string;noquote@ |
#acs-subsite.parameters# |
Index: openacs-4/packages/xotcl-request-monitor/www/index.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-request-monitor/www/index.tcl,v
diff -u -r1.24.2.3 -r1.24.2.4
--- openacs-4/packages/xotcl-request-monitor/www/index.tcl 1 Feb 2016 16:52:48 -0000 1.24.2.3
+++ openacs-4/packages/xotcl-request-monitor/www/index.tcl 6 Sep 2016 17:45:09 -0000 1.24.2.4
@@ -4,7 +4,7 @@
@author Gustaf Neumann
@cvs-id $Id$
} -query {
- {jsGraph 1}
+ {jsGraph:boolean 1}
} -properties {
title:onevalue
context:onevalue
@@ -101,7 +101,12 @@
if {$jsGraph} {
+ set nonce [::security::nonce_token]
+ template::add_body_script -src "//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"
+ template::add_body_script -src "//code.highcharts.com/highcharts.js"
+ template::add_body_script -src "//code.highcharts.com/modules/exporting.js"
+
proc js_time {clock} {
set year [clock format $clock -format %Y]
set month [expr {[string trimleft [clock format $clock -format %N]] - 1}]
@@ -158,8 +163,7 @@
}
}}]
- set diagram [subst {
-
}]
#ns_log notice diagram=$diagram
return [subst {
- $diagram
}]
}