From 26330001bc91a5acaadfadafaf40b5136c055ce1 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 7 Aug 2003 16:41:33 +0000 Subject: [PATCH] Fixed up My Moodle --- course/lib.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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")."...

"; } -- 2.39.5