diff options
author | jim-p <jim@pingle.org> | 2009-10-14 17:10:40 -0400 |
---|---|---|
committer | jim-p <jim@pingle.org> | 2009-10-14 17:11:35 -0400 |
commit | 196610ae4ce93843d877993c6f1a400c7670df1e (patch) | |
tree | 945bf5c141930b56844b018a1d543e137e7ed8ee /config/widget-havp/havp_alerts_helper.php | |
parent | a0275915f127d728e5088920bd8da9a944a7d6b4 (diff) | |
download | pfsense-packages-196610ae4ce93843d877993c6f1a400c7670df1e.tar.gz pfsense-packages-196610ae4ce93843d877993c6f1a400c7670df1e.tar.bz2 pfsense-packages-196610ae4ce93843d877993c6f1a400c7670df1e.zip |
Add separate packages for snort and havp dashboard widgets.
Diffstat (limited to 'config/widget-havp/havp_alerts_helper.php')
-rw-r--r-- | config/widget-havp/havp_alerts_helper.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config/widget-havp/havp_alerts_helper.php b/config/widget-havp/havp_alerts_helper.php new file mode 100644 index 00000000..332394b2 --- /dev/null +++ b/config/widget-havp/havp_alerts_helper.php @@ -0,0 +1,13 @@ +<?php +require("guiconfig.inc"); + +require_once("includes/havp_alerts.inc.php"); + +$havp_alerts_logfile = "{$g['varlog_path']}/havp/access.log"; +$nentries = 5; +handle_havp_ajax($havp_alerts_logfile, $nentries); + +?> +<script src="/javascript/scriptaculous/prototype.js" type="text/javascript"></script> +<script src="/javascript/scriptaculous/scriptaculous.js" type="text/javascript"></script> +<script src="/widgets/javascript/havp_alerts.js" type="text/javascript"></script> |