diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/services_dhcpv6.php | 7 | ||||
-rw-r--r-- | src/usr/local/www/services_dhcpv6_edit.php | 8 | ||||
-rw-r--r-- | src/usr/local/www/services_router_advertisements.php | 7 |
3 files changed, 19 insertions, 3 deletions
diff --git a/src/usr/local/www/services_dhcpv6.php b/src/usr/local/www/services_dhcpv6.php index 905a407..8d2ed03 100644 --- a/src/usr/local/www/services_dhcpv6.php +++ b/src/usr/local/www/services_dhcpv6.php @@ -436,7 +436,12 @@ if ($_GET['act'] == "del") { } } -$pgtitle = array(gettext("Services"), gettext("DHCPv6 Server")); +$pgtitle = array(gettext("Services"), gettext("DHCPv6 Server/RA")); + +if (!empty($if) && !$dhcrelay_enabled && isset($iflist[$if])) { + $pgtitle[] = $iflist[$if]; +} +$pgtitle[] = gettext("DHCPv6 Server"); $shortcut_section = "dhcp6"; include("head.inc"); 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"); diff --git a/src/usr/local/www/services_router_advertisements.php b/src/usr/local/www/services_router_advertisements.php index c7a221b..e095cd2 100644 --- a/src/usr/local/www/services_router_advertisements.php +++ b/src/usr/local/www/services_router_advertisements.php @@ -234,7 +234,12 @@ if ($_POST) { } } -$pgtitle = array(gettext("Services"), gettext("Router Advertisements")); +$pgtitle = array(gettext("Services"), gettext("DHCPv6 Server/RA")); + +if (!empty($if) && isset($iflist[$if])) { + $pgtitle[] = $iflist[$if]; +} +$pgtitle[] = gettext("Router Advertisements"); include("head.inc"); |