summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dyndns.php
diff options
context:
space:
mode:
authorCharlie Marshall <charlie0440@gmail.com>2013-08-12 20:26:28 +0100
committerCharlie Marshall <charlie0440@gmail.com>2013-08-12 20:26:28 +0100
commit0abc8f4a00685676d5a4b213120afdf5048a9a0f (patch)
treefe6ad789216c2689a4e309c3a3e6be6e195cc51c /usr/local/www/services_dyndns.php
parentf5da08498d7aaef64e9a4feb5d095b13571e0d78 (diff)
downloadpfsense-0abc8f4a00685676d5a4b213120afdf5048a9a0f.zip
pfsense-0abc8f4a00685676d5a4b213120afdf5048a9a0f.tar.gz
remove whitespaces
Diffstat (limited to 'usr/local/www/services_dyndns.php')
-rwxr-xr-xusr/local/www/services_dyndns.php12
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>";
OpenPOWER on IntegriCloud