Fix for bug 2336:
I accidentally removed the editing button from courses when fixing bug 2328. Fortunately, Gustav was on the lookout.
This commit is contained in:
+5
-1
@@ -296,9 +296,13 @@ class page_course extends page_base {
|
||||
}
|
||||
}
|
||||
|
||||
// The "Editing On" button will be appearing only in the "main" course screen
|
||||
// (i.e., no breadcrumbs other than the default one added inside this function)
|
||||
$button = empty($morebreadcrumbs) ? update_course_icon($this->courserecord->id) : ' ';
|
||||
|
||||
$loggedinas = '<p class="logininfo">'. user_login_string($this->courserecord, $USER) .'</p>';
|
||||
print_header($title, $this->courserecord->fullname, $crumbtext,
|
||||
'', '', true, ' ', $loggedinas);
|
||||
'', '', true, $button, $loggedinas);
|
||||
}
|
||||
|
||||
// SELF-REPORTING SECTION
|
||||
|
||||
Reference in New Issue
Block a user