aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2013-10-15 20:14:07 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2013-10-15 20:14:07 -0400
commit84924b3d14c6d8fe20617557ffdb5c6e23ded160 (patch)
tree137e3c01b579f8ddf3e551f2c04a31f354b8f892 /config
parent84e28ab21a7983167b1cd6bc3622c01a35fdcdbc (diff)
downloadpfsense-packages-84924b3d14c6d8fe20617557ffdb5c6e23ded160.tar.gz
pfsense-packages-84924b3d14c6d8fe20617557ffdb5c6e23ded160.tar.bz2
pfsense-packages-84924b3d14c6d8fe20617557ffdb5c6e23ded160.zip
Add custom title with link to Snort Alerts.
Diffstat (limited to 'config')
-rw-r--r--config/widget-snort/snort_alerts.widget.php3
-rw-r--r--config/widget-snort/widget-snort.inc5
2 files changed, 8 insertions, 0 deletions
diff --git a/config/widget-snort/snort_alerts.widget.php b/config/widget-snort/snort_alerts.widget.php
index e488bc49..f4eaa140 100644
--- a/config/widget-snort/snort_alerts.widget.php
+++ b/config/widget-snort/snort_alerts.widget.php
@@ -25,6 +25,9 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
+
+require_once("/usr/local/www/widgets/include/widget-snort.inc");
+
global $config, $g;
/* array sorting */
diff --git a/config/widget-snort/widget-snort.inc b/config/widget-snort/widget-snort.inc
index 105dd1e7..b9cfbeac 100644
--- a/config/widget-snort/widget-snort.inc
+++ b/config/widget-snort/widget-snort.inc
@@ -1,5 +1,10 @@
<?php
require_once("config.inc");
+
+//set variable for custom title
+$snort_alerts_title = "Snort Alerts";
+$snort_alerts_title_link = "snort/snort_alerts.php";
+
function widget_snort_uninstall() {
global $config;