diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-08-10 16:19:32 -0600 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-08-10 16:19:32 -0600 |
commit | 7d0a71d44ecfb8ddb1573a0eb2b9bc4917d92fee (patch) | |
tree | 934cf6f97ca22a9e1749220369fc49e8abfc723d | |
parent | 4e76e03036a54bf57cd6b1fa35062f5acd492ce9 (diff) | |
download | pfsense-7d0a71d44ecfb8ddb1573a0eb2b9bc4917d92fee.zip pfsense-7d0a71d44ecfb8ddb1573a0eb2b9bc4917d92fee.tar.gz |
Separate RRD graph settings to a separate entry.
-rw-r--r-- | etc/inc/priv.defs.inc | 9 | ||||
-rwxr-xr-x | usr/local/www/status_rrd_graph_settings.php | 6 |
2 files changed, 10 insertions, 5 deletions
diff --git a/etc/inc/priv.defs.inc b/etc/inc/priv.defs.inc index 3f95417..d991316 100644 --- a/etc/inc/priv.defs.inc +++ b/etc/inc/priv.defs.inc @@ -766,9 +766,14 @@ $priv_list['page-status-rrdgraphs'] = array(); $priv_list['page-status-rrdgraphs']['name'] = "WebCfg - Status: RRD Graphs page"; $priv_list['page-status-rrdgraphs']['descr'] = "Allow access to the 'Status: RRD Graphs' page."; $priv_list['page-status-rrdgraphs']['match'] = array(); -$priv_list['page-status-rrdgraphs']['match'][] = "status_rrd_graph_settings.php*"; -$priv_list['page-status-rrdgraphs']['match'][] = "status_rrd_graph_img.php*"; $priv_list['page-status-rrdgraphs']['match'][] = "status_rrd_graph.php*"; +$priv_list['page-status-rrdgraphs']['match'][] = "status_rrd_graph_img.php*"; + +$priv_list['page-status-rrdgraph-settings'] = array(); +$priv_list['page-status-rrdgraph-settings']['name'] = "WebCfg - Status: RRD Graphs settings page"; +$priv_list['page-status-rrdgraph-settings']['descr'] = "Allow access to the 'Status: RRD Graphs: settings' page."; +$priv_list['page-status-rrdgraph-settings']['match'] = array(); +$priv_list['page-status-rrdgraph-settings']['match'][] = "status_rrd_graph_settings.php*"; $priv_list['page-status-services'] = array(); $priv_list['page-status-services']['name'] = "WebCfg - Status: Services page"; diff --git a/usr/local/www/status_rrd_graph_settings.php b/usr/local/www/status_rrd_graph_settings.php index 8d17a05..3f2e793 100755 --- a/usr/local/www/status_rrd_graph_settings.php +++ b/usr/local/www/status_rrd_graph_settings.php @@ -33,9 +33,9 @@ */ ##|+PRIV -##|*IDENT=page-status-rrdgraphs -##|*NAME=Status: RRD Graphs page -##|*DESCR=Allow access to the 'Status: RRD Graphs' page. +##|*IDENT=page-status-rrdgraph-settings +##|*NAME=Status: RRD Graphs settings page +##|*DESCR=Allow access to the 'Status: RRD Graphs: settings' page. ##|*MATCH=status_rrd_graph_settings.php* ##|-PRIV |