aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/interface.php
diff options
context:
space:
mode:
authorPim van den Berg2013-05-13 20:41:14 +0200
committerPim van den Berg2013-05-13 20:41:14 +0200
commita2814f6a4b46a5d9e86146c837ae11343dde4ea7 (patch)
tree0e821febc948da493ecb40a31ecfdbf4df0e80ab /plugin/interface.php
parenttype: stick to the rrdgraph time specification (diff)
downloadapt-panopticon_cgp-a2814f6a4b46a5d9e86146c837ae11343dde4ea7.zip
apt-panopticon_cgp-a2814f6a4b46a5d9e86146c837ae11343dde4ea7.tar.gz
apt-panopticon_cgp-a2814f6a4b46a5d9e86146c837ae11343dde4ea7.tar.bz2
apt-panopticon_cgp-a2814f6a4b46a5d9e86146c837ae11343dde4ea7.tar.xz
move width/heigth from plugins to type __construct
Diffstat (limited to '')
-rw-r--r--plugin/interface.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugin/interface.php b/plugin/interface.php
index 777f953..c8828b2 100644
--- a/plugin/interface.php
+++ b/plugin/interface.php
@@ -27,8 +27,6 @@ $obj->colors = array(
27 'rx' => '0000ff', 27 'rx' => '0000ff',
28 'tx' => '00b000', 28 'tx' => '00b000',
29); 29);
30$obj->width = $width;
31$obj->heigth = $heigth;
32$obj->rrd_format = '%5.1lf%s'; 30$obj->rrd_format = '%5.1lf%s';
33 31
34$instance = $CONFIG['version'] < 5 ? 'tinstance' : 'pinstance'; 32$instance = $CONFIG['version'] < 5 ? 'tinstance' : 'pinstance';