Project

General

Profile

« Previous | Next » 

Revision 6c07db48

Added by Phil Davis about 10 years ago

Code spacing

and other random stuff I noticed.
I think this finishes messing with code style. The codebase should match
the developer style guide closely enough that 99.9% of changes will not
feel the need to also massage the formatting.

View differences:

usr/local/www/diag_dns.php
47 47

  
48 48
$aliasname = str_replace(array(".", "-"), "_", $host);
49 49
$alias_exists = false;
50
$counter=0;
50
$counter = 0;
51 51
foreach ($a_aliases as $a) {
52 52
	if ($a['name'] == $aliasname) {
53 53
		$alias_exists = true;
54
		$id=$counter;
54
		$id = $counter;
55 55
	}
56 56
	$counter++;
57 57
}
......
289 289
	if (!$input_errors && $ipaddr) {
290 290
?>
291 291
				<tr>
292
					<td width="22%" valign="top"  class="vncell"><?=gettext("More Information:");?></td>
292
					<td width="22%" valign="top" class="vncell"><?=gettext("More Information:");?></td>
293 293
					<td width="78%" class="vtable">
294 294
						<a href ="/diag_ping.php?host=<?=htmlspecialchars($host)?>&amp;interface=wan&amp;count=3"><?=gettext("Ping");?></a> <br />
295 295
						<a href ="/diag_traceroute.php?host=<?=htmlspecialchars($host)?>&amp;ttl=18"><?=gettext("Traceroute");?></a>

Also available in: Unified diff