summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_filter_reload.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-06-15 14:19:11 +0545
committerPhil Davis <phil.davis@inf.org>2015-06-15 14:19:11 +0545
commit6c07db487164262f9191ad02805523bd153e0ba6 (patch)
tree0c266356179ac730233a16c0e3767a0c22514c4d /usr/local/www/status_filter_reload.php
parent67d9685607eef7c679fda929ad4855be1b2f9dec (diff)
downloadpfsense-6c07db487164262f9191ad02805523bd153e0ba6.zip
pfsense-6c07db487164262f9191ad02805523bd153e0ba6.tar.gz
Code spacing
and other random stuff I noticed. I think this finishes messing with code style. The codebase should match the developer style guide closely enough that 99.9% of changes will not feel the need to also massage the formatting.
Diffstat (limited to 'usr/local/www/status_filter_reload.php')
-rw-r--r--usr/local/www/status_filter_reload.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/status_filter_reload.php b/usr/local/www/status_filter_reload.php
index bd8a573..8844a48 100644
--- a/usr/local/www/status_filter_reload.php
+++ b/usr/local/www/status_filter_reload.php
@@ -42,7 +42,7 @@ require_once("globals.inc");
require_once("guiconfig.inc");
require_once("functions.inc");
-$pgtitle = array(gettext("Status"),gettext("Filter Reload Status"));
+$pgtitle = array(gettext("Status"), gettext("Filter Reload Status"));
$shortcut_section = "firewall";
if (file_exists("{$g['varrun_path']}/filter_reload_status")) {
@@ -100,8 +100,8 @@ function update_data(obj) {
var result_text = obj.content;
var result_text_split = result_text.split("|");
result_text = result_text_split[1];
- result_text = result_text.replace("\n","");
- result_text = result_text.replace("\r","");
+ result_text = result_text.replace("\n", "");
+ result_text = result_text.replace("\r", "");
if (result_text) {
jQuery('#status').html('<img src="/themes/<?=$g['theme'];?>/images/misc/loader.gif" alt="loader" /> ' + result_text + '...');
} else {
@@ -112,8 +112,8 @@ function update_data(obj) {
} else if (result_text == "Done") {
jQuery('#status').effect('highlight');
jQuery('#status').html('Done. The filter rules have been reloaded.');
- jQuery('#reloadinfo').css("visibility","hidden");
- jQuery('#doneurl').css("visibility","visible");
+ jQuery('#reloadinfo').css("visibility", "hidden");
+ jQuery('#doneurl').css("visibility", "visible");
jQuery('#doneurl').html("<p><a href='status_queues.php'>Queue Status<\/a><\/p>");
}
window.setTimeout('update_status_thread()', 2500);
OpenPOWER on IntegriCloud