Updates and cleanup

This commit is contained in:
genuineparts 2025-06-03 08:40:33 +02:00
parent 99a9ed919e
commit e4dc428379
11 changed files with 340 additions and 395 deletions

View file

@ -23,14 +23,14 @@ class plugins_chat{
$cont=str_replace('[users]',$data['usercount'],$cont);
}
function cusers_head($tpl){
function cusers_head(& $tpl){
global $db, $config, $session, $log;
$data=chat_online();
if ($data["chat_offline"]===true){
$tpl->assign('users',"offline");
$tpl->assign('cusers',"offline");
return;
}else{
$tpl->assign('users',$data['usercount']);
//$tpl->assign('cusers',$data['usercount']);
}
}