Project

General

Profile

« Previous | Next » 

Revision f0fe3d30

Added by Scott Ullrich over 20 years ago

Convert description font color to white

View differences:

usr/local/www/firewall_aliases.php
3 3
/*
4 4
	firewall_aliases.php
5 5
	part of m0n0wall (http://m0n0.ch/wall)
6
	
6

  
7 7
	Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
8 8
	All rights reserved.
9
	
9

  
10 10
	Redistribution and use in source and binary forms, with or without
11 11
	modification, are permitted provided that the following conditions are met:
12
	
12

  
13 13
	1. Redistributions of source code must retain the above copyright notice,
14 14
	   this list of conditions and the following disclaimer.
15
	
15

  
16 16
	2. Redistributions in binary form must reproduce the above copyright
17 17
	   notice, this list of conditions and the following disclaimer in the
18 18
	   documentation and/or other materials provided with the distribution.
19
	
19

  
20 20
	THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
21 21
	INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
22 22
	AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
......
101 101
                    <?=htmlspecialchars($alias['address']);?>
102 102
                  </td>
103 103
                  <td class="listbg">
104
                    <?=htmlspecialchars($alias['descr']);?>&nbsp;
104
                    <font color="#FFFFFF"><?=htmlspecialchars($alias['descr']);?>&nbsp;
105 105
                  </td>
106 106
                  <td valign="middle" nowrap class="list"> <a href="firewall_aliases_edit.php?id=<?=$i;?>"><img src="e.gif" width="17" height="17" border="0"></a>
107 107
                     &nbsp;<a href="firewall_aliases.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this alias? All elements that still use it will become invalid (e.g. filter rules)!')"><img src="x.gif" width="17" height="17" border="0"></a></td>
108 108
				</tr>
109 109
			  <?php $i++; endforeach; ?>
110
                <tr> 
110
                <tr>
111 111
                  <td class="list" colspan="3"></td>
112 112
                  <td class="list"> <a href="firewall_aliases_edit.php"><img src="plus.gif" width="17" height="17" border="0"></a></td>
113 113
				</tr>
114 114
              </table>
115 115
            </form>
116 116
<p><span class="vexpl"><span class="red"><strong>Note:<br>
117
                </strong></span>Aliases act as placeholders for real IP addresses 
118
                and can be used to minimize the number of changes that have to 
119
                be made if a host or network address changes. You can enter the 
120
                name of an alias instead of an IP address in all address fields 
121
                that have a blue background. The alias will be resolved to its 
122
                current address according to the list below. If an alias cannot 
123
                be resolved (e.g. because you deleted it), the corresponding element 
117
                </strong></span>Aliases act as placeholders for real IP addresses
118
                and can be used to minimize the number of changes that have to
119
                be made if a host or network address changes. You can enter the
120
                name of an alias instead of an IP address in all address fields
121
                that have a blue background. The alias will be resolved to its
122
                current address according to the list below. If an alias cannot
123
                be resolved (e.g. because you deleted it), the corresponding element
124 124
                (e.g. filter/NAT/shaper rule) will be considered invalid and skipped.</span></p>
125 125
<?php include("fend.inc"); ?>
126 126
</body>
usr/local/www/services_captiveportal_ip.php
3 3
/*
4 4
	services_captiveportal_ip.php
5 5
	part of m0n0wall (http://m0n0.ch/wall)
6
	
6

  
7 7
	Copyright (C) 2004 Dinesh Nair <dinesh@alphaque.com>
8 8
	All rights reserved.
9
	
9

  
10 10
	Redistribution and use in source and binary forms, with or without
11 11
	modification, are permitted provided that the following conditions are met:
12
	
12

  
13 13
	1. Redistributions of source code must retain the above copyright notice,
14 14
	   this list of conditions and the following disclaimer.
15
	
15

  
16 16
	2. Redistributions in binary form must reproduce the above copyright
17 17
	   notice, this list of conditions and the following disclaimer in the
18 18
	   documentation and/or other materials provided with the distribution.
19
	
19

  
20 20
	THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
21 21
	INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
22 22
	AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
......
103 103
  <?php $i = 0; foreach ($a_allowedips as $ip): ?>
104 104
	<tr>
105 105
	  <td class="listlr">
106
		<?php if($ip['dir'] == "to") 
106
		<?php if($ip['dir'] == "to")
107 107
			echo "any <img src=\"in.gif\" width=\"11\" height=\"11\" align=\"absmiddle\">";
108
		?>	
108
		?>
109 109
		<?=strtolower($ip['ip']);?>
110
		<?php if($ip['dir'] == "from") 
110
		<?php if($ip['dir'] == "from")
111 111
			echo "<img src=\"in.gif\" width=\"11\" height=\"11\" align=\"absmiddle\"> any";
112
		?>	
112
		?>
113 113
	  </td>
114 114
	  <td class="listbg">
115
		<?=htmlspecialchars($ip['descr']);?>&nbsp;
115
		<font color="#FFFFFF"><?=htmlspecialchars($ip['descr']);?>&nbsp;
116 116
	  </td>
117 117
	  <td valign="middle" nowrap class="list"> <a href="services_captiveportal_ip_edit.php?id=<?=$i;?>"><img src="e.gif" width="17" height="17" border="0"></a>
118 118
		 &nbsp;<a href="services_captiveportal_ip.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this address?')"><img src="x.gif" width="17" height="17" border="0"></a></td>
119 119
	</tr>
120 120
  <?php $i++; endforeach; ?>
121
	<tr> 
121
	<tr>
122 122
	  <td class="list" colspan="2">&nbsp;</td>
123 123
	  <td class="list"> <a href="services_captiveportal_ip_edit.php"><img src="plus.gif" width="17" height="17" border="0"></a></td>
124 124
	</tr>
usr/local/www/services_captiveportal_mac.php
3 3
/*
4 4
	services_captiveportal_mac.php
5 5
	part of m0n0wall (http://m0n0.ch/wall)
6
	
6

  
7 7
	Copyright (C) 2004 Dinesh Nair <dinesh@alphaque.com>
8 8
	All rights reserved.
9
	
9

  
10 10
	Redistribution and use in source and binary forms, with or without
11 11
	modification, are permitted provided that the following conditions are met:
12
	
12

  
13 13
	1. Redistributions of source code must retain the above copyright notice,
14 14
	   this list of conditions and the following disclaimer.
15
	
15

  
16 16
	2. Redistributions in binary form must reproduce the above copyright
17 17
	   notice, this list of conditions and the following disclaimer in the
18 18
	   documentation and/or other materials provided with the distribution.
19
	
19

  
20 20
	THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
21 21
	INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
22 22
	AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
......
106 106
		<?=strtolower($mac['mac']);?>
107 107
	  </td>
108 108
	  <td class="listbg">
109
		<?=htmlspecialchars($mac['descr']);?>&nbsp;
109
		<font color="#FFFFFF"><?=htmlspecialchars($mac['descr']);?>&nbsp;
110 110
	  </td>
111 111
	  <td valign="middle" nowrap class="list"> <a href="services_captiveportal_mac_edit.php?id=<?=$i;?>"><img src="e.gif" width="17" height="17" border="0"></a>
112 112
		 &nbsp;<a href="services_captiveportal_mac.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this host?')"><img src="x.gif" width="17" height="17" border="0"></a></td>
113 113
	</tr>
114 114
  <?php $i++; endforeach; ?>
115
	<tr> 
115
	<tr>
116 116
	  <td class="list" colspan="2">&nbsp;</td>
117 117
	  <td class="list"> <a href="services_captiveportal_mac_edit.php"><img src="plus.gif" width="17" height="17" border="0"></a></td>
118 118
	</tr>
usr/local/www/services_dnsmasq.php
3 3
/*
4 4
	services_dnsmasq.php
5 5
	part of m0n0wall (http://m0n0.ch/wall)
6
	
6

  
7 7
	Copyright (C) 2003-2004 Bob Zoller <bob@kludgebox.com> and Manuel Kasper <mk@neon1.net>.
8 8
	All rights reserved.
9
	
9

  
10 10
	Redistribution and use in source and binary forms, with or without
11 11
	modification, are permitted provided that the following conditions are met:
12
	
12

  
13 13
	1. Redistributions of source code must retain the above copyright notice,
14 14
	   this list of conditions and the following disclaimer.
15
	
15

  
16 16
	2. Redistributions in binary form must reproduce the above copyright
17 17
	   notice, this list of conditions and the following disclaimer in the
18 18
	   documentation and/or other materials provided with the distribution.
19
	
19

  
20 20
	THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
21 21
	INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
22 22
	AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
......
48 48
	$config['dnsmasq']['regdhcp'] = ($_POST['regdhcp']) ? true : false;
49 49

  
50 50
	write_config();
51
	
51

  
52 52
	$retval = 0;
53 53
	if (!file_exists($d_sysrebootreqd_path)) {
54 54
		config_lock();
......
91 91
<input name="apply" type="submit" class="formbtn" id="apply" value="Apply changes"></p>
92 92
<?php endif; ?>
93 93
			  <table width="100%" border="0" cellpadding="6" cellspacing="0">
94
                <tr> 
95
                  <td class="vtable"><p> 
94
                <tr>
95
                  <td class="vtable"><p>
96 96
                      <input name="enable" type="checkbox" id="enable" value="yes" <?php if ($pconfig['enable'] == "yes") echo "checked";?>>
97 97
                      <strong>Enable DNS forwarder<br>
98 98
                      </strong></p></td>
99 99
                </tr>
100
                <tr> 
101
                  <td class="vtable"><p> 
100
                <tr>
101
                  <td class="vtable"><p>
102 102
                      <input name="regdhcp" type="checkbox" id="regdhcp" value="yes" <?php if ($pconfig['regdhcp'] == "yes") echo "checked";?>>
103 103
                      <strong>Register DHCP leases in DNS forwarder<br>
104
                      </strong>If this option is set, then machines that specify 
105
                      their hostname when requesting a DHCP lease will be registered 
106
                      in the DNS forwarder, so that their name can be resolved. 
107
                      You should also set the domain in <a href="system.php">System: 
104
                      </strong>If this option is set, then machines that specify
105
                      their hostname when requesting a DHCP lease will be registered
106
                      in the DNS forwarder, so that their name can be resolved.
107
                      You should also set the domain in <a href="system.php">System:
108 108
                      General setup</a> to the proper value.</p>
109 109
                    </td>
110 110
                </tr>
111
                <tr> 
112
                  <td> <input name="submit" type="submit" class="formbtn" value="Save"> 
111
                <tr>
112
                  <td> <input name="submit" type="submit" class="formbtn" value="Save">
113 113
                  </td>
114 114
                </tr>
115
                <tr> 
115
                <tr>
116 116
                  <td><p><span class="vexpl"><span class="red"><strong>Note:<br>
117
                      </strong></span>If the DNS forwarder is enabled, the DHCP 
118
                      service (if enabled) will automatically serve the LAN IP 
119
                      address as a DNS server to DHCP clients so they will use 
120
                      the forwarder. The DNS forwarder will use the DNS servers 
121
                      entered in <a href="system.php">System: General setup</a> 
122
                      or those obtained via DHCP or PPP on WAN if the &quot;Allow 
123
                      DNS server list to be overridden by DHCP/PPP on WAN&quot;</span> 
124
                      is checked. If you don't use that option (or if you use 
125
                      a static IP address on WAN), you must manually specify at 
126
                      least one DNS server on the <a href="system.php">System: 
117
                      </strong></span>If the DNS forwarder is enabled, the DHCP
118
                      service (if enabled) will automatically serve the LAN IP
119
                      address as a DNS server to DHCP clients so they will use
120
                      the forwarder. The DNS forwarder will use the DNS servers
121
                      entered in <a href="system.php">System: General setup</a>
122
                      or those obtained via DHCP or PPP on WAN if the &quot;Allow
123
                      DNS server list to be overridden by DHCP/PPP on WAN&quot;</span>
124
                      is checked. If you don't use that option (or if you use
125
                      a static IP address on WAN), you must manually specify at
126
                      least one DNS server on the <a href="system.php">System:
127 127
                      General setup</a> page.<br>
128 128
                      <br>
129
                      You may enter records that override the results from the 
129
                      You may enter records that override the results from the
130 130
                      forwarders below.</p></td>
131 131
                </tr>
132 132
              </table>
......
151 151
                    <?=$hostent['ip'];?>&nbsp;
152 152
                  </td>
153 153
                  <td class="listbg">
154
                    <?=htmlspecialchars($hostent['descr']);?>&nbsp;
154
                    <font color="#FFFFFF"><?=htmlspecialchars($hostent['descr']);?>&nbsp;
155 155
                  </td>
156 156
                  <td valign="middle" nowrap class="list"> <a href="services_dnsmasq_edit.php?id=<?=$i;?>"><img src="e.gif" width="17" height="17" border="0"></a>
157 157
                     &nbsp;<a href="services_dnsmasq.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this host?')"><img src="x.gif" width="17" height="17" border="0"></a></td>
158 158
				</tr>
159 159
			  <?php $i++; endforeach; ?>
160
                <tr> 
160
                <tr>
161 161
                  <td class="list" colspan="4"></td>
162 162
                  <td class="list"> <a href="services_dnsmasq_edit.php"><img src="plus.gif" width="17" height="17" border="0"></a></td>
163 163
				</tr>
usr/local/www/services_proxyarp.php
3 3
/*
4 4
	services_proxyarp.php
5 5
	part of m0n0wall (http://m0n0.ch/wall)
6
	
6

  
7 7
	Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
8 8
	All rights reserved.
9
	
9

  
10 10
	Redistribution and use in source and binary forms, with or without
11 11
	modification, are permitted provided that the following conditions are met:
12
	
12

  
13 13
	1. Redistributions of source code must retain the above copyright notice,
14 14
	   this list of conditions and the following disclaimer.
15
	
15

  
16 16
	2. Redistributions in binary form must reproduce the above copyright
17 17
	   notice, this list of conditions and the following disclaimer in the
18 18
	   documentation and/or other materials provided with the distribution.
19
	
19

  
20 20
	THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
21 21
	INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
22 22
	AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
......
39 39

  
40 40
if ($_POST) {
41 41
	$pconfig = $_POST;
42
	
42

  
43 43
	$retval = 0;
44 44
	if (!file_exists($d_sysrebootreqd_path)) {
45 45
		config_lock();
......
101 101
                    ?>&nbsp;
102 102
                  </td>
103 103
                  <td class="listbg">
104
                    <?=htmlspecialchars($arpent['descr']);?>&nbsp;
104
                    <font color="#FFFFFF"><?=htmlspecialchars($arpent['descr']);?>&nbsp;
105 105
                  </td>
106 106
                  <td valign="middle" nowrap class="list"> <a href="services_proxyarp_edit.php?id=<?=$i;?>"><img src="e.gif" width="17" height="17" border="0"></a>
107 107
                     &nbsp;<a href="services_proxyarp.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this network?')"><img src="x.gif" width="17" height="17" border="0"></a></td>
108 108
				</tr>
109 109
			  <?php $i++; endforeach; ?>
110
                <tr> 
110
                <tr>
111 111
                  <td class="list" colspan="2"></td>
112 112
                  <td class="list"> <a href="services_proxyarp_edit.php"><img src="plus.gif" width="17" height="17" border="0"></a></td>
113 113
				</tr>
usr/local/www/services_wol.php
39 39

  
40 40
if ($_POST || $_GET['mac']) {
41 41
	unset($input_errors);
42
	
42

  
43 43
	if ($_GET['mac']) {
44 44
		$mac = $_GET['mac'];
45 45
		$if = $_GET['if'];
......
54 54
	if (!$if)
55 55
		$input_errors[] = "A valid interface must be specified.";
56 56

  
57
	if (!$input_errors) {		
57
	if (!$input_errors) {
58 58
		/* determine broadcast address */
59 59
		$bcip = gen_subnet_max($config['interfaces'][$if]['ipaddr'],
60 60
			$config['interfaces'][$if]['subnet']);
61
		
61

  
62 62
		mwexec("/usr/local/bin/wol -i {$bcip} {$mac}");
63 63
		$savemsg = "Sent magic packet to {$mac}.";
64 64
	}
......
88 88
<?php if ($savemsg) print_info_box($savemsg); ?>
89 89
			<form action="services_wol.php" method="post" name="iform" id="iform">
90 90
			  <table width="100%" border="0" cellpadding="6" cellspacing="0">
91
			  <tr> 
91
			  <tr>
92 92
                  <td width="22%" valign="top" class="vncellreq">Interface</td>
93 93
                  <td width="78%" class="vtable">
94 94
<select name="interface" class="formfld">
......
99 99
					  		$interfaces['opt' . $i] = $config['interfaces']['opt' . $i]['descr'];
100 100
					  }
101 101
					  foreach ($interfaces as $iface => $ifacename): ?>
102
                      <option value="<?=$iface;?>" <?php if ($iface == $if) echo "selected"; ?>> 
102
                      <option value="<?=$iface;?>" <?php if ($iface == $if) echo "selected"; ?>>
103 103
                      <?=htmlspecialchars($ifacename);?>
104 104
                      </option>
105 105
                      <?php endforeach; ?>
......
114 114
                      Enter a MAC address <span class="vexpl"> in the following format: xx:xx:xx:xx:xx:xx</span></td></tr>
115 115
				<tr>
116 116
				  <td width="22%" valign="top">&nbsp;</td>
117
				  <td width="78%"> 
117
				  <td width="78%">
118 118
                    <input name="Submit" type="submit" class="formbtn" value="Send">
119 119
				</td>
120 120
				</tr>
121 121
			</table>
122 122
			<span class="vexpl"><span class="red"><strong>Note:<br>
123 123
            </strong></span>This service can be used to wake up (power on) computers by sending special &quot;Magic Packets&quot;. The NIC in the computer that is to be woken up must support Wake on LAN and has to be configured properly (WOL cable, BIOS settings). </span><br>
124
                      <br> 
124
                      <br>
125 125
                      You may store MAC addresses below for your convenience.
126 126
Click the MAC address to wake up a computer. <br>
127 127
&nbsp;
......
145 145
                    <a href="?mac=<?=$wolent['mac'];?>&if=<?=$wolent['interface'];?>"><?=strtolower($wolent['mac']);?></a>&nbsp;
146 146
                  </td>
147 147
                  <td class="listbg">
148
                    <?=htmlspecialchars($wolent['descr']);?>&nbsp;
148
                    <font color="#FFFFFF"><?=htmlspecialchars($wolent['descr']);?>&nbsp;
149 149
                  </td>
150 150
                  <td valign="middle" nowrap class="list"> <a href="services_wol_edit.php?id=<?=$i;?>"><img src="e.gif" width="17" height="17" border="0"></a>
151 151
                     &nbsp;<a href="services_wol.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>
152 152
				</tr>
153 153
			  <?php $i++; endforeach; ?>
154
                <tr> 
154
                <tr>
155 155
                  <td class="list" colspan="3"></td>
156 156
                  <td class="list"> <a href="services_wol_edit.php"><img src="plus.gif" width="17" height="17" border="0"></a></td>
157 157
				</tr>
usr/local/www/vpn_ipsec.php
3 3
/*
4 4
	vpn_ipsec.php
5 5
	part of m0n0wall (http://m0n0.ch/wall)
6
	
6

  
7 7
	Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
8 8
	All rights reserved.
9
	
9

  
10 10
	Redistribution and use in source and binary forms, with or without
11 11
	modification, are permitted provided that the following conditions are met:
12
	
12

  
13 13
	1. Redistributions of source code must retain the above copyright notice,
14 14
	   this list of conditions and the following disclaimer.
15
	
15

  
16 16
	2. Redistributions in binary form must reproduce the above copyright
17 17
	   notice, this list of conditions and the following disclaimer in the
18 18
	   documentation and/or other materials provided with the distribution.
19
	
19

  
20 20
	THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
21 21
	INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
22 22
	AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
......
52 52
		}
53 53
	} else if ($_POST['submit']) {
54 54
		$pconfig = $_POST;
55
		
55

  
56 56
		$config['ipsec']['enable'] = $_POST['enable'] ? true : false;
57
		
57

  
58 58
		write_config();
59
	
59

  
60 60
		$retval = 0;
61 61
		if (!file_exists($d_sysrebootreqd_path)) {
62 62
			config_lock();
......
106 106
    <li class="tabinact"><a href="vpn_ipsec_keys.php">Pre-shared keys</a></li>
107 107
  </ul>
108 108
  </td></tr>
109
  <tr> 
109
  <tr>
110 110
    <td class="tabcont">
111 111
		        <table width="100%" border="0" cellpadding="6" cellspacing="0">
112
                <tr> 
113
                  <td class="vtable"><p><span class="vexpl"> </span> 
112
                <tr>
113
                  <td class="vtable"><p><span class="vexpl"> </span>
114 114
                      <input name="enable" type="checkbox" id="enable" value="yes" <?php if ($pconfig['enable'] == "yes") echo "checked";?>>
115 115
                      <strong>Enable IPsec<br>
116 116
                      </strong></p></td>
117 117
                </tr>
118
                <tr> 
119
                  <td> <input name="submit" type="submit" class="formbtn" value="Save"> 
118
                <tr>
119
                  <td> <input name="submit" type="submit" class="formbtn" value="Save">
120 120
                  </td>
121 121
                </tr>
122 122
              </table>
......
141 141
					}
142 142
				?>
143 143
                <tr valign="top">
144
                  <td nowrap class="listlr"><?=$spans;?> 
144
                  <td nowrap class="listlr"><?=$spans;?>
145 145
                    <?php	if ($ipsecent['local-subnet']['network'])
146 146
								echo strtoupper($ipsecent['local-subnet']['network']);
147 147
							else
......
158 158
							  $if = htmlspecialchars($iflabels[$ipsecent['interface']]);
159 159
						} else
160 160
							$if = "WAN";
161
						
161

  
162 162
						echo $if . "<br>" . $ipsecent['remote-gateway'];
163 163
					?>
164 164
                  <?=$spane;?></td>
......
172 172
				    <?=$p1_halgos[$ipsecent['p1']['hash-algorithm']];?>
173 173
                  <?=$spane;?></td>
174 174
                  <td class="listbg"><?=$spans;?>
175
                    <?=htmlspecialchars($ipsecent['descr']);?>&nbsp;
175
                    <font color="#FFFFFF"><?=htmlspecialchars($ipsecent['descr']);?>&nbsp;
176 176
                  <?=$spane;?></td>
177
                  <td valign="middle" nowrap class="list"> <a href="vpn_ipsec_edit.php?id=<?=$i;?>"><img src="e.gif" width="17" height="17" border="0"></a> 
177
                  <td valign="middle" nowrap class="list"> <a href="vpn_ipsec_edit.php?id=<?=$i;?>"><img src="e.gif" width="17" height="17" border="0"></a>
178 178
                    &nbsp;<a href="vpn_ipsec.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this tunnel?')"><img src="x.gif" width="17" height="17" border="0"></a></td>
179 179
				</tr>
180 180
			  <?php $i++; endforeach; ?>
181
                <tr> 
181
                <tr>
182 182
                  <td class="list" colspan="6"></td>
183 183
                  <td class="list"> <a href="vpn_ipsec_edit.php"><img src="plus.gif" width="17" height="17" border="0"></a></td>
184 184
				</tr>

Also available in: Unified diff