Project

General

Profile

« Previous | Next » 

Revision 253fa019

Added by k-paulius over 9 years ago

Show interface name in the breadcrumb on DHCPv6 Server page

View differences:

src/usr/local/www/services_dhcpv6.php
436 436
	}
437 437
}
438 438

  
439
$pgtitle = array(gettext("Services"), gettext("DHCPv6 Server"));
439
$pgtitle = array(gettext("Services"), gettext("DHCPv6 Server/RA"));
440

  
441
if (!empty($if) && !$dhcrelay_enabled && isset($iflist[$if])) {
442
	$pgtitle[] = $iflist[$if];
443
}
444
$pgtitle[] = gettext("DHCPv6 Server");
440 445
$shortcut_section = "dhcp6";
441 446

  
442 447
include("head.inc");
src/usr/local/www/services_dhcpv6_edit.php
214 214
	}
215 215
}
216 216

  
217
$pgtitle = array(gettext("Services"), gettext("DHCPv6 Server"), gettext("Edit Static Mapping"));
217
$iflist = get_configured_interface_with_descr();
218
$ifname = '';
219

  
220
if (!empty($if) && isset($iflist[$if])) {
221
	$ifname = $iflist[$if];
222
}
223
$pgtitle = array(gettext("Services"), gettext("DHCPv6 Server/RA"), $ifname, gettext("DHCPv6 Server"), gettext("Edit Static Mapping"));
218 224
$shortcut_section = "dhcp6";
219 225

  
220 226
include("head.inc");
src/usr/local/www/services_router_advertisements.php
234 234
	}
235 235
}
236 236

  
237
$pgtitle = array(gettext("Services"), gettext("Router Advertisements"));
237
$pgtitle = array(gettext("Services"), gettext("DHCPv6 Server/RA"));
238

  
239
if (!empty($if) && isset($iflist[$if])) {
240
	$pgtitle[] = $iflist[$if];
241
}
242
$pgtitle[] = gettext("Router Advertisements");
238 243

  
239 244
include("head.inc");
240 245

  

Also available in: Unified diff