diff options
author | Charlie Marshall <charlie0440@gmail.com> | 2013-08-12 20:26:28 +0100 |
---|---|---|
committer | Charlie Marshall <charlie0440@gmail.com> | 2013-08-12 20:26:28 +0100 |
commit | 0abc8f4a00685676d5a4b213120afdf5048a9a0f (patch) | |
tree | fe6ad789216c2689a4e309c3a3e6be6e195cc51c /usr/local/www/services_dyndns.php | |
parent | f5da08498d7aaef64e9a4feb5d095b13571e0d78 (diff) | |
download | pfsense-0abc8f4a00685676d5a4b213120afdf5048a9a0f.zip pfsense-0abc8f4a00685676d5a4b213120afdf5048a9a0f.tar.gz |
remove whitespaces
Diffstat (limited to 'usr/local/www/services_dyndns.php')
-rwxr-xr-x | usr/local/www/services_dyndns.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr/local/www/services_dyndns.php b/usr/local/www/services_dyndns.php index a411993..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>"; |