Révision bca63487
Ajouté par Colin Fleming il y a presque 10 ans
usr/local/www/vpn_pptp_users.php | ||
---|---|---|
80 | 80 |
<?php if ($savemsg) print_info_box($savemsg); ?> |
81 | 81 |
<?php if (isset($config['pptpd']['radius']['enable'])) |
82 | 82 |
print_info_box(gettext("Warning: RADIUS is enabled. The local user database will not be used.")); ?> |
83 |
<?php if (is_subsystem_dirty('pptpusers')): ?><p>
|
|
84 |
<?php print_info_box_np(gettext("The PPTP 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 PPTP sessions")."!</b>");?><br />
|
|
83 |
<?php if (is_subsystem_dirty('pptpusers')): ?><br/>
|
|
84 |
<?php print_info_box_np(gettext("The PPTP user list has been modified").".<br />".gettext("You must apply the changes in order for them to take effect").".<br /></b><b>".gettext("Warning: this will terminate all current PPTP sessions")."!");?><br />
|
|
85 | 85 |
<?php endif; ?> |
86 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
86 |
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="vpn pptp users">
|
|
87 | 87 |
<tr><td class="tabnavtbl"> |
88 | 88 |
<?php |
89 | 89 |
$tab_array = array(); |
... | ... | |
94 | 94 |
<tr> |
95 | 95 |
<td> |
96 | 96 |
<div id="mainarea"> |
97 |
<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
97 |
<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0" summary="main area">
|
|
98 | 98 |
<tr> |
99 | 99 |
<td class="listhdrr"><?=gettext("Username");?></td> |
100 | 100 |
<td class="listhdr"><?=gettext("IP address");?></td> |
101 | 101 |
<td class="list"> |
102 |
<table border="0" cellspacing="0" cellpadding="1"> |
|
102 |
<table border="0" cellspacing="0" cellpadding="1" summary="add">
|
|
103 | 103 |
<tr> |
104 | 104 |
<td width="17"></td> |
105 |
<td><a href="vpn_pptp_users_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("add user");?>" width="17" height="17" border="0"></a></td> |
|
105 |
<td><a href="vpn_pptp_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>
|
|
106 | 106 |
</tr> |
107 | 107 |
</table> |
108 | 108 |
</td> |
... | ... | |
115 | 115 |
<td class="listr"> |
116 | 116 |
<?=htmlspecialchars($secretent['ip']);?> |
117 | 117 |
</td> |
118 |
<td class="list" nowrap> <a href="vpn_pptp_users_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="<?=gettext("edit user");?>" width="17" height="17" border="0"></a>
|
|
119 |
<a href="vpn_pptp_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"></a></td>
|
|
118 |
<td class="list nowrap"><a href="vpn_pptp_users_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="<?=gettext("edit user");?>" width="17" height="17" border="0" alt="edit" /></a>
|
|
119 |
<a href="vpn_pptp_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>
|
|
120 | 120 |
</tr> |
121 | 121 |
<?php $i++; endforeach; ?> |
122 | 122 |
<tr> |
123 | 123 |
<td class="list" colspan="2"></td> |
124 | 124 |
<td class="list"> |
125 |
<table border="0" cellspacing="0" cellpadding="1"> |
|
125 |
<table border="0" cellspacing="0" cellpadding="1" summary="add">
|
|
126 | 126 |
<tr> |
127 | 127 |
<td width="17"></td> |
128 |
<td><a href="vpn_pptp_users_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("add user");?>" width="17" height="17" border="0"></a></td> |
|
128 |
<td><a href="vpn_pptp_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>
|
|
129 | 129 |
</tr> |
130 | 130 |
</table> |
131 | 131 |
</td> |
Formats disponibles : Unified diff
Tidy up "vpn_pptp_users" XHTML
Add SUMMARY to TABLES
Close INPUT and IMG tags and add ALT to IMG
Move NOWRAP to CLASS statement
Deprecated Ampersand in Anchor tags
Add missing closing TR tag