summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-09-20 15:36:35 -0400
committerjim-p <jimp@pfsense.org>2010-09-20 15:36:35 -0400
commit7773b86862383dfe5366b1e697738515bedd3980 (patch)
tree84bb36d3cb8c966971c3e6554595bcef4d28f5c3 /usr
parent80fa045a8a653a75e928fda927da2cdf6f57163a (diff)
downloadpfsense-7773b86862383dfe5366b1e697738515bedd3980.zip
pfsense-7773b86862383dfe5366b1e697738515bedd3980.tar.gz
Make OpenVPN client list sortable.
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/vpn_openvpn_client.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/local/www/vpn_openvpn_client.php b/usr/local/www/vpn_openvpn_client.php
index 422e3c3..d957f86 100644
--- a/usr/local/www/vpn_openvpn_client.php
+++ b/usr/local/www/vpn_openvpn_client.php
@@ -798,7 +798,8 @@ function autotls_change() {
<?php else: ?>
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <table class="sortable" width="100%" border="0" cellpadding="0" cellspacing="0">
+ <thead>
<tr>
<td width="10%" class="listhdrr"><?=gettext("Disabled"); ?></td>
<td width="10%" class="listhdrr"><?=gettext("Protocol"); ?></td>
@@ -806,6 +807,8 @@ function autotls_change() {
<td width="40%" class="listhdrr"><?=gettext("Description"); ?></td>
<td width="10%" class="list"></td>
</tr>
+ </thead>
+ <tbody>
<?php
$i = 0;
foreach($a_client as $client):
@@ -841,6 +844,8 @@ function autotls_change() {
$i++;
endforeach;
?>
+ </tbody>
+ <tfoot>
<tr>
<td class="list" colspan="4"></td>
<td class="list">
@@ -855,6 +860,7 @@ function autotls_change() {
</p>
</td>
</tr>
+ </tfoot>
</table>
<?php endif; ?>
OpenPOWER on IntegriCloud