28 require_once
'Modules/Chatroom/classes/class.ilChatroom.php';
29 require_once
'Modules/Chatroom/classes/class.ilChatroomUser.php';
40 $result->users = $room->getConnectedUsers();
41 $result->private_rooms = $room->getActivePrivateRooms($ilUser->getId());
43 'moderator' => $ilAccess->checkAccess(
'moderate',
'',
$_GET[
'ref_id']),
44 'userid' => $chat_user->getUserId()
49 include_once(
'Modules/Chatroom/classes/class.ilChatroomSmilies.php');
53 foreach( $smileys_array as $smiley_array )
55 foreach( $smiley_array as $key => $value )
57 if( $key ==
'smiley_keywords' )
59 $new_keys = explode(
"\n", $value);
62 if( $key ==
'smiley_fullpath' )
68 foreach( $new_keys as $new_key )
70 $smileys[$new_key] = $new_val;