[Ejabberd] Various fixes, sorry (still WIP)

This commit is contained in:
andryyy
2021-02-11 21:09:46 +01:00
parent 462aa0a764
commit 38c5470d54
3 changed files with 11 additions and 2 deletions

View File

@@ -108,7 +108,7 @@ $xmpp_status = xmpp_control('status');
<?php
if ($xmpp_status !== false) {
?>
<p><?=$lang['debug']['online_users'];?>: <?=$xmpp_status['onlineusers'];?></p>
<p><?=$lang['debug']['online_users'];?>: <?=(empty($xmpp_status['onlineusers'])) ? '-' : $xmpp_status['onlineusers'];?></p>
<p><?=$lang['debug']['started_at'];?>: <span class="parse_s_ago"><?=$xmpp_status['uptimeseconds'];?></span></p>
<?php
if (!empty($xmpp_status['muc_online_rooms'])) {