Commit 631de412 authored by Fabian Franz's avatar Fabian Franz

translation and some style

parent df53c506
...@@ -282,9 +282,8 @@ $( document ).ready(function() { ...@@ -282,9 +282,8 @@ $( document ).ready(function() {
<strong><?=gettext("Query DNS servers sequentially");?></strong> <strong><?=gettext("Query DNS servers sequentially");?></strong>
<div class="hidden" for="help_for_strict_order"> <div class="hidden" for="help_for_strict_order">
<?php printf(gettext("If this option is set, %s DNS Forwarder (dnsmasq) will ". <?php printf(gettext("If this option is set, %s DNS Forwarder (dnsmasq) will ".
"query the DNS servers sequentially in the order specified (<i>System - General Setup - DNS Servers</i>), ". "query the DNS servers sequentially in the order specified (%sSystem - General Setup - DNS Servers%s), ".
"rather than all at once in parallel. ". "rather than all at once in parallel."), $g['product_name'],'<i>','</i>'); ?>
""), $g['product_name']); ?>
</div> </div>
</td> </td>
</tr> </tr>
...@@ -295,8 +294,7 @@ $( document ).ready(function() { ...@@ -295,8 +294,7 @@ $( document ).ready(function() {
<div class="hidden" for="help_for_strict_order"> <div class="hidden" for="help_for_strict_order">
<?php printf(gettext("If this option is set, %s DNS Forwarder (dnsmasq) will ". <?php printf(gettext("If this option is set, %s DNS Forwarder (dnsmasq) will ".
"not forward A or AAAA queries for plain names, without dots or domain parts, to upstream name servers. ". "not forward A or AAAA queries for plain names, without dots or domain parts, to upstream name servers. ".
"If the name is not known from /etc/hosts or DHCP then a \"not found\" answer is returned. ". 'If the name is not known from /etc/hosts or DHCP then a "not found" answer is returned.'), $g['product_name']); ?>
""), $g['product_name']); ?>
</div> </div>
</td> </td>
</tr> </tr>
...@@ -307,9 +305,8 @@ $( document ).ready(function() { ...@@ -307,9 +305,8 @@ $( document ).ready(function() {
<div class="hidden" for="help_for_strict_order"> <div class="hidden" for="help_for_strict_order">
<?php printf(gettext("If this option is set, %s DNS Forwarder (dnsmasq) will ". <?php printf(gettext("If this option is set, %s DNS Forwarder (dnsmasq) will ".
"not forward reverse DNS lookups (PTR) for private addresses (RFC 1918) to upstream name servers. ". "not forward reverse DNS lookups (PTR) for private addresses (RFC 1918) to upstream name servers. ".
"Any entries in the Domain Overrides section forwarding private \"n.n.n.in-addr.arpa\" names to a specific server are still forwarded. ". 'Any entries in the Domain Overrides section forwarding private "n.n.n.in-addr.arpa" names to a specific server are still forwarded. '.
"If the IP to name is not known from /etc/hosts, DHCP or a specific domain override then a \"not found\" answer is immediately returned. ". 'If the IP to name is not known from /etc/hosts, DHCP or a specific domain override then a "not found" answer is immediately returned.'), $g['product_name']); ?>
""), $g['product_name']); ?>
</div> </div>
</td> </td>
</tr> </tr>
...@@ -497,7 +494,7 @@ $( document ).ready(function() { ...@@ -497,7 +494,7 @@ $( document ).ready(function() {
<tfoot> <tfoot>
<tr> <tr>
<td colspan="4"> <td colspan="4">
<?=gettext("Entries in this area override an entire domain, and subdomains, by specifying an"." authoritative DNS server to be queried for that domain.");?> <?=gettext("Entries in this area override an entire domain, and subdomains, by specifying an authoritative DNS server to be queried for that domain.");?>
</td> </td>
</tr> </tr>
</tfoot> </tfoot>
......
...@@ -227,26 +227,26 @@ include("head.inc"); ...@@ -227,26 +227,26 @@ include("head.inc");
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-striped"> <table class="table table-striped">
<tr> <tr>
<td width="22%"><strong><?=gettext("Dynamic DNS client");?></strong></td> <td width="22%"><strong><?= gettext("Dynamic DNS client") ?></strong></td>
<td width="78%" align="right"> <td width="78%" align="right">
<small><?=gettext("full help"); ?> </small> <small><?= gettext("full help") ?> </small>
<i class="fa fa-toggle-off text-danger" style="cursor: pointer;" id="show_all_help_page" type="button"></i> <i class="fa fa-toggle-off text-danger" style="cursor: pointer;" id="show_all_help_page" type="button"></i>
</td> </td>
</tr> </tr>
<tr> <tr>
<td><i class="fa fa-info-circle text-muted"></i> <?=gettext("Enable");?></td> <td><i class="fa fa-info-circle text-muted"></i> <?= gettext("Enable") ?></td>
<td> <td>
<input name="enable" type="checkbox" id="enable" value="<?=gettext("yes");?>" <?=!empty($pconfig['enable']) ? "checked=\"checked\"" : ""; ?> /> <input name="enable" type="checkbox" id="enable" value="<?= gettext("yes") ?>" <?= empty($pconfig['enable']) ? '' : 'checked="checked"' ?> />
</td> </td>
</tr> </tr>
<tr> <tr>
<td><i class="fa fa-info-circle text-muted"></i> <?=gettext("Service type");?></td> <td><i class="fa fa-info-circle text-muted"></i> <?= gettext("Service type") ?></td>
<td> <td>
<select name="type" class="selectpicker" id="type" onchange="_onTypeChange(this.options[this.selectedIndex].value);"> <select name="type" class="selectpicker" id="type" onchange="_onTypeChange(this.options[this.selectedIndex].value);">
<?php <?php
foreach (services_dyndns_list() as $value => $type):?> foreach (services_dyndns_list() as $value => $type):?>
<option value="<?=$value;?>" <?= $value == $pconfig['type'] ? 'selected="selected"' : "";?>> <option value="<?= $value ?>" <?= $value == $pconfig['type'] ? '' : 'selected="selected"'?>>
<?=$type;?> <?= $type ?>
</option> </option>
<?php <?php
endforeach;?> endforeach;?>
...@@ -254,15 +254,15 @@ include("head.inc"); ...@@ -254,15 +254,15 @@ include("head.inc");
</td> </td>
</tr> </tr>
<tr> <tr>
<td><i class="fa fa-info-circle text-muted"></i> <?=gettext("Interface to monitor");?></td> <td><i class="fa fa-info-circle text-muted"></i> <?= gettext("Interface to monitor") ?></td>
<td> <td>
<select name="interface" class="selectpicker" id="interface"> <select name="interface" class="selectpicker" id="interface">
<?php <?php
$iflist = get_configured_interface_with_descr(); $iflist = get_configured_interface_with_descr();
$iflist = array_merge($iflist, return_gateway_groups_array()); $iflist = array_merge($iflist, return_gateway_groups_array());
foreach ($iflist as $if => $ifdesc):?> foreach ($iflist as $if => $ifdesc):?>
<option value="<?=$if;?>" <?=$pconfig['interface'] == $if ? "selected=\"selected\"" : "";?>> <option value="<?= $if ?>" <?=$pconfig['interface'] == $if ? 'selected="selected"' : '';?>>
<?=is_array($ifdesc) ? $if : htmlspecialchars($ifdesc);?> <?= is_array($ifdesc) ? $if : htmlspecialchars($ifdesc) ?>
</option> </option>
<?php <?php
...@@ -271,15 +271,15 @@ include("head.inc"); ...@@ -271,15 +271,15 @@ include("head.inc");
</td> </td>
</tr> </tr>
<tr id="_requestiftr"> <tr id="_requestiftr">
<td><a id="help_for_requestif" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Interface to send update from");?></td> <td><a id="help_for_requestif" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?= gettext("Interface to send update from") ?></td>
<td> <td>
<select name="requestif" class="selectpicker" id="requestif"> <select name="requestif" class="selectpicker" id="requestif">
<?php <?php
$iflist = get_configured_interface_with_descr(); $iflist = get_configured_interface_with_descr();
$iflist = array_merge($iflist, return_gateway_groups_array()); $iflist = array_merge($iflist, return_gateway_groups_array());
foreach ($iflist as $if => $ifdesc):?> foreach ($iflist as $if => $ifdesc):?>
<option value="<?=$if;?>" <?=$pconfig['requestif'] == $if ? "selected=\"selected\"" : "";?>> <option value="<?= $if ?>" <?= $pconfig['requestif'] == $if ? 'selected="selected"' : '' ?>>
<?=is_array($ifdesc) ? $if : htmlspecialchars($ifdesc);?> <?= is_array($ifdesc) ? $if : htmlspecialchars($ifdesc) ?>
</option> </option>
<?php <?php
...@@ -291,141 +291,141 @@ include("head.inc"); ...@@ -291,141 +291,141 @@ include("head.inc");
</td> </td>
</tr> </tr>
<tr id="_hostnametr"> <tr id="_hostnametr">
<td><a id="help_for_host" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Hostname");?></td> <td><a id="help_for_host" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?= gettext("Hostname") ?></td>
<td> <td>
<input name="host" type="text" id="host" value="<?=$pconfig['host'];?>" /> <input name="host" type="text" id="host" value="<?= $pconfig['host'] ?>" />
<div class="hidden" for="help_for_host"> <div class="hidden" for="help_for_host">
<span class="text-danger"><strong><?=gettext("Note:");?><br /></strong></span> <span class="text-danger"><strong><?= gettext("Note:") ?><br /></strong></span>
<?=gettext("Enter the complete host/domain name. example: myhost.dyndns.org");?><br /> <?= gettext("Enter the complete host/domain name. example: myhost.dyndns.org") ?><br />
<?=gettext("For he.net tunnelbroker, enter your tunnel ID");?> <?= gettext("For he.net tunnelbroker, enter your tunnel ID") ?>
</div> </div>
</td> </td>
</tr> </tr>
<tr id="_mxtr"> <tr id="_mxtr">
<td><a id="help_for_mx" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("MX"); ?></td> <td><a id="help_for_mx" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?= gettext("MX") ?></td>
<td> <td>
<input name="mx" type="text" id="mx" value="<?=$pconfig['mx'];?>" /> <input name="mx" type="text" id="mx" value="<?= $pconfig['mx'] ?>" />
<div class="hidden" for="help_for_mx"> <div class="hidden" for="help_for_mx">
<?=gettext("Note: With a dynamic DNS service you can only use a hostname, not an IP address.");?> <?= gettext("Note: With a dynamic DNS service you can only use a hostname, not an IP address.") ?>
<br /> <br />
<?=gettext("Set this option only if you need a special MX record. Not"." all services support this.");?> <?= gettext("Set this option only if you need a special MX record. Not all services support this.") ?>
</div> </div>
</td> </td>
</tr> </tr>
<tr id="_wildcardtr"> <tr id="_wildcardtr">
<td><i class="fa fa-info-circle text-muted"></i> <?=gettext("Wildcards"); ?></td> <td><i class="fa fa-info-circle text-muted"></i> <?= gettext("Wildcards") ?></td>
<td> <td>
<input name="wildcard" type="checkbox" id="wildcard" value="yes" <?=!empty($pconfig['wildcard']) ? "checked=\"checked\"" : ""; ?> /> <input name="wildcard" type="checkbox" id="wildcard" value="yes" <?= empty($pconfig['wildcard']) ? '' : 'checked="checked"' ?> />
<strong><?=gettext("Enable ");?><?=gettext("Wildcard"); ?></strong> <strong><?= gettext("Enable Wildcard") ?></strong>
</td> </td>
</tr> </tr>
<tr id="_verboselogtr"> <tr id="_verboselogtr">
<td><i class="fa fa-info-circle text-muted"></i> <?=gettext("Verbose logging"); ?></td> <td><i class="fa fa-info-circle text-muted"></i> <?= gettext("Verbose logging") ?></td>
<td> <td>
<input name="verboselog" type="checkbox" id="verboselog" value="yes" <?=!empty($pconfig['verboselog']) ? "checked=\"checked\"" : ""; ?> /> <input name="verboselog" type="checkbox" id="verboselog" value="yes" <?= empty($pconfig['verboselog']) ? '' : 'checked="checked"' ?> />
<strong><?=gettext("Enable ");?><?=gettext("verbose logging"); ?></strong> <strong><?= gettext("Enable verbose logging") ?></strong>
</td> </td>
</tr> </tr>
<tr id="_curloptions"> <tr id="_curloptions">
<td><i class="fa fa-info-circle text-muted"></i> <?=gettext("CURL options"); ?></td> <td><i class="fa fa-info-circle text-muted"></i> <?=gettext("CURL options"); ?></td>
<td> <td>
<input name="curl_ipresolve_v4" type="checkbox" id="curl_ipresolve_v4" value="yes" <?=!empty($pconfig['curl_ipresolve_v4']) ? "checked=\"checked\"" : ""; ?> /> <input name="curl_ipresolve_v4" type="checkbox" id="curl_ipresolve_v4" value="yes" <?= empty($pconfig['curl_ipresolve_v4']) ? '' : 'checked="checked"' ?> />
<?=gettext("Force IPv4 resolving"); ?><br /> <?= gettext("Force IPv4 resolving") ?><br />
<input name="curl_ssl_verifypeer" type="checkbox" id="curl_ssl_verifypeer" value="yes" <?=!empty($pconfig['curl_ssl_verifypeer']) ? "checked=\"checked\"" : ""; ?> /> <input name="curl_ssl_verifypeer" type="checkbox" id="curl_ssl_verifypeer" value="yes" <?= empty($pconfig['curl_ssl_verifypeer']) ? '' : 'checked="checked"' ?> />
<?=gettext("Verify SSL peer"); ?> <?= gettext("Verify SSL peer") ?>
</td> </td>
</tr> </tr>
<tr id="_usernametr"> <tr id="_usernametr">
<td><a id="help_for_username" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Username");?></td> <td><a id="help_for_username" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?= gettext("Username") ?></td>
<td> <td>
<input name="username" type="text" id="username" value="<?=$pconfig['username'];?>" /> <input name="username" type="text" id="username" value="<?= $pconfig['username'] ?>" />
<div class="hidden" for="help_for_username"> <div class="hidden" for="help_for_username">
<?= gettext("Username is required for all types except Namecheap, FreeDNS and Custom Entries.");?> <?= gettext("Username is required for all types except Namecheap, FreeDNS and Custom Entries.");?>
<br /><?= gettext("Route 53: Enter your Access Key ID.");?> <br /><?= gettext('Route 53: Enter your Access Key ID.') ?>
<br /><?= gettext("Duck DNS: Enter your Token.");?> <br /><?= gettext('Duck DNS: Enter your Token.') ?>
<br /><?= gettext("For Custom Entries, Username and Password represent HTTP Authentication username and passwords.");?> <br /><?= gettext('For Custom Entries, Username and Password represent HTTP Authentication username and passwords.') ?>
</div> </div>
</td> </td>
</tr> </tr>
<tr> <tr>
<td><a id="help_for_password" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Password");?></td> <td><a id="help_for_password" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?= gettext("Password") ?></td>
<td> <td>
<input name="password" type="password" id="password" value="<?=$pconfig['password'];?>" /> <input name="password" type="password" id="password" value="<?= $pconfig['password'] ?>" />
<div class="hidden" for="help_for_password"> <div class="hidden" for="help_for_password">
<?=gettext("FreeDNS (freedns.afraid.org): Enter your \"Authentication Token\" provided by FreeDNS.");?> <?=gettext('FreeDNS (freedns.afraid.org): Enter your "Authentication Token" provided by FreeDNS.') ?>
<br /><?= gettext("Route 53: Enter your Secret Access Key.");?> <br /><?= gettext('Route 53: Enter your Secret Access Key.') ?>
<br /><?= gettext("Duck DNS: Leave blank.");?> <br /><?= gettext('Duck DNS: Leave blank.') ?>
</div> </div>
</td> </td>
</tr> </tr>
<tr id="r53_zoneid" style="display:none"> <tr id="r53_zoneid" style="display:none">
<td><a id="help_for_zoneid" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Zone ID");?></td> <td><a id="help_for_zoneid" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?= gettext("Zone ID") ?></td>
<td> <td>
<input name="zoneid" type="text" id="zoneid" value="<?=$pconfig['zoneid'];?>" /> <input name="zoneid" type="text" id="zoneid" value="<?= $pconfig['zoneid'] ?>" />
<div class="hidden" for="help_for_zoneid"> <div class="hidden" for="help_for_zoneid">
<?= gettext("Enter Zone ID that you received when you created your domain in Route 53.");?> <?= gettext("Enter Zone ID that you received when you created your domain in Route 53.") ?>
</div> </div>
</td> </td>
</tr> </tr>
<tr id="_urltr"> <tr id="_urltr">
<td><a id="help_for_updateurl" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Update URL");?></td> <td><a id="help_for_updateurl" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Update URL") ?></td>
<td> <td>
<input name="updateurl" type="text" id="updateurl" value="<?=$pconfig['updateurl'];?>" /> <input name="updateurl" type="text" id="updateurl" value="<?= $pconfig['updateurl'] ?>" />
<div class="hidden" for="help_for_updateurl"> <div class="hidden" for="help_for_updateurl">
<?= gettext("This is the only field required by for Custom Dynamic DNS, and is only used by Custom Entries.");?> <?= gettext("This is the only field required by for Custom Dynamic DNS, and is only used by Custom Entries.") ?>
<br /> <br />
<?= gettext("If you need the new IP to be included in the request, put %IP% in its place.");?> <?= gettext("If you need the new IP to be included in the request, put %IP% in its place.") ?>
</div> </div>
</td> </td>
</tr> </tr>
<tr id="_resulttr"> <tr id="_resulttr">
<td><a id="help_for_resultmatch" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Result Match");?></td> <td><a id="help_for_resultmatch" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?= gettext("Result Match") ?></td>
<td> <td>
<textarea name="resultmatch" class="formpre" id="resultmatch" cols="65" rows="7"><?=$pconfig['resultmatch'];?></textarea> <textarea name="resultmatch" class="formpre" id="resultmatch" cols="65" rows="7"><?= $pconfig['resultmatch'] ?></textarea>
<div class="hidden" for="help_for_resultmatch"> <div class="hidden" for="help_for_resultmatch">
<?= gettext("This field is only used by Custom Dynamic DNS Entries.");?> <?= gettext("This field is only used by Custom Dynamic DNS Entries.") ?>
<br /> <br />
<?= gettext("This field should be identical to what your dynamic DNS Provider will return if the update succeeds, leave it blank to disable checking of returned results.");?> <?= gettext("This field should be identical to what your dynamic DNS Provider will return if the update succeeds, leave it blank to disable checking of returned results.");?>
<br /> <br />
<?= gettext("If you need the new IP to be included in the request, put %IP% in its place.");?> <?= gettext("If you need the new IP to be included in the request, put %IP% in its place.") ?>
<br /> <br />
<?= gettext("If you need to include multiple possible values, separate them with a |. If your provider includes a |, escape it with \\|");?> <?= gettext("If you need to include multiple possible values, separate them with a |. If your provider includes a |, escape it with \\|") ?>
<br /> <br />
<?= gettext("Tabs (\\t), newlines (\\n) and carriage returns (\\r) at the beginning or end of the returned results are removed before comparison.");?> <?= gettext("Tabs (\\t), newlines (\\n) and carriage returns (\\r) at the beginning or end of the returned results are removed before comparison.") ?>
</div> </div>
</td> </td>
</tr> </tr>
<tr id="r53_ttl" style="display:none"> <tr id="r53_ttl" style="display:none">
<td><a id="help_for_ttl" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("TTL");?></td> <td><a id="help_for_ttl" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("TTL");?></td>
<td> <td>
<input name="ttl" type="text" id="ttl" value="<?=$pconfig['ttl'];?>" /> <input name="ttl" type="text" id="ttl" value="<?= $pconfig['ttl'] ?>" />
<div class="hidden" for="help_for_ttl"> <div class="hidden" for="help_for_ttl">
<?= gettext("Choose TTL for your dns record.");?> <?= gettext("Choose TTL for your dns record.") ?>
</div> </div>
</td> </td>
</tr> </tr>
<tr> <tr>
<td><i class="fa fa-info-circle text-muted"></i> <?=gettext("Description");?></td> <td><i class="fa fa-info-circle text-muted"></i> <?= gettext("Description") ?></td>
<td> <td>
<input name="descr" type="text" id="descr" value="<?=$pconfig['descr'];?>" /> <input name="descr" type="text" id="descr" value="<?= $pconfig['descr'] ?>" />
</td> </td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td> <td>
<input name="Submit" type="submit" class="btn btn-primary" value="<?=gettext("Save");?>" onclick="enable_change(true)" /> <input name="Submit" type="submit" class="btn btn-primary" value="<?= gettext("Save") ?>" onclick="enable_change(true)" />
<?php <?php
if (isset($id)): ?> if (isset($id)): ?>
<input name="id" type="hidden" value="<?=$id;?>" /> <input name="id" type="hidden" value="<?= $id ?>" />
<input name="force" type="submit" class="btn btn-primary" value="<?=gettext("Save & Force Update");?>" onclick="enable_change(true)" /> <input name="force" type="submit" class="btn btn-primary" value="<?= gettext("Save & Force Update") ?>" onclick="enable_change(true)" />
<?php <?php
endif; ?> endif; ?>
<a href="services_dyndns.php" class="btn btn-default"><?=gettext("Cancel");?></a> <a href="services_dyndns.php" class="btn btn-default"><?= gettext("Cancel") ?></a>
</td> </td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td><span class="vexpl"><span class="red"><strong><?=gettext("Note:");?><br /> <td><span class="vexpl"><span class="red"><strong><?= gettext("Note:") ?><br />
</strong></span><?php printf(gettext("You must configure a DNS server in %sSystem: </strong></span><?php printf(gettext("You must configure a DNS server in %sSystem:
General setup%s or allow the DNS server list to be overridden General setup%s or allow the DNS server list to be overridden
by DHCP/PPP on WAN for dynamic DNS updates to work."),'<a href="system_general.php">','</a>');?></span></td> by DHCP/PPP on WAN for dynamic DNS updates to work."),'<a href="system_general.php">','</a>');?></span></td>
...@@ -440,7 +440,7 @@ include("head.inc"); ...@@ -440,7 +440,7 @@ include("head.inc");
</section> </section>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[ //<![CDATA[
_onTypeChange("<?=$pconfig['type']; ?>"); _onTypeChange("<?= $pconfig['type'] ?>");
//]]> //]]>
</script> </script>
<?php include("foot.inc"); ?> <?php include("foot.inc"); ?>
...@@ -321,7 +321,7 @@ include("head.inc"); ...@@ -321,7 +321,7 @@ include("head.inc");
<input class="btn btn-default btn-xs" type="button" onclick="show_advanced('showstatisticsbox', 'showstatistics')" value="<?=gettext("Advanced");?>" /> - <?=gettext("Show statistics logging options");?> <input class="btn btn-default btn-xs" type="button" onclick="show_advanced('showstatisticsbox', 'showstatistics')" value="<?=gettext("Advanced");?>" /> - <?=gettext("Show statistics logging options");?>
</div> </div>
<div id="showstatistics" style="display:none"> <div id="showstatistics" style="display:none">
<strong><?=gettext("Warning: ")?></strong><?=gettext("these options will create persistant daily log files in /var/log/ntp."); ?> <?= sprintf(gettext("%sWarning:%s these options will create persistant daily log files in /var/log/ntp."),'<strong>','</strong>') ?>
<br /><br /> <br /><br />
<input name="clockstats" type="checkbox" id="clockstats"<?=!empty($pconfig['clockstats']) ? " checked=\"checked\"" : ""; ?> /> <input name="clockstats" type="checkbox" id="clockstats"<?=!empty($pconfig['clockstats']) ? " checked=\"checked\"" : ""; ?> />
<?=gettext("Enable logging of reference clock statistics (default: disabled)."); ?> <?=gettext("Enable logging of reference clock statistics (default: disabled)."); ?>
......
...@@ -168,7 +168,7 @@ include("head.inc"); ...@@ -168,7 +168,7 @@ include("head.inc");
</td> </td>
</tr> </tr>
<tr> <tr>
<td><a id="help_for_pollport" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Polling Port ");?></td> <td><a id="help_for_pollport" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?= gettext("Polling Port") ?></td>
<td> <td>
<input name="pollport" type="text" value="<?=$pconfig['pollport'];?>" /> <input name="pollport" type="text" value="<?=$pconfig['pollport'];?>" />
<div class="hidden" for="help_for_pollport"> <div class="hidden" for="help_for_pollport">
...@@ -228,7 +228,7 @@ include("head.inc"); ...@@ -228,7 +228,7 @@ include("head.inc");
</td> </td>
</tr> </tr>
<tr> <tr>
<td><a id="help_for_trapserverport" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Trap server port ");?></td> <td><a id="help_for_trapserverport" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?= gettext("Trap server port") ?></td>
<td> <td>
<input name="trapserverport" type="text" id="trapserverport" size="40" value="<?=htmlspecialchars($pconfig['trapserverport']) ? htmlspecialchars($pconfig['trapserverport']) : htmlspecialchars(162);?>" /> <input name="trapserverport" type="text" id="trapserverport" size="40" value="<?=htmlspecialchars($pconfig['trapserverport']) ? htmlspecialchars($pconfig['trapserverport']) : htmlspecialchars(162);?>" />
<div class="hidden" for="help_for_trapserverport"> <div class="hidden" for="help_for_trapserverport">
......
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