aboutsummaryrefslogtreecommitdiffstats
path: root/config/widget-havp/havp_alerts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/widget-havp/havp_alerts.inc')
-rw-r--r--config/widget-havp/havp_alerts.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/config/widget-havp/havp_alerts.inc b/config/widget-havp/havp_alerts.inc
new file mode 100644
index 00000000..ecbfe897
--- /dev/null
+++ b/config/widget-havp/havp_alerts.inc
@@ -0,0 +1,15 @@
+<?php
+
+require_once("includes/havp_alerts.inc.php");
+
+$havp_alerts_title = "HAVP Alerts";
+$havp_alerts_title_link = "havp_alerts.php";
+
+$havp_alerts_logfile = "{$g['varlog_path']}/havp/access.log";
+$nentries = 5;
+$havp_alerts = get_havp_alerts($havp_alerts_logfile, $nentries);
+
+/* AJAX related routines */
+handle_havp_ajax($havp_alerts_logfile, $nentries = 5);
+
+?> \ No newline at end of file