diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2004-11-19 18:40:22 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2004-11-19 18:40:22 +0000 |
commit | 19ae092972b6d541d67d0291efa776b3ae295086 (patch) | |
tree | ce3bf3f0bca2c4f9b9499ad7ec07836cef03bbe0 /usr/local/www/firewall_nat_out.php | |
parent | 8450bc24d37c80ffc22ea872eef3109a49abab10 (diff) | |
download | pfsense-19ae092972b6d541d67d0291efa776b3ae295086.zip pfsense-19ae092972b6d541d67d0291efa776b3ae295086.tar.gz |
Convert description font color to white
Diffstat (limited to 'usr/local/www/firewall_nat_out.php')
-rwxr-xr-x | usr/local/www/firewall_nat_out.php | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php index 978f3b3..3b2c046 100755 --- a/usr/local/www/firewall_nat_out.php +++ b/usr/local/www/firewall_nat_out.php @@ -1,22 +1,22 @@ #!/usr/local/bin/php -<?php +<?php /* firewall_nat_out.php part of m0n0wall (http://m0n0.ch/wall) - + Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>. All rights reserved. - + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE @@ -33,7 +33,7 @@ require("guiconfig.inc"); if (!is_array($config['nat']['advancedoutbound']['rule'])) $config['nat']['advancedoutbound']['rule'] = array(); - + $a_out = &$config['nat']['advancedoutbound']['rule']; nat_out_rules_sort(); @@ -43,16 +43,16 @@ if ($_POST) { $config['nat']['advancedoutbound']['enable'] = ($_POST['enable']) ? true : false; write_config(); - + $retval = 0; - + if (!file_exists($d_sysrebootreqd_path)) { config_lock(); $retval |= filter_configure(); config_unlock(); } $savemsg = get_std_save_message($retval); - + if ($retval == 0) { if (file_exists($d_natconfdirty_path)) unlink($d_natconfdirty_path); @@ -96,17 +96,17 @@ if ($_GET['act'] == "del") { <li class="tabact">Outbound</li> </ul> </td></tr> - <tr> + <tr> <td class="tabcont"> <table width="100%" border="0" cellpadding="6" cellspacing="0"> - <tr> + <tr> <td class="vtable"><p> <input name="enable" type="checkbox" id="enable" value="yes" <?php if (isset($config['nat']['advancedoutbound']['enable'])) echo "checked";?>> <strong>Enable advanced outbound NAT<br> </strong></p></td> </tr> - <tr> - <td> <input name="submit" type="submit" class="formbtn" value="Save"> + <tr> + <td> <input name="submit" type="submit" class="formbtn" value="Save"> </td> </tr> <tr> @@ -123,7 +123,7 @@ if ($_GET['act'] == "del") { </table> <br> <table width="100%" border="0" cellpadding="0" cellspacing="0"> - <tr> + <tr> <td width="10%" class="listhdrr">Interface</td> <td width="20%" class="listhdrr">Source</td> <td width="20%" class="listhdrr">Destination</td> @@ -132,19 +132,19 @@ if ($_GET['act'] == "del") { <td width="5%" class="list"></td> </tr> <?php $i = 0; foreach ($a_out as $natent): ?> - <tr> + <tr> <td class="listlr"> <?php if (!$natent['interface'] || ($natent['interface'] == "wan")) echo "WAN"; else - echo htmlspecialchars($config['interfaces'][$natent['interface']]['descr']); + htmlspecialchars($config['interfaces'][$natent['interface']]['descr']); ?> </td> - <td class="listr"> + <td class="listr"> <?=$natent['source']['network'];?> </td> - <td class="listr"> + <td class="listr"> <?php if (isset($natent['destination']['any'])) echo "*"; @@ -155,7 +155,7 @@ if ($_GET['act'] == "del") { } ?> </td> - <td class="listr"> + <td class="listr"> <?php if (!$natent['target']) echo "*"; @@ -163,14 +163,14 @@ if ($_GET['act'] == "del") { echo $natent['target']; ?> </td> - <td class="listbg"> - <?=htmlspecialchars($natent['descr']);?> + <td class="listbg"> + <font color="#FFFFFF"><?=htmlspecialchars($natent['descr']);?> </td> <td class="list" nowrap> <a href="firewall_nat_out_edit.php?id=<?=$i;?>"><img src="e.gif" width="17" height="17" border="0"></a> <a href="firewall_nat_out.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this mapping?')"><img src="x.gif" width="17" height="17" border="0"></a></td> </tr> <?php $i++; endforeach; ?> - <tr> + <tr> <td class="list" colspan="5"></td> <td class="list"> <a href="firewall_nat_out_edit.php"><img src="plus.gif" width="17" height="17" border="0"></a></td> </tr> |