diff options
author | jim-p <jimp@pfsense.org> | 2011-08-08 09:34:31 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-08-08 09:38:02 -0400 |
commit | 985d6e18ebe3f2c2efe200032130e093b9b110f8 (patch) | |
tree | d8b59139f3d2021e77bc41dd3d876127520e96f9 | |
parent | 4f163cb886685867283cd756ded072b82f515674 (diff) | |
download | pfsense-985d6e18ebe3f2c2efe200032130e093b9b110f8.zip pfsense-985d6e18ebe3f2c2efe200032130e093b9b110f8.tar.gz |
Show the CP User count in the page title, as on 1.2.3.
-rwxr-xr-x | usr/local/www/status_captiveportal.php | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/usr/local/www/status_captiveportal.php b/usr/local/www/status_captiveportal.php index 8913367..41787f3 100755 --- a/usr/local/www/status_captiveportal.php +++ b/usr/local/www/status_captiveportal.php @@ -51,19 +51,6 @@ if ($_GET['act'] == "del") { exit; } -$pgtitle = array(gettext("Status: Captive portal")); - -include("head.inc"); - -?> - -<body link="#0000CC" vlink="#0000CC" alink="#0000CC"> -<script src="/javascript/sorttable.js"></script> -<?php include("fbegin.inc"); ?> -<?php - -flush(); - function clientcmp($a, $b) { global $order; return strcmp($a[$order], $b[$order]); @@ -79,6 +66,19 @@ if (file_exists("{$g['vardb_path']}/captiveportal.db")) { $concurrent = count($cpcontents); +$pgtitle = array(gettext("Status: Captive portal ({$concurrent})")); + +include("head.inc"); + +?> + +<body link="#0000CC" vlink="#0000CC" alink="#0000CC"> +<script src="/javascript/sorttable.js"></script> +<?php include("fbegin.inc"); ?> +<?php + +flush(); + foreach ($cpcontents as $cpcontent) { $cpent = explode(",", $cpcontent); $sessionid = $cpent[5]; |