diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-07 22:00:41 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-07 22:00:41 +0000 |
commit | 93641ef8565832e86d8d4d9272302ebe3a4101ed (patch) | |
tree | 1977e3370a08c4ee0ab1e9172ebcc9669e707453 /usr/local | |
parent | 6198d330da6ec077e30ba99155de451cadb12d32 (diff) | |
download | pfsense-93641ef8565832e86d8d4d9272302ebe3a4101ed.zip pfsense-93641ef8565832e86d8d4d9272302ebe3a4101ed.tar.gz |
Show the current amount of authenticated captive portal users in the Status: Captive Portal line such as:
Status: Captive Portal (250)
Used at KCD extensively to see how many students are authenticated.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/status_captiveportal.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/status_captiveportal.php b/usr/local/www/status_captiveportal.php index dd6cf46..c238f11 100755 --- a/usr/local/www/status_captiveportal.php +++ b/usr/local/www/status_captiveportal.php @@ -32,7 +32,10 @@ require("guiconfig.inc"); -$pgtitle = "Status: Captive portal"; +$concurrent = `cat /var/db/captiveportal.db | wc -l`; + +$pgtitle = "Status: Captive portal ({$concurrent})"; + include("head.inc"); ?> |