custompix)) { $pixpath = "$CFG->wwwroot/pix"; } else { $pixpath = "$CFG->wwwroot/theme/$CFG->theme/pix"; } print_header(get_string("summaryof", "", $course->fullname)); echo "

$course->fullname
($course->shortname)

"; echo "
"; if ($course->guest) { $strallowguests = get_string("allowguests"); echo "

\"\" $strallowguests

"; } if ($course->password) { $strrequireskey = get_string("requireskey"); echo "

\"\" $strrequireskey

"; } if ($teachers = get_course_teachers($course->id)) { echo "
"; echo "

\n"; foreach ($teachers as $teacher) { if ($teacher->authority > 0) { if (!$teacher->role) { $teacher->role = $course->teacher; } echo "$teacher->role: "; link_to_popup_window ("/user/view.php?id=$teacher->id&course=$site->id", "opener", "$teacher->firstname $teacher->lastname", 400, 500, "$teacher->role", ""); echo "
"; } } echo "

"; echo "
"; } echo "
"; print_simple_box_start("center", "100%"); echo filter_text(text_to_html($course->summary),$course->id); print_simple_box_end(); echo "
"; close_window_button(); ?>