get($group_id); $is_member = $usergroup->is_group_member($group_id); if ($group_info['visibility'] == GROUP_PERMISSION_CLOSED && !$is_member) { api_not_allowed(true); } $to_group = $group_info['name']; if (!empty($message_id)) { $message_info = MessageManager::get_message_by_id($message_id); if ($allowed_action == 'reply_message_group') { $subject = get_lang('Reply').': '.api_xml_http_response_encode($message_info['title']); //$message = api_xml_http_response_encode($message_info['content']); } else { $subject = api_xml_http_response_encode($message_info['title']); $message = api_xml_http_response_encode($message_info['content']); } } } $page_item = !empty($_GET['topics_page_nr']) ? intval($_GET['topics_page_nr']):1; $param_item_page = isset($_GET['items_page_nr']) && isset($_GET['topic_id']) ? ('&items_'.intval($_GET['topic_id']).'_page_nr='.(!empty($_GET['topics_page_nr'])?intval($_GET['topics_page_nr']):1)):''; if (isset($_GET['topic_id'])) { $param_item_page .= '&topic_id='.intval($_GET['topic_id']); } $page_topic = isset($_GET['topics_page_nr']) ? intval($_GET['topics_page_nr']):1; $anchor_topic = isset($_GET['anchor_topic']) ? Security::remove_XSS($_GET['anchor_topic']): null; ?>
* '.api_xml_http_response_encode(get_lang('Title')).' :
'; echo '

'; } //echo api_xml_http_response_encode(get_lang('Description')).' :
'; $oFCKeditor = new FCKeditor('content') ; $oFCKeditor->ToolbarSet = 'messages'; $oFCKeditor->Width = '95%'; $oFCKeditor->Height = $height; $oFCKeditor->Value = $message; $return = $oFCKeditor->CreateHtml(); echo $return; if ($allowed_action == 'add_message_group') { echo '
* '.get_lang('FieldRequired').'
'; } ?>

:
()