diff options
author | Phil Davis <phil.davis@inf.org> | 2016-08-16 14:15:56 +0930 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-08-16 09:21:54 -0400 |
commit | 9488f42b8190c92b6328697cbe84faad71647675 (patch) | |
tree | d67ed8fa47eb873cf9c9adcb766c4a8a81013afe /src/usr/local/www/widgets/widgets/system_information.widget.php | |
parent | c9cd556bdc4ef615778aa0c28c1030db23abf107 (diff) | |
download | pfsense-9488f42b8190c92b6328697cbe84faad71647675.zip pfsense-9488f42b8190c92b6328697cbe84faad71647675.tar.gz |
Code style and comments
No functional change - just making style consistent
(cherry picked from commit 9d3e8723171c727cf43338bd8e95ab2bb7e6a66c)
Diffstat (limited to 'src/usr/local/www/widgets/widgets/system_information.widget.php')
-rw-r--r-- | src/usr/local/www/widgets/widgets/system_information.widget.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/widgets/widgets/system_information.widget.php b/src/usr/local/www/widgets/widgets/system_information.widget.php index 3b509b1..290a4a5 100644 --- a/src/usr/local/www/widgets/widgets/system_information.widget.php +++ b/src/usr/local/www/widgets/widgets/system_information.widget.php @@ -198,7 +198,7 @@ $filesystems = get_mounted_filesystems(); <ul style="margin-bottom:0px"> <?php $dns_servers = get_dns_servers(); - foreach($dns_servers as $dns) { + foreach ($dns_servers as $dns) { echo "<li>{$dns}</li>"; } ?> @@ -370,7 +370,7 @@ function setTimer() { function stats(x) { var values = x.split("|"); - if ($.each(values,function(key,value){ + if ($.each(values,function(key,value) { if (value == 'undefined' || value == null) return true; else @@ -502,7 +502,7 @@ function updateInterfaces(x) { } else { ipv4_details = details[2] + '<br />'; } - switch(details[1]) { + switch (details[1]) { case "up": $('#' + details[0] + '-up').css("display","inline"); $('#' + details[0] + '-down').css("display","none"); |