mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix logic bugs and strip %%
This commit is contained in:
@ -7,9 +7,9 @@ if($config['trim_tobias']) { $width+=12; }
|
||||
if ($_GET['height']) { $height = mres($_GET['height']); }
|
||||
if ($_GET['inverse']) { $in = 'out'; $out = 'in'; $inverse=TRUE; } else { $in = 'in'; $out = 'out'; }
|
||||
if ($_GET['legend'] == "no") { $rrd_options .= " -g"; }
|
||||
if ($_GET['nototal']) { $nototal=TRUE;} else { $nototal=FALSE;}
|
||||
if ($_GET['nodetails']) { $nodetails=TRUE; } else { $nodetails=FALSE; }
|
||||
if ($_GET['noagg']) { $noagg=TRUE; } else { $noagg=FALSE; }
|
||||
if (empty($_GET['nototal'])) { $nototal=TRUE; } else { $nototal=FALSE; }
|
||||
if (empty($_GET['nodetails'])) { $nodetails=TRUE; } else { $nodetails=FALSE; }
|
||||
if (empty($_GET['noagg'])) { $noagg=TRUE; } else { $noagg=FALSE; }
|
||||
|
||||
if ($_GET['title'] == "yes") { $rrd_options .= " --title='".$graph_title."' "; }
|
||||
if (isset($_GET['graph_title'])) { $rrd_options .= " --title='".$_GET['graph_title']."' "; }
|
||||
|
Reference in New Issue
Block a user