aboutsummaryrefslogtreecommitdiffstats
path: root/config/mailreport
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-01-07 20:22:00 -0500
committerbmeeks8 <bmeeks8@bellsouth.net>2014-01-07 20:22:00 -0500
commita8b5c4c392069ab4c06c19d53d4dccf8c423a9ef (patch)
tree7fdb7130a804f0191c22bababa62c44e2b88fb50 /config/mailreport
parent7234111aaac38d620a4e5356d212fa51e2591d8b (diff)
parentb1962cf93379b0f9f3dfbfa69cd67f19af7c1539 (diff)
downloadpfsense-packages-a8b5c4c392069ab4c06c19d53d4dccf8c423a9ef.tar.gz
pfsense-packages-a8b5c4c392069ab4c06c19d53d4dccf8c423a9ef.tar.bz2
pfsense-packages-a8b5c4c392069ab4c06c19d53d4dccf8c423a9ef.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'config/mailreport')
-rw-r--r--config/mailreport/status_mail_report.php17
-rw-r--r--config/mailreport/status_mail_report_add_cmd.php12
-rw-r--r--config/mailreport/status_mail_report_add_graph.php12
-rw-r--r--config/mailreport/status_mail_report_add_log.php12
-rw-r--r--config/mailreport/status_mail_report_edit.php18
5 files changed, 30 insertions, 41 deletions
diff --git a/config/mailreport/status_mail_report.php b/config/mailreport/status_mail_report.php
index b1705fac..e08a7272 100644
--- a/config/mailreport/status_mail_report.php
+++ b/config/mailreport/status_mail_report.php
@@ -1,9 +1,9 @@
<?php
/* $Id$ */
/*
- status_rrd_graph.php
+ status_mail_report.php
Part of pfSense
- Copyright (C) 2011 Jim Pingle <jimp@pfsense.org>
+ Copyright (C) 2011-2014 Jim Pingle <jimp@pfsense.org>
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -32,20 +32,15 @@
*/
##|+PRIV
-##|*IDENT=page-status-rrdgraphs
-##|*NAME=Status: RRD Graphs page
-##|*DESCR=Allow access to the 'Status: RRD Graphs' page.
-##|*MATCH=status_rrd_graph.php*
+##|*IDENT=page-status-mailreports
+##|*NAME=Status: E-Mail Reports page
+##|*DESCR=Allow access to the 'Status: E-Mail Reports' page.
+##|*MATCH=status_mail_report.php*
##|-PRIV
require("guiconfig.inc");
require_once("mail_reports.inc");
-/* if the rrd graphs are not enabled redirect to settings page */
-if(! isset($config['rrd']['enable'])) {
- header("Location: status_rrd_graph_settings.php");
-}
-
if (!is_array($config['mailreports']['schedule']))
$config['mailreports']['schedule'] = array();
diff --git a/config/mailreport/status_mail_report_add_cmd.php b/config/mailreport/status_mail_report_add_cmd.php
index 7693f7a4..b4527584 100644
--- a/config/mailreport/status_mail_report_add_cmd.php
+++ b/config/mailreport/status_mail_report_add_cmd.php
@@ -1,9 +1,9 @@
<?php
/* $Id$ */
/*
- status_rrd_graph.php
+ status_mail_report_add_cmd.php
Part of pfSense
- Copyright (C) 2011 Jim Pingle <jimp@pfsense.org>
+ Copyright (C) 2011-2014 Jim Pingle <jimp@pfsense.org>
Portions Copyright (C) 2007-2011 Seth Mos <seth.mos@dds.nl>
All rights reserved.
@@ -33,10 +33,10 @@
*/
##|+PRIV
-##|*IDENT=page-status-rrdgraphs
-##|*NAME=Status: RRD Graphs page
-##|*DESCR=Allow access to the 'Status: RRD Graphs' page.
-##|*MATCH=status_rrd_graph.php*
+##|*IDENT=page-status-mailreportsaddcmd
+##|*NAME=Status: E-Mail Reports: Add Command page
+##|*DESCR=Allow access to the 'Status: E-Mail Reports: Add Command' page.
+##|*MATCH=status_mail_report_add_cmd.php*
##|-PRIV
require("guiconfig.inc");
diff --git a/config/mailreport/status_mail_report_add_graph.php b/config/mailreport/status_mail_report_add_graph.php
index 165124f3..663d8f9b 100644
--- a/config/mailreport/status_mail_report_add_graph.php
+++ b/config/mailreport/status_mail_report_add_graph.php
@@ -1,9 +1,9 @@
<?php
/* $Id$ */
/*
- status_rrd_graph.php
+ status_mail_report_add_graph.php
Part of pfSense
- Copyright (C) 2011 Jim Pingle <jimp@pfsense.org>
+ Copyright (C) 2011-2014 Jim Pingle <jimp@pfsense.org>
Portions Copyright (C) 2007-2011 Seth Mos <seth.mos@dds.nl>
All rights reserved.
@@ -33,10 +33,10 @@
*/
##|+PRIV
-##|*IDENT=page-status-rrdgraphs
-##|*NAME=Status: RRD Graphs page
-##|*DESCR=Allow access to the 'Status: RRD Graphs' page.
-##|*MATCH=status_rrd_graph.php*
+##|*IDENT=page-status-mailreportsaddgraph
+##|*NAME=Status: E-Mail Reports: Add Graph page
+##|*DESCR=Allow access to the 'Status: E-Mail Reports: Add Graph' page.
+##|*MATCH=status_mail_report_add_graph.php*
##|-PRIV
require("guiconfig.inc");
diff --git a/config/mailreport/status_mail_report_add_log.php b/config/mailreport/status_mail_report_add_log.php
index 75d092b5..0b140723 100644
--- a/config/mailreport/status_mail_report_add_log.php
+++ b/config/mailreport/status_mail_report_add_log.php
@@ -1,9 +1,9 @@
<?php
/* $Id$ */
/*
- status_rrd_graph.php
+ status_mail_report_add_log.php
Part of pfSense
- Copyright (C) 2011 Jim Pingle <jimp@pfsense.org>
+ Copyright (C) 2011-2014 Jim Pingle <jimp@pfsense.org>
Portions Copyright (C) 2007-2011 Seth Mos <seth.mos@dds.nl>
All rights reserved.
@@ -33,10 +33,10 @@
*/
##|+PRIV
-##|*IDENT=page-status-rrdgraphs
-##|*NAME=Status: RRD Graphs page
-##|*DESCR=Allow access to the 'Status: RRD Graphs' page.
-##|*MATCH=status_rrd_graph.php*
+##|*IDENT=page-status-mailreportsaddlog
+##|*NAME=Status: E-Mail Reports: Add Log page
+##|*DESCR=Allow access to the 'Status: E-Mail Reports: Add Log' page.
+##|*MATCH=status_mail_report_add_log.php*
##|-PRIV
require("guiconfig.inc");
diff --git a/config/mailreport/status_mail_report_edit.php b/config/mailreport/status_mail_report_edit.php
index dcfa6d98..9e6bb071 100644
--- a/config/mailreport/status_mail_report_edit.php
+++ b/config/mailreport/status_mail_report_edit.php
@@ -1,9 +1,9 @@
<?php
/* $Id$ */
/*
- status_rrd_graph.php
+ status_mail_report_edit.php
Part of pfSense
- Copyright (C) 2011 Jim Pingle <jimp@pfsense.org>
+ Copyright (C) 2011-2014 Jim Pingle <jimp@pfsense.org>
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -32,21 +32,15 @@
*/
##|+PRIV
-##|*IDENT=page-status-rrdgraphs
-##|*NAME=Status: RRD Graphs page
-##|*DESCR=Allow access to the 'Status: RRD Graphs' page.
-##|*MATCH=status_rrd_graph.php*
+##|*IDENT=page-status-mailreportsedit
+##|*NAME=Status: E-Mail Reports: Edit Report page
+##|*DESCR=Allow access to the 'Status: E-Mail Reports: Edit Report' page.
+##|*MATCH=status_mail_report_edit.php*
##|-PRIV
require("guiconfig.inc");
require_once("mail_reports.inc");
-/* if the rrd graphs are not enabled redirect to settings page */
-if(! isset($config['rrd']['enable'])) {
- header("Location: status_rrd_graph_settings.php");
- return;
-}
-
$cmdid = $_REQUEST['cmdid'];
$logid = $_REQUEST['logid'];
$graphid = $_REQUEST['graphid'];