diff options
author | Pim van den Berg | 2014-05-03 18:15:12 +0200 |
---|---|---|
committer | Pim van den Berg | 2014-05-03 19:21:36 +0200 |
commit | edae75c21a8f657dd6cc9ace9e8e844ef337a951 (patch) | |
tree | da0c2b4a1ef35a3d2d8c129925e257f6a6f7fbe3 /plugin/hddtemp.php | |
parent | type/base: set default values for rrd_title and rrd_format (diff) | |
download | apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.zip apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.gz apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.bz2 apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.xz |
rename ds_names and dsname to legend
This had nothing to do with an RRD data source.
Diffstat (limited to '')
-rw-r--r-- | plugin/hddtemp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/hddtemp.php b/plugin/hddtemp.php index 1d366a9..9e88b6a 100644 --- a/plugin/hddtemp.php +++ b/plugin/hddtemp.php | |||
@@ -9,7 +9,7 @@ require_once 'type/Default.class.php'; | |||
9 | # hddtemp/temperature-<disk>.rrd | 9 | # hddtemp/temperature-<disk>.rrd |
10 | 10 | ||
11 | $obj = new Type_Default($CONFIG, $_GET); | 11 | $obj = new Type_Default($CONFIG, $_GET); |
12 | $obj->ds_names = array('temperature' => 'Temperature'); | 12 | $obj->legend = array('temperature' => 'Temperature'); |
13 | $obj->rrd_title = 'HDD Temperature'; | 13 | $obj->rrd_title = 'HDD Temperature'; |
14 | $obj->rrd_vertical = '°C'; | 14 | $obj->rrd_vertical = '°C'; |
15 | $obj->rrd_format = '%.1lf'; | 15 | $obj->rrd_format = '%.1lf'; |