summaryrefslogtreecommitdiffstats
path: root/usr/local/www/graph_cpu.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-04-20 21:49:00 +0545
committerPhil Davis <phil.davis@inf.org>2015-04-20 21:49:00 +0545
commit41b1ff894bb5a284e48d65226962681a30545650 (patch)
tree4346775b816c0adb5e29caaab66132728bc4d6da /usr/local/www/graph_cpu.php
parent0608bd3c354ea76eb6df9ed9322e2ef8686f15e7 (diff)
downloadpfsense-41b1ff894bb5a284e48d65226962681a30545650.zip
pfsense-41b1ff894bb5a284e48d65226962681a30545650.tar.gz
More www code style oddments
Diffstat (limited to 'usr/local/www/graph_cpu.php')
-rw-r--r--usr/local/www/graph_cpu.php13
1 files changed, 6 insertions, 7 deletions
diff --git a/usr/local/www/graph_cpu.php b/usr/local/www/graph_cpu.php
index 2258f8a..b92c953 100644
--- a/usr/local/www/graph_cpu.php
+++ b/usr/local/www/graph_cpu.php
@@ -2,22 +2,22 @@
/*
$Id$
part of m0n0wall (http://m0n0.ch/wall)
-
+
Copyright (C) 2013-2015 Electric Sheep Fencing, LP
Copyright (C) 2004-2005 T. Lechat <dev@lechat.org>, Manuel Kasper <mk@neon1.net>
and Jonathan Watt <jwatt@jwatt.org>.
All rights reserved.
-
+
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
-
+
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
-
+
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
-
+
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
@@ -105,8 +105,7 @@ if (typeof getURL == 'undefined') {
var http_request = null;
if (typeof XMLHttpRequest != 'undefined') {
http_request = new XMLHttpRequest();
- }
- else if (typeof ActiveXObject != 'undefined') {
+ } else if (typeof ActiveXObject != 'undefined') {
try {
http_request = new ActiveXObject('Msxml2.XMLHTTP');
} catch (e) {
OpenPOWER on IntegriCloud