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/services_captiveportal.php
1063 1063
											$macformats = array("singledash", "ietf", "cisco", "unformatted");
1064 1064
											foreach ($macformats as $macformat) {
1065 1065
												if ($pconfig['radmac_format'] == $macformat) {
1066
													echo "<option selected=\"selected\" value=\"$macformat\">",gettext($macformat),"</option>\n";
1066
													echo "<option selected=\"selected\" value=\"$macformat\">", gettext($macformat), "</option>\n";
1067 1067
												} else {
1068
													echo "<option value=\"$macformat\">",gettext($macformat),"</option>\n";
1068
													echo "<option value=\"$macformat\">", gettext($macformat), "</option>\n";
1069 1069
												}
1070 1070
											}
1071 1071
										?>
......
1136 1136
								$port = $pconfig['listenporthttps'] ? $pconfig['listenporthttps'] : ($zoneid + 8001);
1137 1137
								$href = "https://{$host}:{$port}";
1138 1138
							} else {
1139
								$port = $pconfig['listenporthttp']  ? $pconfig['listenporthttp']  : ($zoneid + 8000);
1139
								$port = $pconfig['listenporthttp'] ? $pconfig['listenporthttp'] : ($zoneid + 8000);
1140 1140
								$href = "http://{$host}:{$port}";
1141 1141
							}
1142 1142
						?>

Also available in: Unified diff