diff options
author | k-paulius <k.dash.paulius@gmail.com> | 2016-02-12 22:00:01 -0600 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-02-13 16:38:00 -0500 |
commit | d85a1b530ae9658856bca1524c3ee9a2535f2987 (patch) | |
tree | 838e09e1e8a4724fb9a1a552fd24162478242f7c /src/usr/local/www/services_captiveportal_hostname_edit.php | |
parent | c0bf6737e17a86ff7984e179a0da3df696d9c03f (diff) | |
download | pfsense-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_hostname_edit.php')
-rw-r--r-- | src/usr/local/www/services_captiveportal_hostname_edit.php | 6 |
1 files changed, 3 insertions, 3 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']; } |