diff options
author | Pim van den Berg | 2014-11-11 23:01:15 +0100 |
---|---|---|
committer | Pim van den Berg | 2014-11-11 23:01:15 +0100 |
commit | 82d88098f4203cf7402d4faf5ad100cada70efaf (patch) | |
tree | 0c7e63a0e91493837dad20a802529b3051bd670a /type | |
parent | type/base: allow rrdtool graph -l (lower-limit) to be configured via config o... (diff) | |
download | apt-panopticon_cgp-82d88098f4203cf7402d4faf5ad100cada70efaf.zip apt-panopticon_cgp-82d88098f4203cf7402d4faf5ad100cada70efaf.tar.gz apt-panopticon_cgp-82d88098f4203cf7402d4faf5ad100cada70efaf.tar.bz2 apt-panopticon_cgp-82d88098f4203cf7402d4faf5ad100cada70efaf.tar.xz |
make detail page accessible when using "canvas" graph_type
Closes #106
Diffstat (limited to 'type')
-rw-r--r-- | type/Base.class.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/type/Base.class.php b/type/Base.class.php index 8d51121..ee5050b 100644 --- a/type/Base.class.php +++ b/type/Base.class.php | |||
@@ -225,11 +225,9 @@ 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))); | ||
229 | foreach ($graphoptions as $d) { | 228 | foreach ($graphoptions as $d) { |
230 | printf("\"%s\"\n", htmlentities($d)); | 229 | printf("\"%s\"\n", htmlentities($d)); |
231 | } | 230 | } |
232 | print '</canvas>'; | ||
233 | break; | 231 | break; |
234 | case 'debug': | 232 | case 'debug': |
235 | case 1: | 233 | case 1: |