summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-07-12 00:09:33 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-07-12 00:09:33 -0400
commitd5475741279b2a60bbcd9fc8aa6ffb4c0f39031e (patch)
tree18f85a06ff6ff4abe3833fe3fd35c13b706c8020
parentc662cc9d59835e302d559a34435c0c8ce3e55f8e (diff)
downloadpfsense-d5475741279b2a60bbcd9fc8aa6ffb4c0f39031e.zip
pfsense-d5475741279b2a60bbcd9fc8aa6ffb4c0f39031e.tar.gz
Cleanup HTML formatting
-rwxr-xr-xusr/local/www/firewall_nat_out.php47
1 files changed, 26 insertions, 21 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php
index c4f21c1..6137565 100755
--- a/usr/local/www/firewall_nat_out.php
+++ b/usr/local/www/firewall_nat_out.php
@@ -305,37 +305,29 @@ include("head.inc");
<tr>
<td>
<div id="mainarea">
- <table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0">
+ <table class="tabcont" width="100%" border="0" cellpadding="4" cellspacing="0">
+ <tr><td colspan="2"><b>Mode:</b></td></tr>
<tr>
- <td class="vtable"><p>
- <input name="advancedoripsec" type="radio" id="ipsecpassthru" value="ipsecpassthru" <?php if (isset($config['nat']['ipsecpassthru']['enable'])) echo "checked";?>>
- <strong><?=gettext("Automatic outbound NAT rule generation (IPsec passthrough)");?></strong></p>
+ <td>
+ &nbsp;&nbsp;<input name="advancedoripsec" type="radio" id="ipsecpassthru" value="ipsecpassthru" <?php if (isset($config['nat']['ipsecpassthru']['enable'])) echo "checked";?>>
+ <strong><?=gettext("Automatic outbound NAT rule generation (IPsec passthrough)");?></strong>
</td>
</tr>
<tr>
- <td class="vtable"><p>
- <input name="advancedoripsec" type="radio" id="advancedoutbound" value="advancedoutboundnat" <?php if (isset($config['nat']['advancedoutbound']['enable'])) echo "checked";?>>
- <strong><?=gettext("Manual Outbound NAT rule generation (Advanced Outbound NAT (AON))");?></strong></p></td>
+ <td>
+ &nbsp;&nbsp;<input name="advancedoripsec" type="radio" id="advancedoutbound" value="advancedoutboundnat" <?php if (isset($config['nat']['advancedoutbound']['enable'])) echo "checked";?>>
+ <strong><?=gettext("Manual Outbound NAT rule generation (Advanced Outbound NAT (AON))");?></strong></td>
</tr>
<tr>
- <td> <input name="save" type="submit" class="formbtn" value="Save">
+ <td class="vtable" >
+ <input name="save" type="submit" class="formbtn" value="Save">
+ &nbsp;<br/>&nbsp;
</td>
</tr>
- <tr>
- <td colspan="2"><p><span class="vexpl"><span class="red"><strong>Note:<br>
- </strong></span>If advanced outbound NAT is enabled, no outbound NAT
- rules will be automatically generated any longer. Instead, only the mappings
- you specify below will be used. With advanced outbound NAT disabled,
- a mapping is automatically created for each interface's subnet
- (except WAN). If you use target addresses other than the WAN interface's
- IP address, then depending on the way your WAN connection is setup, you
- may also need a <a href="firewall_virtual_ip.php">Virtual IP</a>.</span><br>
- <br>
- You may enter your own mappings below.</p>
- </td>
- </tr>
</table>
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr><td colspan="5"><b>&nbsp;Mappings:</b></td></tr>
+ <tr><td>&nbsp;</td></tr>
<tr id="frheader">
<td width="3%" class="list">&nbsp;</td>
<td width="3%" class="list">&nbsp;</td>
@@ -455,6 +447,19 @@ include("head.inc");
</tr>
</table></td>
</tr>
+ <tr>
+ <td colspan="12">
+ <p><span class="vexpl"><span class="red"><strong>Note:<br>
+ </strong></span>If advanced outbound NAT is enabled, no outbound NAT
+ rules will be automatically generated any longer. Instead, only the mappings
+ you specify below will be used. With advanced outbound NAT disabled,
+ a mapping is automatically created for each interface's subnet
+ (except WAN). If you use target addresses other than the WAN interface's
+ IP address, then depending on the way your WAN connection is setup, you
+ may also need a <a href="firewall_virtual_ip.php">Virtual IP</a>.</span><br>
+ </td>
+ </tr>
+
</table>
</div>
</td>
OpenPOWER on IntegriCloud