diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-07-26 18:05:00 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-07-26 18:05:00 +0000 |
commit | 9412dc37d1c7dcd1c3b0dea9d592fe0d7dc89fdc (patch) | |
tree | dad4c6c388e4c6db37b59d9395ed47a94458bcbe /usr/local | |
parent | 4a505523b3882e1ebae36db991ee5fd9b0732b94 (diff) | |
download | pfsense-9412dc37d1c7dcd1c3b0dea9d592fe0d7dc89fdc.zip pfsense-9412dc37d1c7dcd1c3b0dea9d592fe0d7dc89fdc.tar.gz |
Backport username display feature in captive portal. Really not sure why it wasn't included in RELENG_* versions.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/status_captiveportal.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/status_captiveportal.php b/usr/local/www/status_captiveportal.php index a4c7875..30a3154 100755 --- a/usr/local/www/status_captiveportal.php +++ b/usr/local/www/status_captiveportal.php @@ -91,6 +91,7 @@ captiveportal_unlock(); <tr> <td class="listhdrr"><a href="?order=ip&showact=<?=$_GET['showact'];?>">IP address</a></td> <td class="listhdrr"><a href="?order=mac&showact=<?=$_GET['showact'];?>">MAC address</a></td> + <td class="listhdrr"><a href="?order=user&showact=<?=$_GET['showact'];?>">Username</a></td> <?php if ($_GET['showact']): ?> <td class="listhdrr"><a href="?order=start&showact=<?=$_GET['showact'];?>">Session start</a></td> <td class="listhdr"><a href="?order=lastact&showact=<?=$_GET['showact'];?>">Last activity</a></td> @@ -103,6 +104,7 @@ captiveportal_unlock(); <tr> <td class="listlr"><?=$cpent[2];?></td> <td class="listr"><?=$cpent[3];?> </td> + <td class="listr"><?=$cpent[4];?> </td> <td class="listr"><?=htmlspecialchars(date("m/d/Y H:i:s", $cpent[0]));?></td> <?php if ($_GET['showact']): ?> <td class="listr"><?php if ($cpent[4]) echo htmlspecialchars(date("m/d/Y H:i:s", $cpent[4]));?></td> |