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/system_gateways_edit.php
667 667
							echo ">" . gettext("Use BGPD") . "</option>";
668 668
						}
669 669
					?>
670
					</select><br/>
670
					</select><br />
671 671
					<span class="vexpl"><?=gettext("Choose which interface this gateway applies to."); ?></span>
672 672
				</td>
673 673
			</tr>
......
684 684
							echo ">" . htmlspecialchars($string) . "</option>\n";
685 685
						}
686 686
					?>
687
					</select><br/>
687
					</select><br />
688 688
					<span class="vexpl"><?=gettext("Choose the Internet Protocol this gateway uses."); ?></span>
689 689
				</td>
690 690
			</tr>
......
692 692
				<td width="22%" valign="top" class="vncellreq"><?=gettext("Name"); ?></td>
693 693
				<td width="78%" class="vtable">
694 694
					<input name="name" type="text" class="formfld unknown" id="name" size="20" value="<?=htmlspecialchars($pconfig['name']);?>" />
695
					<br/><span class="vexpl"><?=gettext("Gateway name"); ?></span>
695
					<br /><span class="vexpl"><?=gettext("Gateway name"); ?></span>
696 696
				</td>
697 697
			</tr>
698 698
			<tr>
699 699
				<td width="22%" valign="top" class="vncellreq"><?=gettext("Gateway"); ?></td>
700 700
				<td width="78%" class="vtable">
701 701
					<input name="gateway" type="text" class="formfld host" id="gateway" size="28" value="<?php if ($pconfig['dynamic']) echo "dynamic"; else echo htmlspecialchars($pconfig['gateway']); ?>" />
702
					<br/><span class="vexpl"><?=gettext("Gateway IP address"); ?></span>
702
					<br /><span class="vexpl"><?=gettext("Gateway IP address"); ?></span>
703 703
				</td>
704 704
			</tr>
705 705
			<tr>
......
777 777
									<?=gettext("To");?>
778 778
									<input name="latencyhigh" type="text" class="formfld unknown" id="latencyhigh" size="2"
779 779
										value="<?=htmlspecialchars($pconfig['latencyhigh']);?>" />
780
									<br/><span class="vexpl"><?=gettext(sprintf("Low and high thresholds for latency in milliseconds. Default is %d/%d.", $apinger_default['latencylow'], $apinger_default['latencyhigh']));?></span>
780
									<br /><span class="vexpl"><?=gettext(sprintf("Low and high thresholds for latency in milliseconds. Default is %d/%d.", $apinger_default['latencylow'], $apinger_default['latencyhigh']));?></span>
781 781
								</td>
782 782
							</tr>
783 783
							<tr>
......
797 797
								<td width="78%" class="vtable">
798 798
									<input name="interval" type="text" class="formfld unknown" id="interval" size="2"
799 799
										value="<?=htmlspecialchars($pconfig['interval']);?>" onchange="interval_change(this)" />
800
									<br/><span class="vexpl">
801
										<?=gettext(sprintf("How often that an ICMP probe will be sent in seconds. Default is %d.", $apinger_default['interval']));?><br/><br/>
800
									<br /><span class="vexpl">
801
										<?=gettext(sprintf("How often that an ICMP probe will be sent in seconds. Default is %d.", $apinger_default['interval']));?><br /><br />
802 802
										<?=gettext("NOTE: The quality graph is averaged over seconds, not intervals, so as the probe interval is increased the accuracy of the quality graph is decreased.");?>
803 803
									</span>
804 804
								</td>
......
808 808
								<td width="78%" class="vtable">
809 809
									<input name="down" type="text" class="formfld unknown" id="down" size="2"
810 810
										value="<?=htmlspecialchars($pconfig['down']);?>" />
811
									<br/><span class="vexpl"><?=gettext(sprintf("The number of seconds of failed probes before the alarm will fire. Default is %d.", $apinger_default['down']));?></span>
811
									<br /><span class="vexpl"><?=gettext(sprintf("The number of seconds of failed probes before the alarm will fire. Default is %d.", $apinger_default['down']));?></span>
812 812
								</td>
813 813
							</tr>
814 814
							<tr>
......
818 818
										value="<?=htmlspecialchars($pconfig['avg_delay_samples']);?>" onchange="samples_change(document.iform.avg_delay_samples_calculated, this)" /> 
819 819
									<input name="avg_delay_samples_calculated" type="checkbox" id="avg_delay_samples_calculated" value="yes" <?php if ($pconfig['avg_delay_samples_calculated'] == true) echo "checked=\"checked\""; ?> onclick="calculated_change(this, document.iform.avg_delay_samples)" />
820 820
										<?=gettext("Use calculated value."); ?>
821
									<br/><span class="vexpl"><?=gettext(sprintf("How many replies should be used to compute average delay for controlling \"delay\" alarms?  Default is %d.", $apinger_default['avg_delay_samples']));?><br/><br/></span>
821
									<br /><span class="vexpl"><?=gettext(sprintf("How many replies should be used to compute average delay for controlling \"delay\" alarms?  Default is %d.", $apinger_default['avg_delay_samples']));?><br /><br /></span>
822 822
								</td>
823 823
							</tr>
824 824
							<tr>
......
828 828
										value="<?=htmlspecialchars($pconfig['avg_loss_samples']);?>" onchange="samples_change(document.iform.avg_loss_samples_calculated, this)" />
829 829
									<input name="avg_loss_samples_calculated" type="checkbox" id="avg_loss_samples_calculated" value="yes" <?php if ($pconfig['avg_loss_samples_calculated'] == true) echo "checked=\"checked\""; ?> onclick="calculated_change(this, document.iform.avg_loss_samples)" />
830 830
										<?=gettext("Use calculated value."); ?>
831
									<br/><span class="vexpl"><?=gettext(sprintf("How many probes should be useds to compute average packet loss?  Default is %d.", $apinger_default['avg_loss_samples']));?><br/><br/></span>
831
									<br /><span class="vexpl"><?=gettext(sprintf("How many probes should be useds to compute average packet loss?  Default is %d.", $apinger_default['avg_loss_samples']));?><br /><br /></span>
832 832
								</td>
833 833
							</tr>
834 834
							<tr>
......
838 838
										value="<?=htmlspecialchars($pconfig['avg_loss_delay_samples']);?>" onchange="samples_change(document.iform.avg_loss_delay_samples_calculated, this)" />
839 839
									<input name="avg_loss_delay_samples_calculated" type="checkbox" id="avg_loss_delay_samples_calculated" value="yes" <?php if ($pconfig['avg_loss_delay_samples_calculated'] == true) echo "checked=\"checked\""; ?> onclick="calculated_change(this, document.iform.avg_loss_delay_samples)" />
840 840
										<?=gettext("Use calculated value."); ?>
841
									<br/><span class="vexpl"><?=gettext(sprintf("The delay (in qty of probe samples) after which loss is computed.  Without this, delays longer than the probe interval would be treated as packet loss.  Default is %d.", $apinger_default['avg_loss_delay_samples']));?><br/><br/></span>
841
									<br /><span class="vexpl"><?=gettext(sprintf("The delay (in qty of probe samples) after which loss is computed.  Without this, delays longer than the probe interval would be treated as packet loss.  Default is %d.", $apinger_default['avg_loss_delay_samples']));?><br /><br /></span>
842 842
								</td>
843 843
							</tr>
844 844
							<tr>
845 845
								<td colspan="2">
846
									<?= gettext("The probe interval must be less than the down time, otherwise the gateway will seem to go down then come up again at the next probe."); ?><br/><br/>
847
									<?= gettext("The down time defines the length of time before the gateway is marked as down, but the accuracy is controlled by the probe interval. For example, if your down time is 40 seconds but on a 30 second probe interval, only one probe would have to fail before the gateway is marked down at the 40 second mark. By default, the gateway is considered down after 10 seconds, and the probe interval is 1 second, so 10 probes would have to fail before the gateway is marked down."); ?><br/>
846
									<?= gettext("The probe interval must be less than the down time, otherwise the gateway will seem to go down then come up again at the next probe."); ?><br /><br />
847
									<?= gettext("The down time defines the length of time before the gateway is marked as down, but the accuracy is controlled by the probe interval. For example, if your down time is 40 seconds but on a 30 second probe interval, only one probe would have to fail before the gateway is marked down at the 40 second mark. By default, the gateway is considered down after 10 seconds, and the probe interval is 1 second, so 10 probes would have to fail before the gateway is marked down."); ?><br />
848 848
								</td>
849 849
							</tr>
850 850
						</table>
......
855 855
				<td width="22%" valign="top" class="vncell"><?=gettext("Description"); ?></td>
856 856
				<td width="78%" class="vtable">
857 857
					<input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>" />
858
					<br/><span class="vexpl"><?=gettext("You may enter a description here for your reference (not parsed)"); ?>.</span>
858
					<br /><span class="vexpl"><?=gettext("You may enter a description here for your reference (not parsed)"); ?>.</span>
859 859
				</td>
860 860
			</tr>
861 861
			<tr>

Also available in: Unified diff