<?phpprint_info_box_np(sprintf(gettext("The gateway configuration has been changed.%sYou must apply the changes in order for them to take effect."),"<br />"));?><br/><br/>
<td><ahref="system_gateway_groups.php?act=del&id=<?=$i;?>"onclick="return confirm('<?=gettext("Do you really want to delete this gateway group?");?>')"class="btn btn-default btn-xs"><spanclass="glyphicon glyphicon-remove"></span></a></td>
?>"onclick="return confirm('<?=gettext("Do you really want to delete this gateway group?");?>')"class="btn btn-default btn-xs"><spanclass="glyphicon glyphicon-remove"></span></a></td>
</tr>
<tr>
<tdwidth="17"></td>
...
...
@@ -183,12 +189,15 @@ $main_buttons = array(
</table>
</td>
</tr>
<?php$i++;endforeach;?>
<?php$i++;
endforeach;?>
<trstyle="display:none;"><td></td></tr>
</tbody>
</table>
</div>
<p><b><?=gettext("Note:");?></b><?=gettext("Remember to use these Gateway Groups in firewall rules in order to enable load balancing, failover, or policy-based routing. Without rules directing traffic into the Gateway Groups, they will not be used.");?></p>
<p><b><?=gettext("Note:");
?></b><?=gettext("Remember to use these Gateway Groups in firewall rules in order to enable load balancing, failover, or policy-based routing. Without rules directing traffic into the Gateway Groups, they will not be used.");?></p>
if(is_subsystem_dirty('staticroutes'))print_info_box_np(gettext("The gateway configuration has been changed.")."<br />".gettext("You must apply the changes in order for them to take effect."));
if($input_errors){
print_input_errors($input_errors);
}
if($savemsg){
print_info_box($savemsg);
}
if(is_subsystem_dirty('staticroutes')){
print_info_box_np(gettext("The gateway configuration has been changed.")."<br />".gettext("You must apply the changes in order for them to take effect."));
<spanclass="glyphicon glyphicon-remove text-muted"data-toggle="tooltip"data-placement="left"title="<?=gettext("This gateway is inactive because interface is missing");?>"></span>
<?php
elseif(is_numeric($gateway['attribute'])):
elseif(is_numeric($gateway['attribute'])):
?>
<ahref="?act=toggle&id=<?=$i;?>"data-toggle="tooltip"data-placement="left"title="<?=gettext("click to toggle enabled/disabled status");?>">
<ahref="?act=toggle&id=<?=$i;
?>"data-toggle="tooltip"data-placement="left"title="<?=gettext("click to toggle enabled/disabled status");?>">
<ahref="system_gateways.php?act=del&id=<?=$i;?>"onclick="return confirm('<?=gettext("Do you really want to delete this gateway?");?>')"class="btn btn-default btn-xs"data-toggle="tooltip"data-placement="left"title="<?=gettext("Delete Gateway");?>">
<ahref="system_gateways.php?act=del&id=<?=$i;
?>"onclick="return confirm('<?=gettext("Do you really want to delete this gateway?");
<ahref="system_gateways_edit.php?dup=<?=$i;?>"class="btn btn-default btn-xs"data-toggle="tooltip"data-placement="left"title="<?=gettext("Add Gateway based on this one");?>">
<ahref="system_gateways_edit.php?dup=<?=$i;
?>"class="btn btn-default btn-xs"data-toggle="tooltip"data-placement="left"title="<?=gettext("Add Gateway based on this one");?>">
$input_errors[]=gettext(sprintf("The low latency threshold needs to be less than the default high latency threshold (%d)",$apinger_default['latencyhigh']));
$input_errors[]=gettext(sprintf("The high latency threshold needs to be higher than the default low latency threshold (%d)",$apinger_default['latencylow']));
$input_errors[]=gettext(sprintf("The low Packet Loss threshold needs to be less than the default high Packet Loss threshold (%d)",$apinger_default['losshigh']));
$input_errors[]=gettext(sprintf("The high Packet Loss threshold needs to be higher than the default low Packet Loss threshold (%d)",$apinger_default['losslow']));
}
}
}
}
if($_POST['interval']){
if($_POST['interval']){
if(!is_numeric($_POST['interval'])){
$input_errors[]=gettext("The probe interval needs to be a numeric value.");
}else{
...
...
@@ -336,7 +350,7 @@ if ($_POST) {
}
}
if($_POST['down']){
if($_POST['down']){
if(!is_numeric($_POST['down'])){
$input_errors[]=gettext("The down time setting needs to be a numeric value.");
<br/><spanclass="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>
<br/><spanclass="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>
<br/><spanclass="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>