diff options
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> |