summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www
diff options
context:
space:
mode:
authork-paulius <k.dash.paulius@gmail.com>2016-02-12 22:00:01 -0600
committerStephen Beaver <sbeaver@netgate.com>2016-02-13 16:38:00 -0500
commitd85a1b530ae9658856bca1524c3ee9a2535f2987 (patch)
tree838e09e1e8a4724fb9a1a552fd24162478242f7c /src/usr/local/www
parentc0bf6737e17a86ff7984e179a0da3df696d9c03f (diff)
downloadpfsense-d85a1b530ae9658856bca1524c3ee9a2535f2987.zip
pfsense-d85a1b530ae9658856bca1524c3ee9a2535f2987.tar.gz
Show zone name in the breadcrumb of MAC, IP, hostname and voucher edit pages.
Diffstat (limited to 'src/usr/local/www')
-rw-r--r--src/usr/local/www/services_captiveportal_hostname_edit.php6
-rw-r--r--src/usr/local/www/services_captiveportal_ip_edit.php6
-rw-r--r--src/usr/local/www/services_captiveportal_mac_edit.php6
-rw-r--r--src/usr/local/www/services_captiveportal_vouchers_edit.php6
4 files changed, 12 insertions, 12 deletions
diff --git a/src/usr/local/www/services_captiveportal_hostname_edit.php b/src/usr/local/www/services_captiveportal_hostname_edit.php
index 71fef4f..fb7b9f4 100644
--- a/src/usr/local/www/services_captiveportal_hostname_edit.php
+++ b/src/usr/local/www/services_captiveportal_hostname_edit.php
@@ -77,9 +77,6 @@ require("captiveportal.inc");
global $cpzone, $cpzoneid;
-$pgtitle = array(gettext("Services"), gettext("Captive Portal"), gettext("Edit allowed Hostname"));
-$shortcut_section = "captiveportal";
-
$cpzone = $_GET['zone'];
if (isset($_POST['zone'])) {
$cpzone = $_POST['zone'];
@@ -96,6 +93,9 @@ if (!is_array($config['captiveportal'])) {
}
$a_cp =& $config['captiveportal'];
+$pgtitle = array(gettext("Services"), gettext("Captive Portal"), sprintf(gettext("Zone: %s"), $a_cp[$cpzone]['zone']), gettext("Allowed Hostnames"), gettext("Edit"));
+$shortcut_section = "captiveportal";
+
if (is_numericint($_GET['id'])) {
$id = $_GET['id'];
}
diff --git a/src/usr/local/www/services_captiveportal_ip_edit.php b/src/usr/local/www/services_captiveportal_ip_edit.php
index 5daffa4..cac3369 100644
--- a/src/usr/local/www/services_captiveportal_ip_edit.php
+++ b/src/usr/local/www/services_captiveportal_ip_edit.php
@@ -80,9 +80,6 @@ require_once("filter.inc");
require("shaper.inc");
require("captiveportal.inc");
-$pgtitle = array(gettext("Services"), gettext("Captive Portal"), gettext("Edit allowed IP address"));
-$shortcut_section = "captiveportal";
-
$cpzone = $_GET['zone'];
if (isset($_POST['zone'])) {
$cpzone = $_POST['zone'];
@@ -98,6 +95,9 @@ if (!is_array($config['captiveportal'])) {
}
$a_cp =& $config['captiveportal'];
+$pgtitle = array(gettext("Services"), gettext("Captive Portal"), sprintf(gettext("Zone: %s"), $a_cp[$cpzone]['zone']), gettext("Allowed IP Addresses"), gettext("Edit"));
+$shortcut_section = "captiveportal";
+
if (is_numericint($_GET['id'])) {
$id = $_GET['id'];
}
diff --git a/src/usr/local/www/services_captiveportal_mac_edit.php b/src/usr/local/www/services_captiveportal_mac_edit.php
index 22bb4c5..1d8e4fe 100644
--- a/src/usr/local/www/services_captiveportal_mac_edit.php
+++ b/src/usr/local/www/services_captiveportal_mac_edit.php
@@ -83,9 +83,6 @@ require("captiveportal.inc");
global $cpzone;
global $cpzoneid;
-$pgtitle = array(gettext("Services"), gettext("Captive Portal"), gettext("Edit MAC address rules"));
-$shortcut_section = "captiveportal";
-
$cpzone = $_GET['zone'];
if (isset($_POST['zone'])) {
$cpzone = $_POST['zone'];
@@ -101,6 +98,9 @@ if (!is_array($config['captiveportal'])) {
}
$a_cp =& $config['captiveportal'];
+$pgtitle = array(gettext("Services"), gettext("Captive Portal"), sprintf(gettext("Zone: %s"), $a_cp[$cpzone]['zone']), gettext("MAC"), gettext("Edit"));
+$shortcut_section = "captiveportal";
+
if (is_numericint($_GET['id'])) {
$id = $_GET['id'];
}
diff --git a/src/usr/local/www/services_captiveportal_vouchers_edit.php b/src/usr/local/www/services_captiveportal_vouchers_edit.php
index 2290806..5bb8231 100644
--- a/src/usr/local/www/services_captiveportal_vouchers_edit.php
+++ b/src/usr/local/www/services_captiveportal_vouchers_edit.php
@@ -68,9 +68,6 @@ require("shaper.inc");
require("captiveportal.inc");
require_once("voucher.inc");
-$pgtitle = array(gettext("Services"), gettext("Captive Portal"), gettext("Edit Voucher Rolls"));
-$shortcut_section = "captiveportal-vouchers";
-
$cpzone = $_GET['zone'];
if (isset($_POST['zone'])) {
$cpzone = $_POST['zone'];
@@ -86,6 +83,9 @@ if (!is_array($config['captiveportal'])) {
}
$a_cp =& $config['captiveportal'];
+$pgtitle = array(gettext("Services"), gettext("Captive Portal"), sprintf(gettext("Zone: %s"), $a_cp[$cpzone]['zone']), gettext("Vouchers"), gettext("Edit"));
+$shortcut_section = "captiveportal-vouchers";
+
if (!is_array($config['voucher'])) {
$config['voucher'] = array();
}
OpenPOWER on IntegriCloud