diff --git a/usr/local/www/widgets/include/dyn_dns_status.inc b/usr/local/www/widgets/include/dyn_dns_status.inc new file mode 100644 index 0000000000..8116fe7569 --- /dev/null +++ b/usr/local/www/widgets/include/dyn_dns_status.inc @@ -0,0 +1,7 @@ + diff --git a/usr/local/www/widgets/widgets/dyn_dns_status.widget.php b/usr/local/www/widgets/widgets/dyn_dns_status.widget.php new file mode 100644 index 0000000000..e91ecbaed0 --- /dev/null +++ b/usr/local/www/widgets/widgets/dyn_dns_status.widget.php @@ -0,0 +1,122 @@ +=siU', $ip_result_decoded, $matches); + $ip_address = trim($matches[1]); + } + return $ip_address; +} +?> + +
| + | |||
| =gettext("Int.");?> | +=gettext("Service");?> | +=gettext("Hostname");?> | +=gettext("Cached IP");?> | +
| + $ifdesc): + if ($dyndns['interface'] == $if): ?> + =$ifdesc; break;?> + + | ++ + | ++ =htmlspecialchars($dyndns['host']);?> + | ++ $cached_ip) echo ""; + else echo ""; + echo htmlspecialchars($cached_ip); + echo ""; + } else echo "N/A"; + ?> + | +