<?php
/****************************************************************************************/
/* ACollab */
/****************************************************************************************/
/* Copyright (c) 2002-2004 Adaptive Technology Resource Centre / University of Toronto */
/* */
/* http://atutor.ca/acollab */
/* */
/* This program is free software. You may redistribute it and/or */
/* modify it under the terms of the GNU General Public License */
/* as published by the Free Software Foundation; either version 2 of the License, */
/* or (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, but */
/* WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */
/* See the GNU General Public License for more details. */
/* */
/* You may access the GNU General Public License at: */
/* http://www.opensource.org/licenses/gpl-license.php */
/* */
/* You may contact the Adaptive Technology Resource Centre at */
/* Robarts Library, University of Toronto */
/* 130 St. George Street, Toronto, Ontario, Canada M5S 1A5 */
/* Further contact information is available at http://www.utoronto.ca/atrc/ */
/****************************************************************************************/
/* Programmer: */
/* Joel Kronenberg - ATRC */
/****************************************************************************************/
// $Id: index.php 236 2004-06-07 20:08:32Z boonhau $
define('AC_INCLUDE_PATH', '../include/');
require(AC_INCLUDE_PATH.'vitals.inc.php');
authenticate(USER_GROUP_ADMIN);
if (authenticate(USER_ADMIN, USER_RETURN_CHECK)) {
$group_info = get_group($_SESSION['group_id']);
$_SECTION[0][0] = _AC('administration');
$_SECTION[0][1] = 'admin/index.php';
$_SECTION[1][0] = _AC('groups');
$_SECTION[1][1] = 'admin/groups.php';
$_SECTION[2][0] = $group_info['title'];
require(AC_INCLUDE_PATH.'admin/header.inc.php');
} else {
$_SECTION[0][0] = _AC('home');
$_SECTION[0][1] = 'home.php';
$_SECTION[1][0] = _AC('administration');
$_SECTION[1][1] = 'group_admin/';
require(AC_INCLUDE_PATH.'header.inc.php');
}
if (isset($_GET['f'])) {
print_feedback($_GET['f']);
}
if (authenticate(USER_ADMIN, USER_RETURN_CHECK) && $_SESSION['course_id']) {
echo '<p>'._AC('group_belongs_to_course') .'</p>';
}
?>
<ul>
<li><a href="group_admin/chat.php" onfocus="this.className='highlight'" onblur="this.className=''"><?php echo _AC('chat_settings'); ?></a></li>
<li><a href="group_admin/forums.php" onfocus="this.className='highlight'" onblur="this.className=''"><?php echo _AC('forum_management'); ?></a></li>
<li><a href="group_admin/mailing_list.php" onfocus="this.className='highlight'" onblur="this.className=''"><?php echo _AC('mailing_list'); ?></a></li>
<li><a href="group_admin/news.php" onfocus="this.className='highlight'" onblur="this.className=''"><?php echo _AC('news_and_announcements'); ?></a></li>
<li><a href="group_admin/group_assign.php" onfocus="this.className='highlight'" onblur="this.className=''"><?php echo _AC('group_member_management'); ?></a></li>
<li><a href="group_admin/group_edit.php" onfocus="this.className='highlight'" onblur="this.className=''"><?php echo _AC('group_properties'); ?></a>
<br /><br /></li>
<li><a href="group_admin/group_delete.php" onfocus="this.className='highlight'" onblur="this.className=''"><?php echo _AC('delete_group'); ?></a></li>
</ul>
<?php
require(AC_INCLUDE_PATH.'footer.inc.php');
?>