mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Show the CP User count in the page title, as on 1.2.3.
This commit is contained in:
parent
4f163cb886
commit
985d6e18eb
@ -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];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user