mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2542 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -16,7 +16,7 @@ if (is_file($rrd_filename))
|
||||
foreach ($array as $ds => $vars)
|
||||
{
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if(is_array($vars))
|
||||
if (is_array($vars))
|
||||
{
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
} else {
|
||||
|
@@ -15,7 +15,7 @@ if (is_file($rrd_filename))
|
||||
foreach ($array as $ds => $vars)
|
||||
{
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if(is_array($vars))
|
||||
if (is_array($vars))
|
||||
{
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
} else {
|
||||
|
@@ -15,7 +15,7 @@ if (is_file($rrd_filename))
|
||||
foreach ($array as $ds => $vars)
|
||||
{
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if(is_array($vars))
|
||||
if (is_array($vars))
|
||||
{
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
} else {
|
||||
|
@@ -19,7 +19,7 @@ if (is_file($rrd_filename))
|
||||
foreach ($array as $ds => $vars)
|
||||
{
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
if(is_array($vars))
|
||||
if (is_array($vars))
|
||||
{
|
||||
$rrd_list[$i]['descr'] = $vars['descr'];
|
||||
} else {
|
||||
|
@@ -34,7 +34,7 @@ foreach ($rrd_list as $rrd)
|
||||
$colour_out=$config['graph_colours'][$colours_out][$iter];
|
||||
|
||||
$descr = str_replace(":", "\:", substr(str_pad($rrd['descr'], $descr_len),0,$descr_len)) . " In";
|
||||
if(isset($rrd['descr_in']))
|
||||
if (isset($rrd['descr_in']))
|
||||
{
|
||||
$descr = str_replace(":", "\:", substr(str_pad($rrd['descr_in'], $descr_len),0,$descr_len)) . " In";
|
||||
}
|
||||
|
@@ -14,7 +14,7 @@ $rrd_options .= " COMMENT:'\\n'";
|
||||
$colour_iter=0;
|
||||
foreach ($rrd_list as $i => $rrd)
|
||||
{
|
||||
if($rrd['colour'])
|
||||
if ($rrd['colour'])
|
||||
{
|
||||
$colour = $rrd['colour'];
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user