Revision 0a8a90f7
Added by Phil Davis over 9 years ago
src/usr/local/www/services_dhcpv6.php | ||
---|---|---|
195 | 195 |
do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors); |
196 | 196 |
|
197 | 197 |
if (($_POST['prefixrange_from'] && !is_ipaddrv6($_POST['prefixrange_from']))) { |
198 |
$input_errors[] = gettext("A valid range must be specified."); |
|
198 |
$input_errors[] = gettext("A valid prefix range must be specified.");
|
|
199 | 199 |
} |
200 | 200 |
if (($_POST['prefixrange_to'] && !is_ipaddrv6($_POST['prefixrange_to']))) { |
201 | 201 |
$input_errors[] = gettext("A valid prefix range must be specified."); |
... | ... | |
878 | 878 |
?> |
879 | 879 |
<div class="infoblock blockopen"> |
880 | 880 |
<?php |
881 |
print_info_box(gettext('The DNS servers entered in ') . '<a href="system.php">' . gettext(' System: General setup') . '</a>' . |
|
882 |
gettext(' (or the ') . '<a href="services_dnsmasq.php"/>' . gettext('DNS forwarder') . '</a>, ' . gettext('if enabled) ') . |
|
883 |
gettext('will be assigned to clients by the DHCP server.') . '<br />' . |
|
884 |
gettext('The DHCP lease table can be viewed on the ') . '<a href="status_dhcpv6_leases.php">' . |
|
885 |
gettext('Status: DHCPv6 leases') . '</a>' . gettext(' page.'), |
|
886 |
'info', |
|
887 |
false); |
|
881 |
print_info_box( |
|
882 |
sprintf( |
|
883 |
gettext('The DNS servers entered in %1$sSystem: General setup%3$s (or the %2$sDNS forwarder%3$s if enabled) will be assigned to clients by the DHCP server.'), |
|
884 |
'<a href="system.php">', |
|
885 |
'<a href="services_dnsmasq.php"/>', |
|
886 |
'</a>') . |
|
887 |
'<br />' . |
|
888 |
sprintf( |
|
889 |
gettext('The DHCP lease table can be viewed on the %1$sStatus: DHCPv6 leases%2$s page.'), |
|
890 |
'<a href="status_dhcpv6_leases.php">', |
|
891 |
'</a>'), |
|
892 |
'info', |
|
893 |
false); |
|
888 | 894 |
?> |
889 | 895 |
</div> |
890 | 896 |
<div class="panel panel-default"> |
Also available in: Unified diff
Internationalize services_d*