summaryrefslogtreecommitdiffstats
path: root/usr
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
parent8450bc24d37c80ffc22ea872eef3109a49abab10 (diff)
downloadpfsense-19ae092972b6d541d67d0291efa776b3ae295086.zip
pfsense-19ae092972b6d541d67d0291efa776b3ae295086.tar.gz
Convert description font color to white
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_nat_1to1.php30
-rwxr-xr-xusr/local/www/firewall_nat_out.php46
-rwxr-xr-xusr/local/www/firewall_nat_server.php30
3 files changed, 53 insertions, 53 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>
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>
&nbsp;<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']);?>&nbsp;
+ <td class="listbg">
+ <font color="#FFFFFF"><?=htmlspecialchars($natent['descr']);?>&nbsp;
</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>
&nbsp;<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>
diff --git a/usr/local/www/firewall_nat_server.php b/usr/local/www/firewall_nat_server.php
index 11f44b6..584e0ad 100755
--- a/usr/local/www/firewall_nat_server.php
+++ b/usr/local/www/firewall_nat_server.php
@@ -1,22 +1,22 @@
#!/usr/local/bin/php
-<?php
+<?php
/*
firewall_nat_server.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);
@@ -70,7 +70,7 @@ if ($_GET['act'] == "del") {
}
}
}
-
+
if (!$input_errors) {
unset($a_snat[$_GET['id']]);
write_config();
@@ -107,27 +107,27 @@ 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="80%" border="0" cellpadding="0" cellspacing="0">
- <tr>
+ <tr>
<td width="40%" class="listhdrr">External IP address</td>
<td width="50%" class="listhdr">Description</td>
<td width="10%" class="list"></td>
</tr>
<?php $i = 0; foreach ($a_snat as $natent): ?>
- <tr>
- <td class="listlr">
+ <tr>
+ <td class="listlr">
<?=$natent['ipaddr'];?>
</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_server_edit.php?id=<?=$i;?>"><img src="e.gif" width="17" height="17" border="0"></a>
&nbsp;<a href="firewall_nat_server.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this entry?')"><img src="x.gif" width="17" height="17" border="0"></a></td>
</tr>
<?php $i++; endforeach; ?>
- <tr>
+ <tr>
<td class="list" colspan="2"></td>
<td class="list"> <a href="firewall_nat_server_edit.php"><img src="plus.gif" width="17" height="17" border="0"></a></td>
</tr>
OpenPOWER on IntegriCloud