aboutsummaryrefslogtreecommitdiffstats
path: root/config/pfblockerng/pfblockerng_log.php
diff options
context:
space:
mode:
authorBBcan177 <bbcan177@gmail.com>2014-12-20 20:41:02 -0500
committerBBcan177 <bbcan177@gmail.com>2014-12-20 20:41:02 -0500
commit58af3a0e22b6b3af740a626491f8dbe6e80459ef (patch)
tree09e24b50034e5b18dce2bfdeda33101fffedbbab /config/pfblockerng/pfblockerng_log.php
parent802b110fa5ca09328fed5fa391d2f73d023bea6d (diff)
downloadpfsense-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/pfblockerng_log.php')
-rw-r--r--config/pfblockerng/pfblockerng_log.php5
1 files changed, 5 insertions, 0 deletions
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"); ?>