85 |
85 |
print_info_box_np(gettext("The IPsec tunnel configuration has been changed") . ".<br />" . gettext("You must apply the changes in order for them to take effect."));
|
86 |
86 |
|
87 |
87 |
?>
|
88 |
|
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
|
88 |
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="vpn ipsec keys">
|
89 |
89 |
<tr><td class="tabnavtbl">
|
90 |
90 |
<?php
|
91 |
91 |
$tab_array = array();
|
... | ... | |
99 |
99 |
<tr>
|
100 |
100 |
<td>
|
101 |
101 |
<div id="mainarea">
|
102 |
|
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
|
|
102 |
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0" summary="main area">
|
103 |
103 |
<tr>
|
104 |
104 |
<td class="listhdrr"><?=gettext("Identifier"); ?></td>
|
105 |
105 |
<td class="listhdr"><?=gettext("Pre-Shared Key"); ?></td>
|
106 |
106 |
<td class="list">
|
107 |
|
<table border="0" cellspacing="0" cellpadding="1">
|
|
107 |
<table border="0" cellspacing="0" cellpadding="1" summary="add key">
|
108 |
108 |
<tr>
|
109 |
|
<td width="20" heigth="17"></td>
|
110 |
|
<td><a href="vpn_ipsec_keys_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("add key"); ?>" width="17" height="17" border="0"></a></td>
|
|
109 |
<td width="20" height="17"></td>
|
|
110 |
<td><a href="vpn_ipsec_keys_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("add key"); ?>" width="17" height="17" border="0" alt="add" /></a></td>
|
111 |
111 |
</tr>
|
112 |
112 |
</table>
|
113 |
113 |
</td>
|
... | ... | |
120 |
120 |
<td class="listr gray">
|
121 |
121 |
<?=htmlspecialchars($secretent['pre-shared-key']);?>
|
122 |
122 |
</td>
|
123 |
|
<td class="list" nowrap><a href="system_usermanager.php?act=edit&id=<?=$secretent['id'];?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="<?=gettext("edit key"); ?>" width="17" height="17" border="0"></a>
|
|
123 |
<td class="list nowrap"><a href="system_usermanager.php?act=edit&id=<?=$secretent['id'];?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="<?=gettext("edit key"); ?>" width="17" height="17" border="0" alt="edit" /></a>
|
124 |
124 |
</td>
|
125 |
125 |
</tr>
|
126 |
126 |
<?php $i++; endforeach; ?>
|
... | ... | |
133 |
133 |
<td class="listr">
|
134 |
134 |
<?=htmlspecialchars($secretent['pre-shared-key']);?>
|
135 |
135 |
</td>
|
136 |
|
<td class="list" nowrap> <a href="vpn_ipsec_keys_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="<?=gettext("edit key"); ?>" width="17" height="17" border="0"></a>
|
137 |
|
<a href="vpn_ipsec_keys.php?act=del&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this Pre-Shared Key?"); ?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" title="<?=gettext("delete key"); ?>" width="17" height="17" border="0"></a></td>
|
|
136 |
<td class="list nowrap"><a href="vpn_ipsec_keys_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="<?=gettext("edit key"); ?>" width="17" height="17" border="0" alt="edit" /></a>
|
|
137 |
<a href="vpn_ipsec_keys.php?act=del&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this Pre-Shared Key?"); ?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" title="<?=gettext("delete key"); ?>" width="17" height="17" border="0" alt="delete" /></a></td>
|
138 |
138 |
</tr>
|
139 |
139 |
<?php $i++; endforeach; ?>
|
140 |
140 |
<tr>
|
141 |
141 |
<td class="list" colspan="2"></td>
|
142 |
142 |
<td class="list">
|
143 |
|
<table border="0" cellspacing="0" cellpadding="1">
|
|
143 |
<table border="0" cellspacing="0" cellpadding="1" summary="add key">
|
144 |
144 |
<tr>
|
145 |
|
<td width="20" heigth="17"></td>
|
146 |
|
<td><a href="vpn_ipsec_keys_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("add key"); ?>" width="17" height="17" border="0"></a></td>
|
|
145 |
<td width="20" height="17"></td>
|
|
146 |
<td><a href="vpn_ipsec_keys_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("add key"); ?>" width="17" height="17" border="0" alt="add" /></a></td>
|
147 |
147 |
</tr>
|
148 |
148 |
</table>
|
149 |
149 |
</td>
|
Tidy up "vpn_ipsec_keys" XHTML
Add SUMMARY to TABLES
Close INPUT and IMG tags and ALT
Move NOWRAP into CLASS statement
Deprecate ampersand in Anchor tags
Add missing closing BODY and HTML tags