Commit e0d863ed authored by Fabian Franz's avatar Fabian Franz

fixes in services_dhcpv6.php

parent 07b0b347
...@@ -547,8 +547,8 @@ include("head.inc"); ...@@ -547,8 +547,8 @@ include("head.inc");
</tbody> </tbody>
</table> </table>
<div class="hidden" for="help_for_prefixrange"> <div class="hidden" for="help_for_prefixrange">
<?= gettext("You can define a Prefix range here for DHCP Prefix Delegation. This allows for <?= gettext("You can define a Prefix range here for DHCP Prefix Delegation. This allows for assigning networks to subrouters. " .
assigning networks to subrouters. The start and end of the range must end on boundaries of the prefix delegation size."); ?> "The start and end of the range must end on boundaries of the prefix delegation size."); ?>
</div> </div>
</td> </td>
</tr> </tr>
...@@ -558,7 +558,7 @@ include("head.inc"); ...@@ -558,7 +558,7 @@ include("head.inc");
<input name="dns1" type="text" id="dns1" value="<?=$pconfig['dns1'];?>" /><br /> <input name="dns1" type="text" id="dns1" value="<?=$pconfig['dns1'];?>" /><br />
<input name="dns2" type="text" id="dns2" value="<?=$pconfig['dns2'];?>" /> <input name="dns2" type="text" id="dns2" value="<?=$pconfig['dns2'];?>" />
<div class="hidden" for="help_for_dns"> <div class="hidden" for="help_for_dns">
<?=gettext("NOTE: leave blank to use the system default DNS servers - this interface's IP if DNS forwarder is enabled, otherwise the servers configured on the General page.");?> <?=gettext("Leave blank to use the system default DNS servers - this interface's IP if DNS forwarder is enabled, otherwise the servers configured on the General page.");?>
</div> </div>
</td> </td>
</tr> </tr>
...@@ -585,7 +585,7 @@ include("head.inc"); ...@@ -585,7 +585,7 @@ include("head.inc");
<td> <td>
<input name="defaultleasetime" type="text" value="<?=$pconfig['defaultleasetime'];?>" /> <input name="defaultleasetime" type="text" value="<?=$pconfig['defaultleasetime'];?>" />
<div class="hidden" for="help_for_defaultleasetime"> <div class="hidden" for="help_for_defaultleasetime">
<?=gettext("This is used for clients that do not ask for a specific " ."expiration time."); ?><br /> <?=gettext("This is used for clients that do not ask for a specific expiration time."); ?><br />
<?=gettext("The default is 7200 seconds.");?> <?=gettext("The default is 7200 seconds.");?>
</div> </div>
</td> </td>
...@@ -595,7 +595,7 @@ include("head.inc"); ...@@ -595,7 +595,7 @@ include("head.inc");
<td> <td>
<input name="maxleasetime" type="text" id="maxleasetime" size="10" value="<?=$pconfig['maxleasetime'];?>" /> <input name="maxleasetime" type="text" id="maxleasetime" size="10" value="<?=$pconfig['maxleasetime'];?>" />
<div class="hidden" for="help_for_maxleasetime"> <div class="hidden" for="help_for_maxleasetime">
<?=gettext("This is the maximum lease time for clients that ask"." for a specific expiration time."); ?><br /> <?=gettext("This is the maximum lease time for clients that ask for a specific expiration time."); ?><br />
<?=gettext("The default is 86400 seconds.");?> <?=gettext("The default is 86400 seconds.");?>
</div> </div>
</td> </td>
...@@ -608,7 +608,7 @@ include("head.inc"); ...@@ -608,7 +608,7 @@ include("head.inc");
<?=gettext("Change DHCPv6 display lease time from UTC to local time."); ?> <?=gettext("Change DHCPv6 display lease time from UTC to local time."); ?>
</strong> </strong>
<div class="hidden" for="help_for_dhcpv6leaseinlocaltime"> <div class="hidden" for="help_for_dhcpv6leaseinlocaltime">
<strong><?=gettext("Note:");?></strong> <?=gettext("By default DHCPv6 leases are displayed in UTC time. By checking this box DHCPv6 lease time will be displayed in local time and set to time zone selected. This will be used for all DHCPv6 interfaces lease time."); ?> <?=gettext("By default DHCPv6 leases are displayed in UTC time. By checking this box DHCPv6 lease time will be displayed in local time and set to time zone selected. This will be used for all DHCPv6 interfaces lease time."); ?>
</div> </div>
</td> </td>
</tr> </tr>
...@@ -653,7 +653,7 @@ include("head.inc"); ...@@ -653,7 +653,7 @@ include("head.inc");
</div> </div>
<div id="showldap" style="display:none"> <div id="showldap" style="display:none">
<input name="ldap" type="text" value="<?=$pconfig['ldap'];?>" /> <input name="ldap" type="text" value="<?=$pconfig['ldap'];?>" />
<?=gettext("Leave blank to disable. Enter a full URI for the LDAP server in the form ldap://ldap.example.com/dc=example,dc=com");?> <?=gettext("Leave blank to disable. Enter a full URI for the LDAP server in the form ldap://ldap.example.com/dc=example,dc=com");?>
</div> </div>
</td> </td>
</tr> </tr>
...@@ -664,7 +664,7 @@ include("head.inc"); ...@@ -664,7 +664,7 @@ include("head.inc");
<input type="button" onclick="show_netboot_config()" value="<?=gettext("Advanced");?>" class="btn btn-xs btn-default"/> - <?=gettext("Show Network booting");?> <input type="button" onclick="show_netboot_config()" value="<?=gettext("Advanced");?>" class="btn btn-xs btn-default"/> - <?=gettext("Show Network booting");?>
</div> </div>
<div id="shownetboot" style="display:none"> <div id="shownetboot" style="display:none">
<input style="vertical-align:middle" type="checkbox" value="yes" name="netboot" id="netboot" <?=!empty($pconfig['netboot']) ? " checked=\"checked\"" : ""; ?> /> <input style="vertical-align:middle" type="checkbox" value="yes" name="netboot" id="netboot" <?=!empty($pconfig['netboot']) ? 'checked="checked"' : ""; ?> />
<b><?=gettext("Enables network booting.");?></b> <b><?=gettext("Enables network booting.");?></b>
<br/> <br/>
<?=gettext("Enter the Bootfile URL");?> <?=gettext("Enter the Bootfile URL");?>
...@@ -752,7 +752,7 @@ include("head.inc"); ...@@ -752,7 +752,7 @@ include("head.inc");
</tfoot> </tfoot>
</table> </table>
<div class="hidden" for="help_for_numberoptions"> <div class="hidden" for="help_for_numberoptions">
<?=gettext("Enter the DHCP option number and the value for each item you would like to include in the DHCP lease information. For a list of available options please visit this"); ?> <a href="http://www.iana.org/assignments/bootp-dhcp-parameters/" target="_blank"><?=gettext("URL"); ?></a> <?= sprintf(gettext("Enter the DHCP option number and the value for each item you would like to include in the DHCP lease information. For a list of available options please visit this %sURL%s"),'<a href="http://www.iana.org/assignments/bootp-dhcp-parameters/" target="_blank">','</a>') ?>
</div> </div>
</div> </div>
</td> </td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment