Project

General

Profile

« Previous | Next » 

Revision 0abc8f4a

Added by Charlie Marshall almost 12 years ago

remove whitespaces

View differences:

usr/local/www/services_dyndns.php
26 26
	POSSIBILITY OF SUCH DAMAGE.
27 27
*/
28 28
/*
29
	pfSense_BUILDER_BINARIES:	/usr/bin/host	
29
	pfSense_BUILDER_BINARIES:	/usr/bin/host
30 30
	pfSense_MODULE:	dyndns
31 31
*/
32 32

  
......
118 118
		  <?php
119 119
			$types = explode(",", DYNDNS_PROVIDER_DESCRIPTIONS);
120 120
			$vals = explode(" ", DYNDNS_PROVIDER_VALUES);
121
			for ($j = 0; $j < count($vals); $j++) 
121
			for ($j = 0; $j < count($vals); $j++)
122 122
				if ($vals[$j] == $dyndns['type']) {
123 123
					if (!isset($dyndns['enable']))
124 124
						echo "<span class=\"gray\">".htmlspecialchars($types[$j])."</span>";
......
144 144
				$ipaddr = dyndnsCheckIP($dyndns['interface']);
145 145
				$cached_ip_s = explode(":", file_get_contents($filename));
146 146
				$cached_ip = $cached_ip_s[0];
147
				if ($ipaddr <> $cached_ip) 
147
				if ($ipaddr <> $cached_ip)
148 148
					echo "<font color='red'>";
149
				else 
149
				else
150 150
					echo "<font color='green'>";
151 151
				echo htmlspecialchars($cached_ip);
152 152
				echo "</font>";
......
154 154
				$ipv6addr = get_interface_ipv6($dyndns['interface']);
155 155
				$cached_ipv6_s = explode("|", file_get_contents($filename_v6));
156 156
				$cached_ipv6 = $cached_ipv6_s[0];
157
				if ($ipv6addr <> $cached_ipv6) 
157
				if ($ipv6addr <> $cached_ipv6)
158 158
					echo "<font color='red'>";
159
				else 
159
				else
160 160
					echo "<font color='green'>";
161 161
				echo htmlspecialchars($cached_ipv6);
162 162
				echo "</font>";

Also available in: Unified diff