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:
defacer
2005-01-04 19:43:09 +00:00
parent c50e95d4b3
commit 0f256abc0c
+5 -1
View File
@@ -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, '&nbsp;', $loggedinas);
'', '', true, $button, $loggedinas);
}
// SELF-REPORTING SECTION