Project

General

Profile

« Previous | Next » 

Revision 8cd558b6

Added by ayvis over 11 years ago

xhtml Compliance
replaced <br>, <br/> and </br> with <br />

View differences:

usr/local/www/services_ntpd_gps.php
383 383
			<td width="22%" valign="top" class="vncellreq">
384 384
			</td>
385 385
			<td width="78%" class="vtable">A GPS connected via a serial port may be used as a reference clock for NTP. If the GPS also supports PPS and is properly configured, and connected, that GPS may also be used as a Pulse Per Second clock reference. NOTE: a USB GPS may work, but is not recommended due to USB bus timing issues.
386
			<br/>
387
			<br/><?php echo gettext("For the best results, NTP should have at least three sources of time. So it is best to configure at least 2 servers under"); ?> <a href="services_ntpd.php"><?php echo gettext("Services > NTP"); ?></a> <?php echo gettext("to minimize clock drift if the GPS data is not valid over time. Otherwise ntpd may only use values from the unsynchronized local clock when providing time to clients."); ?>
386
			<br />
387
			<br /><?php echo gettext("For the best results, NTP should have at least three sources of time. So it is best to configure at least 2 servers under"); ?> <a href="services_ntpd.php"><?php echo gettext("Services > NTP"); ?></a> <?php echo gettext("to minimize clock drift if the GPS data is not valid over time. Otherwise ntpd may only use values from the unsynchronized local clock when providing time to clients."); ?>
388 388
			</td>
389 389
		</tr>
390 390
		<tr>
......
400 400
					<option value="U-Blox" title="$PUBX... U-Blox 5, 6 and probably 7"<?php if($pconfig['type'] == 'U-Blox') echo ' selected';?>>U-Blox</option>
401 401
					<option value="SureGPS" title="$PMTK... Sure Electronics SKG16B"<?php if($pconfig['type'] == 'SureGPS') echo ' selected';?>>SureGPS</option>
402 402
				</select> <?php echo gettext("This option allows you to select a predefined configuration.");?>
403
				<br/>
404
				<br/>
403
				<br />
404
				<br />
405 405
				<strong><?php echo gettext(" Note: ");?></strong><?php echo gettext("Default is the configuration of pfSense 2.1 and earlier"); ?>
406 406
				<?php echo gettext(" (not recommended). Select Generic if your GPS is not listed.)"); ?>
407 407
				<strong><?php echo gettext(" Note: ");?></strong><?php echo gettext("The perdefined configurations assume your GPS has already been set to NMEA mode."); ?>
......
423 423
					<?php endforeach; ?>
424 424
				</select>&nbsp;
425 425
				<?php echo gettext("All serial ports are listed, be sure to pick the port with the GPS attached."); ?>
426
				<br/><br/>
426
				<br /><br />
427 427
				<select id="gpsspeed" name="gpsspeed" class="formselect">
428 428
					<option value="0"<?php if(!$pconfig['speed']) echo ' selected'; ?>>4800</option>
429 429
					<option value="16"<?php if($pconfig['speed'] === '16') echo ' selected';?>>9600</option>
......
432 432
					<option value="64"<?php if($pconfig['speed'] === '64') echo ' selected';?>>57600</option>
433 433
					<option value="80"<?php if($pconfig['speed'] === '80') echo ' selected';?>>115200</option>
434 434
				</select>&nbsp;<?php echo gettext("Serial port baud rate."); ?>
435
				<br/>
436
				<br/>
435
				<br />
436
				<br />
437 437
				<?php echo gettext("Note: A higher baud rate is generally only helpful if the GPS is sending too many sentences. It is recommended to configure the GPS to send only one sentence at a baud rate of 4800 or 9600."); ?>
438 438
			</td>
439 439
		</tr>
......
448 448
					<option value="2"<?php if($pconfig['nmea'] & 2) echo ' selected';?>>GGA</option>
449 449
					<option value="4"<?php if($pconfig['nmea'] & 4) echo ' selected';?>>GLL</option>
450 450
					<option value="8"<?php if($pconfig['nmea'] & 8) echo ' selected';?>>ZDA or ZDG</option>
451
				</select></br>
451
				</select><br />
452 452
				<?php echo gettext("By default NTP will listen for all supported NMEA sentences. Here one or more sentences to listen for may be specified."); ?>
453 453
			</td>
454 454
		</tr>
455 455
		<tr>
456 456
			<td width="22%" valign="top" class="vncellreq">Fudge time 1</td>
457 457
			<td width="78%" class="vtable">
458
				<input name="gpsfudge1" type="text" class="formfld unknown" id="gpsfudge1" min="-1" max="1" size="20" value="<?=htmlspecialchars($pconfig['fudge1']);?>">(<?php echo gettext("seconds");?>)<br>
458
				<input name="gpsfudge1" type="text" class="formfld unknown" id="gpsfudge1" min="-1" max="1" size="20" value="<?=htmlspecialchars($pconfig['fudge1']);?>">(<?php echo gettext("seconds");?>)<br />
459 459
				<?php echo gettext("Fudge time 1 is used to specify the GPS PPS signal offset");?> (<?php echo gettext("default");?>: 0.0).</td>
460 460
		</tr>
461 461
		<tr>
462 462
			<td width="22%" valign="top" class="vncellreq">Fudge time 2</td>
463 463
			<td width="78%" class="vtable">
464
				<input name="gpsfudge2" type="text" class="formfld unknown" id="gpsfudge2" min="-1" max="1" size="20" value="<?=htmlspecialchars($pconfig['fudge2']);?>">(<?php echo gettext("seconds");?>)<br>
464
				<input name="gpsfudge2" type="text" class="formfld unknown" id="gpsfudge2" min="-1" max="1" size="20" value="<?=htmlspecialchars($pconfig['fudge2']);?>">(<?php echo gettext("seconds");?>)<br />
465 465
				<?php echo gettext("Fudge time 2 is used to specify the GPS time offset");?> (<?php echo gettext("default");?>: 0.0).</td>
466 466
		</tr>
467 467
		<tr>
468 468
			<td width="22%" valign="top" class="vncellreq">Stratum</td>
469 469
			<td width="78%" class="vtable">
470
				<input name="gpsstratum" type="text" class="formfld unknown" id="gpsstratum" max="16" size="20" value="<?=htmlspecialchars($pconfig['stratum']);?>"><?php echo gettext("(0-16)");?><br>
470
				<input name="gpsstratum" type="text" class="formfld unknown" id="gpsstratum" max="16" size="20" value="<?=htmlspecialchars($pconfig['stratum']);?>"><?php echo gettext("(0-16)");?><br />
471 471
				<?php echo gettext("This may be used to change the GPS Clock stratum");?> (<?php echo gettext("default");?>: 0). <?php echo gettext("This may be useful if, for some reason, you want ntpd to prefer a different clock"); ?></td>
472 472
		</tr>
473 473
		<tr>
......
476 476
				<table>
477 477
					<tr>
478 478
						<td>
479
				<?php echo gettext("Normally there should be no need to change these options from the defaults."); ?></br>
479
				<?php echo gettext("Normally there should be no need to change these options from the defaults."); ?><br />
480 480
						</td>
481 481
					</tr>
482 482
				</table>
......
534 534
							<input name="gpssubsec" type="checkbox" class="formcheckbox" id="gpssubsec"<?php if($pconfig['subsec']) echo ' checked'; ?>>
535 535
						</td>
536 536
						<td>
537
							<span class="vexpl"><?php echo gettext("Log the sub-second fraction of the received time stamp (default: Not logged).<br/>Note: enabling this will rapidly fill the log, but is useful for tuning Fudge time 2."); ?></span>
537
							<span class="vexpl"><?php echo gettext("Log the sub-second fraction of the received time stamp (default: Not logged).<br />Note: enabling this will rapidly fill the log, but is useful for tuning Fudge time 2."); ?></span>
538 538
						</td>
539 539
					</tr>
540 540
				</table>
......
543 543
		<tr>
544 544
			<td width="22%" valign="top" class="vncellreq">Clock ID</td>
545 545
			<td width="78%" class="vtable">
546
				<input name="gpsrefid" type="text" class="formfld unknown" id="gpsrefid" maxlength= "4" size="20" value="<?=htmlspecialchars($pconfig['refid']);?>"><?php echo gettext("(1 to 4 charactors)");?><br>
546
				<input name="gpsrefid" type="text" class="formfld unknown" id="gpsrefid" maxlength= "4" size="20" value="<?=htmlspecialchars($pconfig['refid']);?>"><?php echo gettext("(1 to 4 charactors)");?><br />
547 547
				<?php echo gettext("This may be used to change the GPS Clock ID");?> (<?php echo gettext("default");?>: GPS).</td>
548 548
		</tr>
549 549
		<tr>

Also available in: Unified diff