5 include_once
"Services/Object/classes/class.ilObjectListGUI.php";
29 require_once
'Modules/Chatroom/classes/class.ilObjChatroom.php';
39 $this->delete_enabled =
true;
40 $this->cut_enabled =
true;
41 $this->copy_enabled =
true;
42 $this->subscribe_enabled =
true;
43 $this->link_enabled =
true;
44 $this->payment_enabled =
true;
45 $this->info_screen_enabled =
true;
47 $this->gui_class_name =
"ilobjchatroomgui";
50 include_once(
'./Modules/Chatroom/classes/class.ilObjChatroomAccess.php');
73 require_once
'Modules/Chatroom/classes/class.ilChatroom.php';
78 "alert" =>
false,
"property" => $lng->txt(
"chat_users_active"),
79 "value" => $room->countActiveUsers()
82 if($this->obj_id == self::$publicRoomObjId)
84 $props[] = array(
"alert" =>
false,
"property" => $lng->txt(
"notice"),
'value' => $lng->txt(
'public_room'));
87 if(self::$chat_enabled === null)
90 self::$chat_enabled = (boolean)$chatSetting->get(
'chat_enabled');
93 if(!self::$chat_enabled)
95 $props[] = array(
"alert" =>
true,
"property" => $lng->txt(
"status"),
'value' => $lng->txt(
"server_disabled"));