aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/type/Base.class.php
diff options
context:
space:
mode:
authorPeter Wu2014-12-14 01:07:14 +0100
committerPim van den Berg2014-12-14 15:58:35 +0100
commitab2bcff2d4bba317317e9e8fae071c840add63c7 (patch)
tree1c1d2bbc833c450f1e852a15f44b575253fbd2c1 /type/Base.class.php
parentinc/html: include jquery from local source (diff)
downloadapt-panopticon_cgp-ab2bcff2d4bba317317e9e8fae071c840add63c7.zip
apt-panopticon_cgp-ab2bcff2d4bba317317e9e8fae071c840add63c7.tar.gz
apt-panopticon_cgp-ab2bcff2d4bba317317e9e8fae071c840add63c7.tar.bz2
apt-panopticon_cgp-ab2bcff2d4bba317317e9e8fae071c840add63c7.tar.xz
Revert "make detail page accessible when using "canvas" graph_type"
This reverts commit 82d88098f4203cf7402d4faf5ad100cada70efaf. Breaks async rendering, see https://github.com/pommi/CGP/issues/106#issuecomment-66896905
Diffstat (limited to 'type/Base.class.php')
-rw-r--r--type/Base.class.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/type/Base.class.php b/type/Base.class.php
index ee5050b..8d51121 100644
--- a/type/Base.class.php
+++ b/type/Base.class.php
@@ -225,9 +225,11 @@ class Type_Base {
225 print '</pre>'; 225 print '</pre>';
226 break; 226 break;
227 case 'canvas': 227 case 'canvas':
228 printf('<canvas id="%s" class="rrd">', sha1(serialize($graphoptions)));
228 foreach ($graphoptions as $d) { 229 foreach ($graphoptions as $d) {
229 printf("\"%s\"\n", htmlentities($d)); 230 printf("\"%s\"\n", htmlentities($d));
230 } 231 }
232 print '</canvas>';
231 break; 233 break;
232 case 'debug': 234 case 'debug':
233 case 1: 235 case 1: