summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_captiveportal_mac_edit.php
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/services_captiveportal_mac_edit.php
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/services_captiveportal_mac_edit.php')
-rw-r--r--src/usr/local/www/services_captiveportal_mac_edit.php6
1 files changed, 3 insertions, 3 deletions
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'];
}
OpenPOWER on IntegriCloud