diff options
author | k-paulius <k.dash.paulius@gmail.com> | 2016-02-13 23:53:38 -0600 |
---|---|---|
committer | k-paulius <k.dash.paulius@gmail.com> | 2016-02-13 23:53:38 -0600 |
commit | 253fa0197f82883766c971cd09b83d87dc3bb008 (patch) | |
tree | ca05b057c5460060271713347025055235654652 /src/usr/local/www/services_dhcpv6_edit.php | |
parent | fa94122bdfbaa4c58d879d87ecb64a0d1b3e5730 (diff) | |
download | pfsense-253fa0197f82883766c971cd09b83d87dc3bb008.zip pfsense-253fa0197f82883766c971cd09b83d87dc3bb008.tar.gz |
Show interface name in the breadcrumb on DHCPv6 Server page
Diffstat (limited to 'src/usr/local/www/services_dhcpv6_edit.php')
-rw-r--r-- | src/usr/local/www/services_dhcpv6_edit.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/usr/local/www/services_dhcpv6_edit.php b/src/usr/local/www/services_dhcpv6_edit.php index 0c27b1e..81698b9 100644 --- a/src/usr/local/www/services_dhcpv6_edit.php +++ b/src/usr/local/www/services_dhcpv6_edit.php @@ -214,7 +214,13 @@ if ($_POST) { } } -$pgtitle = array(gettext("Services"), gettext("DHCPv6 Server"), gettext("Edit Static Mapping")); +$iflist = get_configured_interface_with_descr(); +$ifname = ''; + +if (!empty($if) && isset($iflist[$if])) { + $ifname = $iflist[$if]; +} +$pgtitle = array(gettext("Services"), gettext("DHCPv6 Server/RA"), $ifname, gettext("DHCPv6 Server"), gettext("Edit Static Mapping")); $shortcut_section = "dhcp6"; include("head.inc"); |