mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-21119 lang menu and login info now handled by themes
This commit is contained in:
parent
684b988c94
commit
244a32c617
26 changed files with 155 additions and 187 deletions
|
@ -38,7 +38,6 @@
|
|||
$PAGE->set_heading('Course info');
|
||||
$PAGE->set_course($course);
|
||||
$PAGE->navbar->add(get_string('summary'));
|
||||
$PAGE->set_headingmenu(user_login_string());
|
||||
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->heading('<a href="view.php?id='.$course->id.'">'.format_string($course->fullname) . '</a><br />(' . format_string($course->shortname) . ')');
|
||||
|
|
|
@ -198,8 +198,6 @@
|
|||
$PAGE->set_title(get_string('course') . ': ' . $course->fullname);
|
||||
$PAGE->set_heading($course->fullname);
|
||||
$PAGE->set_button($buttons);
|
||||
//TODO: MDL-21123 this should be done in course page layout, not here with this ugly hack!
|
||||
//$PAGE->set_headingmenu(user_login_string($course, $USER));
|
||||
echo $OUTPUT->header();
|
||||
|
||||
if ($completion->is_enabled() && ajaxenabled()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue