mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Fixed up My Moodle
This commit is contained in:
parent
b8d481e444
commit
26330001bc
1 changed files with 9 additions and 1 deletions
|
@ -1097,8 +1097,16 @@ function print_my_moodle() {
|
|||
print_course($course, "100%");
|
||||
echo "<br />\n";
|
||||
}
|
||||
}
|
||||
echo "<p align=\"right\"><a href=\"$CFG->wwwroot/course/\">".get_string("fulllistofcourses")."</a>...</p>";
|
||||
} 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%");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue