Línea 133... |
Línea 133... |
133 |
// If the settings menu will be included in the header then don't add it here.
|
133 |
// If the settings menu will be included in the header then don't add it here.
|
134 |
$regionmainsettingsmenu = $buildregionmainsettings ? $OUTPUT->region_main_settings_menu() : false;
|
134 |
$regionmainsettingsmenu = $buildregionmainsettings ? $OUTPUT->region_main_settings_menu() : false;
|
Línea 135... |
Línea 135... |
135 |
|
135 |
|
136 |
if ($PAGE->course->enablecompletion == '1') {
|
136 |
if ($PAGE->course->enablecompletion == '1') {
|
137 |
$extraclasses[] = 'rui-course--enablecompletion';
|
- |
|
138 |
$header = $PAGE->activityheader;
|
- |
|
139 |
$headercontent = $header->export_for_template($renderer);
|
137 |
$extraclasses[] = 'rui-course--enablecompletion';
|
140 |
$completed = false;
|
138 |
$completed = false;
|
141 |
} elseif ($PAGE->course->enablecompletion != '1') {
|
139 |
} elseif ($PAGE->course->enablecompletion != '1') {
|
142 |
echo ($PAGE->course->enablecompletion);
|
140 |
echo ($PAGE->course->enablecompletion);
|
143 |
if ($currentmod->completionview != 1 && $currentmod->completion != 2) {
|
141 |
if ($currentmod->completionview != 1 && $currentmod->completion != 2) {
|