Project

General

Profile

Feature #3229 ยป dyndns-colorblind-accessible.patch

Bill McGonigle, 09/24/2013 12:39 PM

View differences:

/usr/local/www/services_dyndns.php 2013-09-24 13:07:45.000000000 -0400
144 144
				$cached_ip_s = explode(":", file_get_contents($filename));
145 145
				$cached_ip = $cached_ip_s[0];
146 146
				if ($ipaddr <> $cached_ip) 
147
					echo "<font color='red'>";
147
					echo "<font color='red' style='font-weight: bold'>";
148 148
				else 
149 149
					echo "<font color='green'>";
150 150
				echo htmlspecialchars($cached_ip);
......
176 176
		  <td colspan="3" class="list"><p class="vexpl"><span class="red"><strong>
177 177
			<?=gettext("Note:");?><br>
178 178
			</strong></span>
179
			<?=gettext("IP addresses appearing in green are up to date with Dynamic DNS provider.");?><br>
179
			<?=gettext("IP addresses appearing in green are up to date with Dynamic DNS provider.  IP addresses appearing in bold red are not up to date.");?><br>
180 180
			<?=gettext("You can force an update for an IP address on the edit page for that service.");?>
181 181
		  </td>
182 182
		  <td class="list">&nbsp;</td>
183
-- /usr/local/www/widgets/widgets/dyn_dns_status.widget.php-dist	2013-09-24 13:03:07.000000000 -0400
183
++ /usr/local/www/widgets/widgets/dyn_dns_status.widget.php	2013-09-24 13:04:06.000000000 -0400
......
59 59
			$cached_ip_s = split(":", file_get_contents($filename));
60 60
			$cached_ip = $cached_ip_s[0];
61 61
			if ($ipaddr <> $cached_ip)
62
				echo "<font color='red'>";
62
				echo "<font color='red' style='font-weight: bold'>";
63 63
			else
64 64
				echo "<font color='green'>";
65 65
			echo htmlspecialchars($cached_ip);
    (1-1/1)