From: moodler Date: Thu, 7 Aug 2003 16:41:33 +0000 (+0000) Subject: Fixed up My Moodle X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=26330001bc91a5acaadfadafaf40b5136c055ce1;p=moodle.git Fixed up My Moodle --- diff --git a/course/lib.php b/course/lib.php index adae5f4505..6439c5548c 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1097,8 +1097,16 @@ function print_my_moodle() { print_course($course, "100%"); echo "
\n"; } + echo "

wwwroot/course/\">".get_string("fulllistofcourses")."...

"; + } else { + if (count_records("course_categories") > 1) { + print_simple_box_start("center", "100%"); + print_whole_category_list(); + print_simple_box_end(); + } else { + print_courses(0, "100%"); + } } - echo "

wwwroot/course/\">".get_string("fulllistofcourses")."...

"; }