summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorRenato Botelho <garga@pfSense.org>2013-08-13 06:10:21 -0700
committerRenato Botelho <garga@pfSense.org>2013-08-13 06:10:21 -0700
commit1016c546b6d5944b417e1f1f191bab71b1e1ad8c (patch)
tree1c3b2cfa5c8f3cba6d93830ef25879633da25168 /usr
parent61ef13853f8bd1c02e323b36973b581348ffb805 (diff)
parent0abc8f4a00685676d5a4b213120afdf5048a9a0f (diff)
downloadpfsense-1016c546b6d5944b417e1f1f191bab71b1e1ad8c.zip
pfsense-1016c546b6d5944b417e1f1f191bab71b1e1ad8c.tar.gz
Merge pull request #768 from CharlieMarshall/dyn
tiny cosmetic change
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/services_dyndns.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr/local/www/services_dyndns.php b/usr/local/www/services_dyndns.php
index 6705406..0852071 100755
--- a/usr/local/www/services_dyndns.php
+++ b/usr/local/www/services_dyndns.php
@@ -26,7 +26,7 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
- pfSense_BUILDER_BINARIES: /usr/bin/host
+ pfSense_BUILDER_BINARIES: /usr/bin/host
pfSense_MODULE: dyndns
*/
@@ -118,7 +118,7 @@ include("head.inc");
<?php
$types = explode(",", DYNDNS_PROVIDER_DESCRIPTIONS);
$vals = explode(" ", DYNDNS_PROVIDER_VALUES);
- for ($j = 0; $j < count($vals); $j++)
+ for ($j = 0; $j < count($vals); $j++)
if ($vals[$j] == $dyndns['type']) {
if (!isset($dyndns['enable']))
echo "<span class=\"gray\">".htmlspecialchars($types[$j])."</span>";
@@ -144,9 +144,9 @@ include("head.inc");
$ipaddr = dyndnsCheckIP($dyndns['interface']);
$cached_ip_s = explode(":", file_get_contents($filename));
$cached_ip = $cached_ip_s[0];
- if ($ipaddr <> $cached_ip)
+ if ($ipaddr <> $cached_ip)
echo "<font color='red'>";
- else
+ else
echo "<font color='green'>";
echo htmlspecialchars($cached_ip);
echo "</font>";
@@ -154,9 +154,9 @@ include("head.inc");
$ipv6addr = get_interface_ipv6($dyndns['interface']);
$cached_ipv6_s = explode("|", file_get_contents($filename_v6));
$cached_ipv6 = $cached_ipv6_s[0];
- if ($ipv6addr <> $cached_ipv6)
+ if ($ipv6addr <> $cached_ipv6)
echo "<font color='red'>";
- else
+ else
echo "<font color='green'>";
echo htmlspecialchars($cached_ipv6);
echo "</font>";
@@ -184,7 +184,7 @@ include("head.inc");
<td class="list"> <a href="services_dyndns_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a></td>
</tr>
<tr>
- <td colspan="3" class="list"><p class="vexpl"><span class="red"><strong>
+ <td colspan="5" class="list"><p class="vexpl"><span class="red"><strong>
<?=gettext("Note:");?><br>
</strong></span>
<?=gettext("IP addresses appearing in green are up to date with Dynamic DNS provider.");?><br>
OpenPOWER on IntegriCloud