summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-08-14 14:35:49 -0400
committerjim-p <jimp@pfsense.org>2012-08-14 14:35:49 -0400
commitd71fc5d312cc2bc6728410aa634f334332216166 (patch)
treec831a96965f4c688f421559956a4731f6e7b7733 /usr
parente3ffa8d43a8bd9b928a8a3552e357405035a7a5e (diff)
downloadpfsense-d71fc5d312cc2bc6728410aa634f334332216166.zip
pfsense-d71fc5d312cc2bc6728410aa634f334332216166.tar.gz
More shortcuts
Diffstat (limited to 'usr')
-rw-r--r--usr/local/pkg/routed.inc2
-rwxr-xr-xusr/local/www/diag_authentication.php1
-rw-r--r--usr/local/www/diag_limiter_info.php1
-rw-r--r--usr/local/www/diag_tables.php1
-rwxr-xr-xusr/local/www/firewall_aliases.php2
-rw-r--r--usr/local/www/firewall_shaper_vinterface.php2
-rwxr-xr-xusr/local/www/services_snmp.php1
-rw-r--r--usr/local/www/shortcuts.inc16
-rw-r--r--usr/local/www/shortcuts/pkg_routed.inc9
-rw-r--r--usr/local/www/shortcuts/pkg_upnp.inc (renamed from usr/local/www/shortcuts/upnp.inc)0
-rwxr-xr-xusr/local/www/status_queues.php1
-rw-r--r--usr/local/www/system_authservers.php1
12 files changed, 36 insertions, 1 deletions
diff --git a/usr/local/pkg/routed.inc b/usr/local/pkg/routed.inc
index cb349cd..15b3181 100644
--- a/usr/local/pkg/routed.inc
+++ b/usr/local/pkg/routed.inc
@@ -28,6 +28,8 @@
*/
+$shortcut_section = "routed";
+
function setup_routed() {
global $config;
$gw = "";
diff --git a/usr/local/www/diag_authentication.php b/usr/local/www/diag_authentication.php
index a8f897c..26c2dca 100755
--- a/usr/local/www/diag_authentication.php
+++ b/usr/local/www/diag_authentication.php
@@ -67,6 +67,7 @@ if ($_POST) {
}
}
$pgtitle = array(gettext("Diagnostics"),gettext("Authentication"));
+$shortcut_section = "authentication";
include("head.inc");
?>
diff --git a/usr/local/www/diag_limiter_info.php b/usr/local/www/diag_limiter_info.php
index b56a641..3d8c338 100644
--- a/usr/local/www/diag_limiter_info.php
+++ b/usr/local/www/diag_limiter_info.php
@@ -44,6 +44,7 @@ require("guiconfig.inc");
$pfSversion = str_replace("\n", "", file_get_contents("/etc/version"));
$pgtitle = gettext("Diagnostics: Limiter Info");
+$shortcut_section = "trafficshaper-limiters";
if($_REQUEST['getactivity']) {
$text = `/sbin/ipfw pipe show`;
diff --git a/usr/local/www/diag_tables.php b/usr/local/www/diag_tables.php
index 296084a..0bd5ddf 100644
--- a/usr/local/www/diag_tables.php
+++ b/usr/local/www/diag_tables.php
@@ -42,6 +42,7 @@
##|-PRIV
$pgtitle = array(gettext("Diagnostics"), gettext("Tables"));
+$shortcut_section = "aliases";
require_once("guiconfig.inc");
diff --git a/usr/local/www/firewall_aliases.php b/usr/local/www/firewall_aliases.php
index 4d46c1f..5d13ec2 100755
--- a/usr/local/www/firewall_aliases.php
+++ b/usr/local/www/firewall_aliases.php
@@ -152,6 +152,8 @@ function find_alias_reference($section, $field, $origname, &$is_alias_referenced
}
$pgtitle = array(gettext("Firewall"),gettext("Aliases"));
+$shortcut_section = "aliases";
+
include("head.inc");
?>
diff --git a/usr/local/www/firewall_shaper_vinterface.php b/usr/local/www/firewall_shaper_vinterface.php
index 245b5ba..a722979 100644
--- a/usr/local/www/firewall_shaper_vinterface.php
+++ b/usr/local/www/firewall_shaper_vinterface.php
@@ -52,7 +52,7 @@ if($_GET['reset'] <> "") {
}
$pgtitle = array(gettext("Firewall"),gettext("Traffic Shaper"), gettext("Limiter"));
-$shortcut_section = "trafficshaper";
+$shortcut_section = "trafficshaper-limiters";
read_dummynet_config();
/*
diff --git a/usr/local/www/services_snmp.php b/usr/local/www/services_snmp.php
index 8f39f66..6a7c208 100755
--- a/usr/local/www/services_snmp.php
+++ b/usr/local/www/services_snmp.php
@@ -157,6 +157,7 @@ if ($_POST) {
}
$pgtitle = array(gettext("Services"),gettext("SNMP"));
+$shortcut_section = "snmp";
include("head.inc");
?>
diff --git a/usr/local/www/shortcuts.inc b/usr/local/www/shortcuts.inc
index 0eb4bfd..112ac44 100644
--- a/usr/local/www/shortcuts.inc
+++ b/usr/local/www/shortcuts.inc
@@ -148,6 +148,10 @@ $shortcuts['trafficshaper'] = array();
$shortcuts['trafficshaper']['main'] = "firewall_shaper.php";
$shortcuts['trafficshaper']['status'] = "status_queues.php";
+$shortcuts['trafficshaper-limiters'] = array();
+$shortcuts['trafficshaper-limiters']['main'] = "firewall_shaper_vinterface.php";
+$shortcuts['trafficshaper-limiters']['status'] = "diag_limiter_info.php";
+
$shortcuts['resolver'] = array();
$shortcuts['resolver']['main'] = "services_dnsmasq.php";
$shortcuts['resolver']['log'] = "diag_logs_resolver.php";
@@ -179,4 +183,16 @@ $shortcuts['l2tps']['log'] = "diag_logs_vpn.php?vpntype=l2tp";
$shortcuts['carp'] = array();
$shortcuts['carp']['main'] = "system_hasync.php";
$shortcuts['carp']['status'] = "carp_status.php";
+
+$shortcuts['snmp'] = array();
+$shortcuts['snmp']['main'] = "services_snmp.php";
+$shortcuts['snmp']['service'] = "bsnmpd";
+
+$shortcuts['authentication'] = array();
+$shortcuts['authentication']['main'] = "system_authservers.php";
+$shortcuts['authentication']['status'] = "diag_authentication.php";
+
+$shortcuts['aliases'] = array();
+$shortcuts['aliases']['main'] = "firewall_aliases.php";
+$shortcuts['aliases']['status'] = "diag_tables.php";
?> \ No newline at end of file
diff --git a/usr/local/www/shortcuts/pkg_routed.inc b/usr/local/www/shortcuts/pkg_routed.inc
new file mode 100644
index 0000000..3449c60
--- /dev/null
+++ b/usr/local/www/shortcuts/pkg_routed.inc
@@ -0,0 +1,9 @@
+<?php
+
+global $shortcuts;
+
+$shortcuts['routed'] = array();
+$shortcuts['routed']['main'] = "pkg_edit.php?xml=routed.xml&id=0";
+$shortcuts['routed']['service'] = "routed";
+
+?> \ No newline at end of file
diff --git a/usr/local/www/shortcuts/upnp.inc b/usr/local/www/shortcuts/pkg_upnp.inc
index e0f7d2a..e0f7d2a 100644
--- a/usr/local/www/shortcuts/upnp.inc
+++ b/usr/local/www/shortcuts/pkg_upnp.inc
diff --git a/usr/local/www/status_queues.php b/usr/local/www/status_queues.php
index 0772ce0..21908ef 100755
--- a/usr/local/www/status_queues.php
+++ b/usr/local/www/status_queues.php
@@ -99,6 +99,7 @@ if ($_REQUEST['getactivity']) {
}
$pgtitle = array(gettext("Status"),gettext("Traffic shaper"),gettext("Queues"));
+$shortcut_section = "trafficshaper";
include("head.inc");
?>
diff --git a/usr/local/www/system_authservers.php b/usr/local/www/system_authservers.php
index 644cdbc..158e615 100644
--- a/usr/local/www/system_authservers.php
+++ b/usr/local/www/system_authservers.php
@@ -42,6 +42,7 @@ require("guiconfig.inc");
require_once("auth.inc");
$pgtitle = array(gettext("System"), gettext("Authentication Servers"));
+$shortcut_section = "authentication";
$id = $_GET['id'];
if (isset($_POST['id']))
OpenPOWER on IntegriCloud