diff options
author | BBcan177 <bbcan177@gmail.com> | 2014-12-20 20:41:02 -0500 |
---|---|---|
committer | BBcan177 <bbcan177@gmail.com> | 2014-12-20 20:41:02 -0500 |
commit | 58af3a0e22b6b3af740a626491f8dbe6e80459ef (patch) | |
tree | 09e24b50034e5b18dce2bfdeda33101fffedbbab /config/pfblockerng | |
parent | 802b110fa5ca09328fed5fa391d2f73d023bea6d (diff) | |
download | pfsense-packages-58af3a0e22b6b3af740a626491f8dbe6e80459ef.tar.gz pfsense-packages-58af3a0e22b6b3af740a626491f8dbe6e80459ef.tar.bz2 pfsense-packages-58af3a0e22b6b3af740a626491f8dbe6e80459ef.zip |
XHTML mods
Add CDATA sections to Javascripts
Diffstat (limited to 'config/pfblockerng')
-rw-r--r-- | config/pfblockerng/pfblockerng.widget.php | 2 | ||||
-rw-r--r-- | config/pfblockerng/pfblockerng_alerts.php | 2 | ||||
-rw-r--r-- | config/pfblockerng/pfblockerng_log.php | 5 |
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"); ?> |