summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-06-08 00:21:32 +1000
committerSavetheinternet <savetheinternet@tinyboard.org>2011-06-08 00:21:32 +1000
commitd950bcb9d256d69537b470c9e9064791e37cd669 (patch)
tree706f989fd9fa9bf3b701d48b859dc986048e9629
parent22f4e043ca927bc85eac28b53f5636096f67522c (diff)
...
-rw-r--r--templates/themes/rrdtool/theme.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/themes/rrdtool/theme.php b/templates/themes/rrdtool/theme.php
index 39f950ea..bc317f59 100644
--- a/templates/themes/rrdtool/theme.php
+++ b/templates/themes/rrdtool/theme.php
@@ -81,7 +81,7 @@
// Graph graph
if(!rrd_graph($settings['images'] . '/' . $board . '-' . $span . '.png', Array(
'-s -1' . $span,
- '-t Posts on ' . sprintf($config['board_abbreviation'], $board) .' this ',
+ '-t Posts on ' . sprintf($config['board_abbreviation'], $board) .' this ' . $span,
'--lazy',
'-l 0',
'-h', $this->height, '-w', $this->width,
@@ -106,7 +106,7 @@
foreach($this->spans as &$span) {
$options = Array(
'-s -1' . $span,
- '-t Posts',
+ '-t Posts this ' . $span,
'--lazy',
'-l 0',
'-h', $this->height, '-w', $this->width,
@@ -124,6 +124,9 @@
$c = 0;
$cc = 0;
+ $c = 1;
+ $cc = 0;
+ $red = 2;
foreach($this->boards as &$board) {
if(in_array($board, $this->combined_exclude))
continue;