<?php // $Id$
-
-/**********************************************
- * The main group management user interface
- ************************************************/
-
+/**
+ * The main group management user interface.
+ *
+ * @copyright © 2006 The Open University
+ * @author J.White AT open.ac.uk
+ * @license http://www.gnu.org/copyleft/gpl.html GNU Public License
+ * @package groups
+ */
require_once('../../config.php');
require_once('../lib/lib.php');
//require_once('../../course/lib.php');
// Set the session key so we can check this later
$sesskey = !empty($USER->id) ? $USER->sesskey : '';
-
- if (!empty($CFG->gdversion) and $maxbytes) {
+
+ if (!empty($CFG->gdversion)) { //TODO: and $maxbytes)
$printuploadpicture = true;
} else {
$printuploadpicture = false;
}
-
-
+
+
$maxbytes = get_max_upload_file_size($CFG->maxbytes, $course->maxbytes);
$strgroups = get_string('groups');
$strparticipants = get_string('participants');
"<a href=\"$CFG->wwwroot/course/view.php?id=$courseid\">$course->shortname</a> ".
"-> <a href=\"$CFG->wwwroot/user/index.php?id=$courseid\">$strparticipants</a> ".
"-> $strgroups", "", "", true, '', user_login_string($course, $USER));
-
+
require_once('form.html');
-
- print_footer($course);
+ print_footer($course);
}
?>
\ No newline at end of file