Révision e5d6b608
Ajouté par Colin Fleming il y a presque 10 ans
usr/local/www/vpn_l2tp_users.php | ||
---|---|---|
83 | 83 |
<?php if ($savemsg) print_info_box($savemsg); ?> |
84 | 84 |
<?php if (isset($config['l2tp']['radius']['enable'])) |
85 | 85 |
print_info_box(gettext("Warning: RADIUS is enabled. The local user database will not be used.")); ?> |
86 |
<?php if (is_subsystem_dirty('l2tpusers')): ?><p>
|
|
86 |
<?php if (is_subsystem_dirty('l2tpusers')): ?><br/>
|
|
87 | 87 |
<?php print_info_box_np(gettext("The l2tp user list has been modified") . ".<br />" . gettext("You must apply the changes in order for them to take effect") . ".<br /><b>" . gettext("Warning: this will terminate all current l2tp sessions!") . "</b>");?><br /> |
88 | 88 |
<?php endif; ?> |
89 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
89 |
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="vpn l2pt users">
|
|
90 | 90 |
<tr><td class="tabnavtbl"> |
91 | 91 |
<?php |
92 | 92 |
$tab_array = array(); |
... | ... | |
97 | 97 |
<tr> |
98 | 98 |
<td> |
99 | 99 |
<div id="mainarea"> |
100 |
<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
100 |
<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0" summary="main area">
|
|
101 | 101 |
<tr> |
102 | 102 |
<td class="listhdrr"><?=gettext("Username");?></td> |
103 | 103 |
<td class="listhdr"><?=gettext("IP address");?></td> |
... | ... | |
112 | 112 |
<?php if($secretent['ip'] == "") $secretent['ip'] = "Dynamic"; ?> |
113 | 113 |
<?=htmlspecialchars($secretent['ip']);?> |
114 | 114 |
</td> |
115 |
<td class="list" nowrap> <a href="vpn_l2tp_users_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="edit user" width="17" height="17" border="0" alt="" /></a>
|
|
116 |
<a href="vpn_l2tp_users.php?act=del&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this user?");?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" title="<?=gettext("delete user"); ?>" width="17" height="17" border="0" alt="" /></a></td>
|
|
115 |
<td class="list nowrap"><a href="vpn_l2tp_users_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="edit user" width="17" height="17" border="0" alt="edit" /></a>
|
|
116 |
<a href="vpn_l2tp_users.php?act=del&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this user?");?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" title="<?=gettext("delete user"); ?>" width="17" height="17" border="0" alt="delete" /></a></td>
|
|
117 | 117 |
</tr> |
118 | 118 |
<?php $i++; endforeach; ?> |
119 | 119 |
<tr> |
120 | 120 |
<td class="list" colspan="2"></td> |
121 |
<td class="list"> <a href="vpn_l2tp_users_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("add user"); ?>" width="17" height="17" border="0" alt="" /></a></td> |
|
121 |
<td class="list"> <a href="vpn_l2tp_users_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("add user"); ?>" width="17" height="17" border="0" alt="add" /></a></td>
|
|
122 | 122 |
</tr> |
123 | 123 |
</table> |
124 | 124 |
</div> |
Formats disponibles : Unified diff
Tidy up "vpn_l2tp_users" XHTML
Add SUMMARY to TABLES
Move NOWRAP to CLASS statement
Close IMG tags and add ALT statement
Deprecate ampersand in Anchor tags
Add missing closing TR tag