aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/pfblockerng/pfblockerng.widget.php2
-rw-r--r--config/pfblockerng/pfblockerng_alerts.php2
-rw-r--r--config/pfblockerng/pfblockerng_log.php5
3 files changed, 9 insertions, 0 deletions
diff --git a/config/pfblockerng/pfblockerng.widget.php b/config/pfblockerng/pfblockerng.widget.php
index 7ac9faa3..647017ff 100644
--- a/config/pfblockerng/pfblockerng.widget.php
+++ b/config/pfblockerng/pfblockerng.widget.php
@@ -274,5 +274,7 @@ if (is_array($pfb_table)) {
</table>
<script type="text/javascript">
+//<![CDATA[
var pfBlockerNGupdateDelay = 10000; // update every 10000 ms
+//]]>
</script> \ No newline at end of file
diff --git a/config/pfblockerng/pfblockerng_alerts.php b/config/pfblockerng/pfblockerng_alerts.php
index bf409572..1b54f8f2 100644
--- a/config/pfblockerng/pfblockerng_alerts.php
+++ b/config/pfblockerng/pfblockerng_alerts.php
@@ -720,6 +720,7 @@ if (!empty($fields_array)) {
</td>
<script type="text/javascript">
+//<![CDATA[
// This function stuffs the passed HOST, Table values into hidden Form Fields for postback.
function hostruleid(host,table) {
@@ -752,6 +753,7 @@ function findhostnames(counter) {
findhostnames(i);
}
+//]]>
</script>
<?php include("fend.inc"); ?>
</form>
diff --git a/config/pfblockerng/pfblockerng_log.php b/config/pfblockerng/pfblockerng_log.php
index 339daca0..39f9eb06 100644
--- a/config/pfblockerng/pfblockerng_log.php
+++ b/config/pfblockerng/pfblockerng_log.php
@@ -222,6 +222,8 @@ if ($input_errors) {
?>
<script type="text/javascript" src="/javascript/base64.js"></script>
<script type="text/javascript">
+//<![CDATA[
+
function loadFile() {
jQuery("#fileStatus").html("<?=gettext("Loading file"); ?> ...");
jQuery("#fileStatusBox").show(250);
@@ -258,6 +260,7 @@ if ($input_errors) {
jQuery("#fileContent").prop("disabled", true);
}
}
+//]]>
</script>
<?php
@@ -408,7 +411,9 @@ if ($savemsg) {
<?php if (!isset($_POST['file'])): ?>
<script type="text/javascript">
+//<![CDATA[
document.getElementById("logFile").selectedIndex=-1;
+//]]>
</script>
<?php endif; ?>
<?php include("fend.inc"); ?>