Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 138... Línea 138...
138
 
138
 
139
$headtags = $attemptobj->get_html_head_contributions($page);
139
$headtags = $attemptobj->get_html_head_contributions($page);
140
$PAGE->set_title($attemptobj->attempt_page_title($page));
140
$PAGE->set_title($attemptobj->attempt_page_title($page));
141
$PAGE->add_body_class('limitedwidth');
141
$PAGE->add_body_class('limitedwidth');
-
 
142
$PAGE->set_heading($attemptobj->get_course()->fullname);
-
 
143
if ($PAGE->pagelayout === 'secure') {
-
 
144
    // Show the activity header (but only the name) in the secure layout on quiz pages.
-
 
145
    $PAGE->activityheader->set_attrs([
-
 
146
        'description' => '',
-
 
147
    ]);
142
$PAGE->set_heading($attemptobj->get_course()->fullname);
148
} else {
-
 
149
    $PAGE->activityheader->disable();
143
$PAGE->activityheader->disable();
150
}
144
if ($attemptobj->is_last_page($page)) {
151
if ($attemptobj->is_last_page($page)) {
145
    $nextpage = -1;
152
    $nextpage = -1;
146
} else {
153
} else {
147
    $nextpage = $page + 1;
154
    $nextpage = $page + 1;