summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec.php
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-05-08 22:09:06 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-05-08 22:09:06 +0000
commitd415d821536c6a8e3689fcb344690169b9eac374 (patch)
treec015c28b00acc6ba6457329066f1d9b014cd45be /usr/local/www/vpn_ipsec.php
parent0baa37c501e15aa104298c302fa43e45395edcab (diff)
downloadpfsense-d415d821536c6a8e3689fcb344690169b9eac374.zip
pfsense-d415d821536c6a8e3689fcb344690169b9eac374.tar.gz
Add a plus button on the top header of these pages.
This to make it easier on large configurations.
Diffstat (limited to 'usr/local/www/vpn_ipsec.php')
-rwxr-xr-xusr/local/www/vpn_ipsec.php39
1 files changed, 31 insertions, 8 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php
index d672413..08429b1 100755
--- a/usr/local/www/vpn_ipsec.php
+++ b/usr/local/www/vpn_ipsec.php
@@ -130,8 +130,14 @@ include("head.inc");
<td class="listhdrr">P1 Enc. Algo</td>
<td class="listhdrr">P1 Hash Algo</td>
<td class="listhdr">Description</td>
- <td class="list"></td>
- </tr>
+ <td class="list" >
+ <table border="0" cellspacing="0" cellpadding="1">
+ <tr>
+ <td width="17" heigth="17"></td>
+ <td><a href="vpn_ipsec_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="add tunnel" width="17" height="17" border="0"></a></td>
+ </tr>
+ </table>
+ </tr>
<?php $i = 0; foreach ($a_ipsec as $ipsecent):
if (isset($ipsecent['disabled'])) {
$spans = "<span class=\"gray\">";
@@ -179,15 +185,32 @@ include("head.inc");
<td class="listbg" ondblclick="document.location='vpn_ipsec_edit.php?id=<?=$i;?>'"><?=$spans;?><font color="#FFFFFF">
<?=htmlspecialchars($ipsecent['descr']);?>&nbsp;
<?=$spane;?></td>
- <td valign="middle" nowrap class="list"> <a href="vpn_ipsec_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="edit tunnel" width="17" height="17" border="0"></a>
- &nbsp;<a href="vpn_ipsec.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this tunnel?')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" title="delete tunnel" width="17" height="17" border="0"></a></td>
- </tr>
+ <td valign="middle" nowrap class="list">
+ <table border="0" cellspacing="0" cellpadding="1">
+ <tr>
+ <td><a href="vpn_ipsec_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="edit tunnel" width="17" height="17" border="0"></a></td>
+ <td><a href="vpn_ipsec.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this tunnel?')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" title="delete tunnel" width="17" height="17" border="0"></a></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><a href="vpn_ipsec_edit.php?dup=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="add a new rule based on this one" width="17" height="17" border="0"></a></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
<?php $i++; endforeach; ?>
<tr>
<td class="list" colspan="6"></td>
- <td class="list"> <a href="vpn_ipsec_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="add tunnel" width="17" height="17" border="0"></a></td>
- </tr>
-<td colspan="4">
+ <td class="list">
+ <table border="0" cellspacing="0" cellpadding="1">
+ <tr>
+ <td width="17"></td>
+ <td><a href="vpn_ipsec_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="add tunnel" width="17" height="17" border="0"></a></td>
+ </tr>
+ </table>
+ <td>
+ </tr>
+ <td colspan="4">
<p><span class="vexpl"><span class="red"><strong>Note:<br>
</strong></span>You can check your IPSEC status at <a href="diag_ipsec_sad.php">Status:IPSEC</a>.</span></p>
</td>
OpenPOWER on IntegriCloud