diff --git a/plist b/plist
index ef97afa8b..41a1c8ec3 100644
--- a/plist
+++ b/plist
@@ -1114,6 +1114,7 @@
/usr/local/www/widgets/include/log.inc
/usr/local/www/widgets/include/ntp_status.inc
/usr/local/www/widgets/include/openvpn.inc
+/usr/local/www/widgets/include/rfc2136.inc
/usr/local/www/widgets/include/services_status.inc
/usr/local/www/widgets/include/system_log.inc
/usr/local/www/widgets/include/thermal_sensors.inc
@@ -1128,6 +1129,7 @@
/usr/local/www/widgets/widgets/ntp_status.widget.php
/usr/local/www/widgets/widgets/openvpn.widget.php
/usr/local/www/widgets/widgets/picture.widget.php
+/usr/local/www/widgets/widgets/rfc2136.widget.php
/usr/local/www/widgets/widgets/rss.widget.php
/usr/local/www/widgets/widgets/services_status.widget.php
/usr/local/www/widgets/widgets/system_information.widget.php
diff --git a/src/www/services_rfc2136.php b/src/www/services_rfc2136.php
index f62059177..f0587da89 100644
--- a/src/www/services_rfc2136.php
+++ b/src/www/services_rfc2136.php
@@ -165,7 +165,7 @@ $main_buttons = array(
echo htmlspecialchars($cached_ip);
echo "";
} else {
- echo "IPv4: N/A";
+ echo 'IPv4: ' . gettext('N/A');
}
echo "
";
$filename6 = rfc2136_cache_file($rfc2136, 6);
@@ -186,7 +186,7 @@ $main_buttons = array(
echo htmlspecialchars($cached_ip);
echo "";
} else {
- echo "IPv6: N/A";
+ echo 'IPv6: ' . gettext('N/A');
}?>
| =gettext("Int.");?> | +=gettext("Interface");?> | =gettext("Service");?> | =gettext("Hostname");?> | =gettext("Cached IP");?> | @@ -105,51 +105,37 @@ if (!empty($_REQUEST['getdyndnsstatus'])) { $groupslist = return_gateway_groups_array(); foreach ($a_dyndns as $i => $dyndns) :?>|||
|---|---|---|---|---|---|---|---|
| + | > $ifdesc) { if ($dyndns['interface'] == $if) { - if (!isset($dyndns['enable'])) { - echo "{$ifdesc}"; - } else { - echo "{$ifdesc}"; - } + echo "{$ifdesc}"; break; } } foreach ($groupslist as $if => $group) { if ($dyndns['interface'] == $if) { - if (!isset($dyndns['enable'])) { - echo "{$if}"; - } else { - echo "{$if}"; - } + echo "{$if}"; break; } }?> | -+ | > ' . htmlspecialchars($types[$dyndns['type']]) . ''; - } else { - echo htmlspecialchars($types[$dyndns['type']]); - } - } -?> - | --".htmlspecialchars($dyndns['host']).""; + echo htmlspecialchars($types[$dyndns['type']]); } else { - echo htmlspecialchars($dyndns['host']); + echo htmlspecialchars($dyndns['type']); } ?> | -
- =gettext("Checking ...");?>
+ | > + = htmlspecialchars($dyndns['host']) ?> + | +>
+
+ = gettext('Checking...') ?>
+
|
| =gettext("Interface");?> | +=gettext("Server");?> | +=gettext("Hostname");?> | +=gettext("Cached IP");?> | +
|---|---|---|---|
| > + $ifdesc) { + if ($rfc2136['interface'] == $if) { + echo "{$ifdesc}"; + break; + } + } + foreach ($groupslist as $if => $group) { + if ($rfc2136['interface'] == $if) { + echo "{$if}"; + break; + } + }?> + | +> + = htmlspecialchars($rfc2136['server']) ?> + | +> + = htmlspecialchars($rfc2136['host']) ?> + | +>
+
+ = gettext('Checking...') ?>
+
+ |
+