mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 04:15:12 +00:00
Merge https://github.com/friendica/red into pending_merge
This commit is contained in:
commit
e219268a6e
1 changed files with 12 additions and 10 deletions
|
@ -1551,16 +1551,18 @@ function profile_tabs($a, $is_owner=False, $nickname=Null){
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once('include/chat.php');
|
if($p['chat']) {
|
||||||
$has_chats = chatroom_list_count($uid);
|
require_once('include/chat.php');
|
||||||
if ($has_chats) {
|
$has_chats = chatroom_list_count($uid);
|
||||||
$tabs[] = array(
|
if ($has_chats) {
|
||||||
'label' => t('Chatrooms'),
|
$tabs[] = array(
|
||||||
'url' => $a->get_baseurl() . '/chat/' . $nickname,
|
'label' => t('Chatrooms'),
|
||||||
'sel' => ((argv(0) == 'chat') ? 'active' : '' ),
|
'url' => $a->get_baseurl() . '/chat/' . $nickname,
|
||||||
'title' => t('Chatrooms'),
|
'sel' => ((argv(0) == 'chat') ? 'active' : '' ),
|
||||||
'id' => 'chat-tab',
|
'title' => t('Chatrooms'),
|
||||||
);
|
'id' => 'chat-tab',
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once('include/menu.php');
|
require_once('include/menu.php');
|
||||||
|
|
Loading…
Reference in a new issue