This commit is contained in:
Savetheinternet 2011-06-08 00:21:32 +10:00
parent 22f4e043ca
commit d950bcb9d2

View File

@ -81,7 +81,7 @@
// Graph graph // Graph graph
if(!rrd_graph($settings['images'] . '/' . $board . '-' . $span . '.png', Array( if(!rrd_graph($settings['images'] . '/' . $board . '-' . $span . '.png', Array(
'-s -1' . $span, '-s -1' . $span,
'-t Posts on ' . sprintf($config['board_abbreviation'], $board) .' this ', '-t Posts on ' . sprintf($config['board_abbreviation'], $board) .' this ' . $span,
'--lazy', '--lazy',
'-l 0', '-l 0',
'-h', $this->height, '-w', $this->width, '-h', $this->height, '-w', $this->width,
@ -106,7 +106,7 @@
foreach($this->spans as &$span) { foreach($this->spans as &$span) {
$options = Array( $options = Array(
'-s -1' . $span, '-s -1' . $span,
'-t Posts', '-t Posts this ' . $span,
'--lazy', '--lazy',
'-l 0', '-l 0',
'-h', $this->height, '-w', $this->width, '-h', $this->height, '-w', $this->width,
@ -124,6 +124,9 @@
$c = 0; $c = 0;
$cc = 0; $cc = 0;
$c = 1;
$cc = 0;
$red = 2;
foreach($this->boards as &$board) { foreach($this->boards as &$board) {
if(in_array($board, $this->combined_exclude)) if(in_array($board, $this->combined_exclude))
continue; continue;