Apply "Squiz" code style on old (pre-2014) files

This commit is contained in:
Job Snijders
2015-07-10 13:36:21 +02:00
parent e4f4eb44dc
commit ebd0f6fc35
539 changed files with 13591 additions and 13223 deletions

View File

@@ -1,26 +1,26 @@
<?php
$file = $config['rrd_dir'] . "/" . $device['hostname'] . "/" . safename("screenos_sessions.rrd");
$file = $config['rrd_dir'].'/'.$device['hostname'].'/'.safename('screenos_sessions.rrd');
$rrd_list[0]['filename'] = $file;
$rrd_list[0]['descr'] = "Maxiumum";
$rrd_list[0]['ds'] = "max";
$rrd_list[0]['descr'] = 'Maxiumum';
$rrd_list[0]['ds'] = 'max';
$rrd_list[1]['filename'] = $file;
$rrd_list[1]['descr'] = "Allocated";
$rrd_list[1]['ds'] = "allocate";
$rrd_list[1]['descr'] = 'Allocated';
$rrd_list[1]['ds'] = 'allocate';
$rrd_list[2]['filename'] = $file;
$rrd_list[2]['descr'] = "Failed";
$rrd_list[2]['ds'] = "failed";
$rrd_list[2]['descr'] = 'Failed';
$rrd_list[2]['ds'] = 'failed';
if ($_GET['debug']) { print_r($rrd_list); }
if ($_GET['debug']) {
print_r($rrd_list);
}
$colours = "mixed";
$colours = 'mixed';
$nototal = 1;
$unit_text = "Sessions";
$scale_min = "0";
$unit_text = 'Sessions';
$scale_min = '0';
include("includes/graphs/generic_multi_line.inc.php");
?>
require 'includes/graphs/generic_multi_line.inc.php';