Commit b42fcd5f authored by azdps's avatar azdps Committed by Franco Fichtner

(legacy) description and consistency cleanup in firewall_virtual_ip_edit.php

(cherry picked from commit 63e7e176)
parent 9927434d
...@@ -263,7 +263,7 @@ $( document ).ready(function() { ...@@ -263,7 +263,7 @@ $( document ).ready(function() {
case "ipalias": case "ipalias":
$("#type").prop("selectedIndex",0); $("#type").prop("selectedIndex",0);
$("#subnet_bits").attr('disabled', false); $("#subnet_bits").attr('disabled', false);
$("#typenote").html("<?=gettext("Please provide a single IP address");?>"); $("#typenote").html("<?=gettext("Please provide a single IP address.");?>");
break; break;
case "carp": case "carp":
$("#type").prop("selectedIndex",0); $("#type").prop("selectedIndex",0);
...@@ -353,7 +353,7 @@ $( document ).ready(function() { ...@@ -353,7 +353,7 @@ $( document ).ready(function() {
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td><i class="fa fa-info-circle text-muted"></i> <?=gettext("Type:");?></td> <td><i class="fa fa-info-circle text-muted"></i> <?=gettext("Type");?></td>
<td> <td>
<select name="type" class="selectpicker" data-width="auto" id="type"> <select name="type" class="selectpicker" data-width="auto" id="type">
<option value="single" <?=(!empty($pconfig['subnet_bits']) && $pconfig['subnet_bits'] == 32) || !isset($pconfig['subnet']) ? "selected=\"selected\"" : "";?>> <option value="single" <?=(!empty($pconfig['subnet_bits']) && $pconfig['subnet_bits'] == 32) || !isset($pconfig['subnet']) ? "selected=\"selected\"" : "";?>>
...@@ -365,7 +365,7 @@ $( document ).ready(function() { ...@@ -365,7 +365,7 @@ $( document ).ready(function() {
</td> </td>
</tr> </tr>
<tr> <tr>
<td><a id="help_for_address" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Address:");?></td> <td><a id="help_for_address" href="#" class="showhelp"><i class="fa fa-info-circle"></i></a> <?=gettext("Address");?></td>
<td> <td>
<table border="0" cellspacing="0" cellpadding="0"> <table border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
...@@ -419,7 +419,7 @@ $( document ).ready(function() { ...@@ -419,7 +419,7 @@ $( document ).ready(function() {
<?php endfor; ?> <?php endfor; ?>
</select> </select>
<div class="hidden" for="help_for_vhid"> <div class="hidden" for="help_for_vhid">
<?=gettext("Enter the VHID group that the machines will share");?> <?=gettext("Enter the VHID group that the machines will share.");?>
</div> </div>
</td> </td>
</tr> </tr>
...@@ -445,7 +445,7 @@ $( document ).ready(function() { ...@@ -445,7 +445,7 @@ $( document ).ready(function() {
<div class="hidden" for="help_for_adv"> <div class="hidden" for="help_for_adv">
<br/> <br/>
<?=gettext("The frequency that this machine will advertise. 0 means usually master. Otherwise the lowest combination of both values in the cluster determines the master.");?> <?=gettext("The frequency that this machine will advertise. 0 usually means master. Otherwise the lowest combination of both values in the cluster determines the master.");?>
</div> </div>
</td> </td>
</tr> </tr>
...@@ -476,7 +476,7 @@ $( document ).ready(function() { ...@@ -476,7 +476,7 @@ $( document ).ready(function() {
<span class="text-danger"> <span class="text-danger">
<strong><?=gettext("Note:");?><br /></strong> <strong><?=gettext("Note:");?><br /></strong>
</span> </span>
<?=gettext("Proxy ARP and Other type Virtual IPs cannot be bound to by anything running on the firewall, such as IPsec, OpenVPN, etc. Use a CARP or IP Alias type address for these cases.");?> <?=gettext("Proxy ARP and other type Virtual IPs cannot be bound to by anything running on the firewall, such as IPsec, OpenVPN, etc. Use a CARP or IP Alias type address for these cases.");?>
<br /><br /> <br /><br />
<?=gettext("For more information on CARP and the above values, visit the OpenBSD ");?><a href='http://www.openbsd.org/faq/pf/carp.html'> <?=gettext("CARP FAQ"); ?></a>. <?=gettext("For more information on CARP and the above values, visit the OpenBSD ");?><a href='http://www.openbsd.org/faq/pf/carp.html'> <?=gettext("CARP FAQ"); ?></a>.
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment