summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_1to1.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-11-19 18:40:22 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-11-19 18:40:22 +0000
commit19ae092972b6d541d67d0291efa776b3ae295086 (patch)
treece3bf3f0bca2c4f9b9499ad7ec07836cef03bbe0 /usr/local/www/firewall_nat_1to1.php
parent8450bc24d37c80ffc22ea872eef3109a49abab10 (diff)
downloadpfsense-19ae092972b6d541d67d0291efa776b3ae295086.zip
pfsense-19ae092972b6d541d67d0291efa776b3ae295086.tar.gz
Convert description font color to white
Diffstat (limited to 'usr/local/www/firewall_nat_1to1.php')
-rwxr-xr-xusr/local/www/firewall_nat_1to1.php30
1 files changed, 15 insertions, 15 deletions
diff --git a/usr/local/www/firewall_nat_1to1.php b/usr/local/www/firewall_nat_1to1.php
index f4d2e20..c303734 100755
--- a/usr/local/www/firewall_nat_1to1.php
+++ b/usr/local/www/firewall_nat_1to1.php
@@ -1,22 +1,22 @@
#!/usr/local/bin/php
-<?php
+<?php
/*
firewall_nat_1to1.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
@@ -49,7 +49,7 @@ if ($_POST) {
config_unlock();
}
$savemsg = get_std_save_message($retval);
-
+
if ($retval == 0) {
if (file_exists($d_natconfdirty_path))
unlink($d_natconfdirty_path);
@@ -94,10 +94,10 @@ if ($_GET['act'] == "del") {
<li class="tabinact"><a href="firewall_nat_out.php">Outbound</a></li>
</ul>
</td></tr>
- <tr>
+ <tr>
<td class="tabcont">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
+ <tr>
<td width="10%" class="listhdrr">Interface</td>
<td width="20%" class="listhdrr">External IP</td>
<td width="20%" class="listhdrr">Internal IP</td>
@@ -105,7 +105,7 @@ if ($_GET['act'] == "del") {
<td width="10%" class="list"></td>
</tr>
<?php $i = 0; foreach ($a_1to1 as $natent): ?>
- <tr>
+ <tr>
<td class="listlr">
<?php
if (!$natent['interface'] || ($natent['interface'] == "wan"))
@@ -114,22 +114,22 @@ if ($_GET['act'] == "del") {
echo htmlspecialchars($config['interfaces'][$natent['interface']]['descr']);
?>
</td>
- <td class="listr">
+ <td class="listr">
<?php echo $natent['external'];
if ($natent['subnet']) echo "/" . $natent['subnet']; ?>
</td>
- <td class="listr">
+ <td class="listr">
<?php echo $natent['internal'];
if ($natent['subnet']) echo "/" . $natent['subnet']; ?>
</td>
- <td class="listbg">
- <?=htmlspecialchars($natent['descr']);?>&nbsp;
+ <td class="listbg">
+ <font color="#ffffff"><?=htmlspecialchars($natent['descr']);?>&nbsp;
</td>
<td class="list" nowrap> <a href="firewall_nat_1to1_edit.php?id=<?=$i;?>"><img src="e.gif" width="17" height="17" border="0"></a>
&nbsp;<a href="firewall_nat_1to1.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="4"></td>
<td class="list"> <a href="firewall_nat_1to1_edit.php"><img src="plus.gif" width="17" height="17" border="0"></a></td>
</tr>
OpenPOWER on IntegriCloud