aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/sensors.php
diff options
context:
space:
mode:
authorPim van den Berg2011-02-05 20:01:26 +0100
committerPim van den Berg2011-02-05 20:01:26 +0100
commitb1e34bd1868be418ef5ec26683a8d07f22cebd51 (patch)
treec4f7616f7159b71af7a1260b3e049af0fc29d507 /plugin/sensors.php
parentplugin/dns: generate colors in type dns_opcode (diff)
downloadapt-panopticon_cgp-b1e34bd1868be418ef5ec26683a8d07f22cebd51.zip
apt-panopticon_cgp-b1e34bd1868be418ef5ec26683a8d07f22cebd51.tar.gz
apt-panopticon_cgp-b1e34bd1868be418ef5ec26683a8d07f22cebd51.tar.bz2
apt-panopticon_cgp-b1e34bd1868be418ef5ec26683a8d07f22cebd51.tar.xz
replace function generate_colors by rainbow_colors
When no colors are defined they will be generated by function rainbow_colors.
Diffstat (limited to 'plugin/sensors.php')
-rw-r--r--plugin/sensors.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugin/sensors.php b/plugin/sensors.php
index bfdb411..3f23e98 100644
--- a/plugin/sensors.php
+++ b/plugin/sensors.php
@@ -18,7 +18,6 @@ $obj->ds_names = array(
18); 18);
19$obj->width = $width; 19$obj->width = $width;
20$obj->heigth = $heigth; 20$obj->heigth = $heigth;
21$obj->generate_colors();
22switch($obj->args['type']) { 21switch($obj->args['type']) {
23 case 'fanspeed': 22 case 'fanspeed':
24 $obj->rrd_title = sprintf('Fanspeed (%s)', $obj->args['pinstance']); 23 $obj->rrd_title = sprintf('Fanspeed (%s)', $obj->args['pinstance']);