aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_sid_mgmt.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-12-08 16:22:05 -0500
committerbmeeks8 <bmeeks8@bellsouth.net>2014-12-15 12:15:49 -0500
commit88fa32ca9c528019b55ea25aee562e3d6d642640 (patch)
tree87ae682f9028a3b9a68b78bab39cec5bf2c574e5 /config/suricata/suricata_sid_mgmt.php
parentb4b3c760a22e87c3c87ff6fd2634087dece77ff9 (diff)
downloadpfsense-packages-88fa32ca9c528019b55ea25aee562e3d6d642640.tar.gz
pfsense-packages-88fa32ca9c528019b55ea25aee562e3d6d642640.tar.bz2
pfsense-packages-88fa32ca9c528019b55ea25aee562e3d6d642640.zip
Hide JavaScript code when IP REP or SID MGMT are disabled.
Diffstat (limited to 'config/suricata/suricata_sid_mgmt.php')
-rw-r--r--config/suricata/suricata_sid_mgmt.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/suricata/suricata_sid_mgmt.php b/config/suricata/suricata_sid_mgmt.php
index b546db94..c2d58af8 100644
--- a/config/suricata/suricata_sid_mgmt.php
+++ b/config/suricata/suricata_sid_mgmt.php
@@ -588,6 +588,8 @@ if ($savemsg) {
<?php include("fend.inc"); ?>
+
+<?php if ($g['platform'] != "nanobsd") : ?>
<script type="text/javascript">
function enable_sid_conf() {
@@ -603,5 +605,7 @@ function enable_sid_conf() {
enable_sid_conf();
</script>
+<?php endif; ?>
+
</body>
</html>