mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Tweaks to account for teacher editors
This commit is contained in:
parent
53b67df521
commit
8058858329
@ -213,7 +213,7 @@
|
||||
|
||||
/// Print out all the courses
|
||||
|
||||
if (!$courses = get_courses($category->id, "sortorder ASC", "c.*", $totalcount, $page*$perpage, $perpage)) {
|
||||
if (!$courses = get_courses($category->id, "c.sortorder ASC", "c.*", $totalcount, $page*$perpage, $perpage)) {
|
||||
print_heading(get_string("nocoursesyet"));
|
||||
|
||||
} else {
|
||||
@ -315,7 +315,7 @@
|
||||
echo "<input type=\"checkbox\" name=\"c$course->id\">";
|
||||
$abletomovecourses = true;
|
||||
|
||||
} else if (isteacher($course->id)) {
|
||||
} else if (isteacheredit($course->id)) {
|
||||
echo "<td>";
|
||||
echo "<a title=\"$strassignteachers\" href=\"$CFG->wwwroot/course/teacher.php?id=$course->id\"><img".
|
||||
" src=\"$pixpath/t/user.gif\" height=11 width=11 border=0></a> ";
|
||||
|
Loading…
x
Reference in New Issue
Block a user