trim_tobias option. sorry Tobias, we love you really, but there's just too much of you! :D

git-svn-id: http://www.observium.org/svn/observer/trunk@3028 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2012-04-12 15:48:33 +00:00
parent 6ff76f0be3
commit b952a94006
3 changed files with 28 additions and 1 deletions
+1
View File
@@ -3,6 +3,7 @@
if ($_GET['from']) { $from = mres($_GET['from']); }
if ($_GET['to']) { $to = mres($_GET['to']); }
if ($_GET['width']) { $width = mres($_GET['width']); }
if($config['trim_tobias']) { $width+=12; }
if ($_GET['height']) { $height = mres($_GET['height']); }
if ($_GET['inverse']) { $in = 'out'; $out = 'in'; } else { $in = 'in'; $out = 'out'; }
if ($_GET['legend'] == "no") { $rrd_options = " -g"; }