12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <?php
- $language_file = array ('chat');
- require_once '../inc/global.inc.php';
- require_once api_get_path(LIBRARY_PATH).'groupmanager.lib.php';
- $this_section = SECTION_COURSES;
- $tool_name = get_lang('ToolChat');
- if ($_SESSION['_gid'] OR $_GET['group_id']) {
- if (isset($_SESSION['_gid'])) {
- $_clean['group_id'] = (int)$_SESSION['_gid'];
- }
- if (isset($_GET['group_id'])) {
- $_clean['group_id'] = (int)Database::escape_string($_GET['group_id']);
- }
- $group_properties = GroupManager :: get_group_properties($_clean['group_id']);
- $interbreadcrumb[] = array('url' => '../group/group.php', 'name' => get_lang('Groups'));
- $interbreadcrumb[] = array('url' => '../group/group_space.php?gidReq='.$_SESSION['_gid'], 'name' => get_lang('GroupSpace').' ('.$group_properties['name'].')');
- $noPHP_SELF = true;
- $shortBanner = false;
- $add_group_to_title = ' ('.$group_properties['name'].')';
- $groupfilter = 'group_id="'.$_clean['group_id'].'"';
-
-
- } else {
- $groupfilter = 'group_id=0';
- }
- Display::display_header($tool_name, 'Chat');
- ?>
- </body>
- </html>
|