aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/type
diff options
context:
space:
mode:
authorPim van den Berg2013-12-29 16:49:29 +0100
committerPim van den Berg2013-12-29 16:51:26 +0100
commit078cfa70db475e82e06e9a6677e813cd4bd5c431 (patch)
tree204fc91526567fb87abe43fd38a3b45b9b4ac838 /type
parentautomatic page refresh support + config setting (diff)
downloadapt-panopticon_cgp-078cfa70db475e82e06e9a6677e813cd4bd5c431.zip
apt-panopticon_cgp-078cfa70db475e82e06e9a6677e813cd4bd5c431.tar.gz
apt-panopticon_cgp-078cfa70db475e82e06e9a6677e813cd4bd5c431.tar.bz2
apt-panopticon_cgp-078cfa70db475e82e06e9a6677e813cd4bd5c431.tar.xz
fix heigth -> height typo
Diffstat (limited to 'type')
-rw-r--r--type/Default.class.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/type/Default.class.php b/type/Default.class.php
index 8704d06..5e19e73 100644
--- a/type/Default.class.php
+++ b/type/Default.class.php
@@ -18,7 +18,7 @@ class Type_Default {
18 var $rrd_format; 18 var $rrd_format;
19 var $scale = 1; 19 var $scale = 1;
20 var $width; 20 var $width;
21 var $heigth; 21 var $height;
22 var $graph_type; 22 var $graph_type;
23 var $negative_io; 23 var $negative_io;
24 var $graph_smooth; 24 var $graph_smooth;
@@ -37,8 +37,8 @@ class Type_Default {
37 $this->identifiers = $this->file2identifier($this->files); 37 $this->identifiers = $this->file2identifier($this->files);
38 $this->width = GET('x'); 38 $this->width = GET('x');
39 if (empty($this->width)) $this->width = $config['width']; 39 if (empty($this->width)) $this->width = $config['width'];
40 $this->heigth = GET('y'); 40 $this->height = GET('y');
41 if (empty($this->heigth)) $this->heigth = $config['heigth']; 41 if (empty($this->height)) $this->height = $config['height'];
42 $this->graph_type = $config['graph_type']; 42 $this->graph_type = $config['graph_type'];
43 $this->negative_io = $config['negative_io']; 43 $this->negative_io = $config['negative_io'];
44 $this->graph_smooth = $config['graph_smooth']; 44 $this->graph_smooth = $config['graph_smooth'];
@@ -227,7 +227,7 @@ class Type_Default {
227 if ($this->graph_smooth) 227 if ($this->graph_smooth)
228 $rrdgraph[] = '-E'; 228 $rrdgraph[] = '-E';
229 $rrdgraph[] = sprintf('-w %d', is_numeric($this->width) ? $this->width : 400); 229 $rrdgraph[] = sprintf('-w %d', is_numeric($this->width) ? $this->width : 400);
230 $rrdgraph[] = sprintf('-h %d', is_numeric($this->heigth) ? $this->heigth : 175); 230 $rrdgraph[] = sprintf('-h %d', is_numeric($this->height) ? $this->height : 175);
231 $rrdgraph[] = '-l 0'; 231 $rrdgraph[] = '-l 0';
232 $rrdgraph[] = sprintf('-t "%s on %s"', $this->rrd_title, $this->args['host']); 232 $rrdgraph[] = sprintf('-t "%s on %s"', $this->rrd_title, $this->args['host']);
233 if ($this->rrd_vertical) 233 if ($this->rrd_vertical)