diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2013-10-15 20:14:07 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2013-10-15 20:14:07 -0400 |
commit | 84924b3d14c6d8fe20617557ffdb5c6e23ded160 (patch) | |
tree | 137e3c01b579f8ddf3e551f2c04a31f354b8f892 /config | |
parent | 84e28ab21a7983167b1cd6bc3622c01a35fdcdbc (diff) | |
download | pfsense-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.php | 3 | ||||
-rw-r--r-- | config/widget-snort/widget-snort.inc | 5 |
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; |