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_igmpproxy_edit.php
92 92
	$address = "";
93 93
	$isfirst = 0;
94 94
	/* item is a normal igmpentry type */
95
	for ($x=0; $x<4999; $x++) {
95
	for ($x = 0; $x < 4999; $x++) {
96 96
		if ($_POST["address{$x}"] <> "") {
97 97
			if ($isfirst > 0) {
98 98
				$address .= " ";
......
203 203
				</select>
204 204
				<br />
205 205
				<span class="vexpl">
206
					<?=gettext("The <b>upstream</b> network interface is the outgoing interface which is".
207
						" responsible for communicating to available multicast data sources.".
206
					<?=gettext("The <b>upstream</b> network interface is the outgoing interface which is" .
207
						" responsible for communicating to available multicast data sources." .
208 208
						" There can only be one upstream interface.");?>
209 209
				</span>
210 210
				<br />
211 211
				<span class="vexpl">
212 212
					<b><?=gettext("Downstream"); ?></b>
213
					<?=gettext("network interfaces are the distribution  interfaces  to  the".
214
						" destination  networks,  where  multicast  clients  can  join groups and".
213
					<?=gettext("network interfaces are the distribution interfaces to the" .
214
						" destination networks, where multicast clients can join groups and" .
215 215
						" receive multicast data. One or more downstream interfaces must be configured.");?>
216 216
				</span>
217 217
			</td>
......
222 222
				<input name="threshold" class="formfld unknown" id="threshold" value="<?php echo htmlspecialchars($pconfig['threshold']);?>" />
223 223
				<br />
224 224
				<span class="vexpl">
225
					<?=gettext("Defines the TTL threshold for  the  network  interface.  Packets".
226
						" with  a lower TTL than the threshold value will be ignored. This".
225
					<?=gettext("Defines the TTL threshold for the network interface. Packets" .
226
						" with a lower TTL than the threshold value will be ignored. This" .
227 227
						" setting is optional, and by default the threshold is 1.");?>
228 228
				</span>
229 229
			</td>

Also available in: Unified diff