aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_alerts.widget.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-03-18 12:48:55 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2014-03-18 12:48:55 -0400
commit66712d6f4db59a164d74b35d5ae030d79bb86d7d (patch)
treeab04732e68467bfdc4d4003b079fa2e63102fc63 /config/suricata/suricata_alerts.widget.php
parent28ff681374aa023f5f59fd044e8a094fcbea32ef (diff)
downloadpfsense-packages-66712d6f4db59a164d74b35d5ae030d79bb86d7d.tar.gz
pfsense-packages-66712d6f4db59a164d74b35d5ae030d79bb86d7d.tar.bz2
pfsense-packages-66712d6f4db59a164d74b35d5ae030d79bb86d7d.zip
Remove redundant JavaScript variable declarations.
Diffstat (limited to 'config/suricata/suricata_alerts.widget.php')
-rw-r--r--config/suricata/suricata_alerts.widget.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/config/suricata/suricata_alerts.widget.php b/config/suricata/suricata_alerts.widget.php
index 6c30ecdc..21fad03d 100644
--- a/config/suricata/suricata_alerts.widget.php
+++ b/config/suricata/suricata_alerts.widget.php
@@ -173,13 +173,6 @@ function suricata_widget_get_alerts() {
/* display the result */
?>
-<script type="text/javascript">
-//<![CDATA[
-var suricataupdateDelay = 10000; // update every 10 second
-var suri_nentries = <?php echo $suri_nentries; ?>;
-//]]>
-</script>
-
<input type="hidden" id="suricata_alerts-config" name="suricata_alerts-config" value=""/>
<div id="suricata_alerts-settings" class="widgetconfigdiv" style="display:none;">
<form action="/widgets/widgets/suricata_alerts.widget.php" method="post" name="iformd">
@@ -228,7 +221,6 @@ var suri_nentries = <?php echo $suri_nentries; ?>;
var suri_nentries = <?php echo $suri_nentries; ?>; // default is 5
<!-- needed to display the widget settings menu -->
-//<![CDATA[
selectIntLink = "suricata_alerts-configure";
textlink = document.getElementById(selectIntLink);
textlink.style.display = "inline";