mirror of
https://github.com/Mibew/mibew.git
synced 2024-11-15 08:34:11 +03:00
Make possible to determine whether an operator is online at any page of the administrative interface
Fixes #181
This commit is contained in:
parent
7041adcdfb
commit
ca169c5bc7
@ -690,6 +690,7 @@ function prepare_menu($operator, $has_right = true)
|
||||
$result = array();
|
||||
|
||||
$result['operator'] = get_operator_name($operator);
|
||||
$result['is_online'] = is_operator_online($operator['operatorid']);
|
||||
if ($has_right) {
|
||||
$result['showban'] = Settings::get('enableban') == "1";
|
||||
$result['showstat'] = Settings::get('enablestatistics') == "1";
|
||||
|
Loading…
Reference in New Issue
Block a user