summaryrefslogtreecommitdiff
path: root/templates/themes
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-06-08 00:06:48 +1000
committerSavetheinternet <savetheinternet@tinyboard.org>2011-06-08 00:06:48 +1000
commit8dc3085194a7831fc30ee0c5840df774457ddb5f (patch)
treecf94fe547ed7c82461d2fc8562cf569663598c17 /templates/themes
parent6ef1beabd78671359c3c4cd114ac50f6651633f2 (diff)
removed output
Diffstat (limited to 'templates/themes')
-rw-r--r--templates/themes/rrdtool/theme.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/templates/themes/rrdtool/theme.php b/templates/themes/rrdtool/theme.php
index f965fe0e..43a9abd0 100644
--- a/templates/themes/rrdtool/theme.php
+++ b/templates/themes/rrdtool/theme.php
@@ -40,19 +40,19 @@
'RRA:MIN:0:1:' . (3600/$this->interval), // hour
'RRA:MIN:0:1:' . (86400/$this->interval), // day
- 'RRA:MIN:0:60:' . (604800/$this->interval), // week
+ 'RRA:MIN:0:1:' . (604800/$this->interval), // week
'RRA:MIN:0:60:' . (2592000/$this->interval), // month
'RRA:MIN:0:1440:' . (31536000/$this->interval), // year
'RRA:AVERAGE:0:1:' . (3600/$this->interval), // hour
'RRA:AVERAGE:0:1:' . (86400/$this->interval), // day
- 'RRA:AVERAGE:0:60:' . (604800/$this->interval), // week
+ 'RRA:AVERAGE:0:1:' . (604800/$this->interval), // week
'RRA:AVERAGE:0:60:' . (2592000/$this->interval), // month
'RRA:AVERAGE:0:1440:' . (31536000/$this->interval), // year
'RRA:MAX:0:1:' . (3600/$this->interval), // hour
'RRA:MAX:0:1:' . (86400/$this->interval), // day
- 'RRA:MAX:0:60:' . (604800/$this->interval), // week
+ 'RRA:MAX:0:1:' . (604800/$this->interval), // week
'RRA:MAX:0:60:' . (2592000/$this->interval), // month
'RRA:MAX:0:1440:' . (31536000/$this->interval), // year
)))
@@ -122,12 +122,10 @@
$c = 0;
$cc = 0;
- echo PHP_EOL;
foreach($this->boards as &$board) {
$color = str_pad(dechex($red*85), 2, '0', STR_PAD_LEFT) .
str_pad(dechex($green*85), 2, '0', STR_PAD_LEFT) .
str_pad(dechex($blue*85), 2, '0', STR_PAD_LEFT);
- echo $color . ' ' . $c . PHP_EOL;
$options[] = 'DEF:posts' . $board . '=' . $settings['path'] . '/' . $board . '.rrd' . ':posts:AVERAGE';
$options[] = 'LINE2:posts' . $board . '#' . $color . ':' .