Proyectos de Subversion Moodle

Rev

Rev 1320 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1320 Rev 1321
Línea 35... Línea 35...
35
        'enrol' => 'guest',
35
        'enrol' => 'guest',
36
        'status' => 0 // habilitado
36
        'status' => 0 // habilitado
37
    ]);
37
    ]);
38
}
38
}
Línea 39... Línea 39...
39
 
39
 
40
$templatecontext['isguestuser'] = isguestuser();
40
$templatecontext['debug_guest'] = isguestuser();
Línea 41... Línea 41...
41
$templatecontext['guestaccessenabled'] = course_allows_guest_access($PAGE->course->id);
41
$templatecontext['debug_can_access'] = can_access_course($PAGE->course) ? 'sí' : 'no';
42
 
42
 
Línea 43... Línea 43...
43
$draweropenright = false;
43
$draweropenright = false;
Línea 178... Línea 178...
178
if (theme_universe_get_setting('backtotop') == '1') {
178
if (theme_universe_get_setting('backtotop') == '1') {
179
    $extraclasses[] = 'back-to-top-on';
179
    $extraclasses[] = 'back-to-top-on';
180
}
180
}
Línea 181... Línea 181...
181
 
181
 
-
 
182
$bodyattributes = $OUTPUT->body_attributes($extraclasses);
Línea 182... Línea 183...
182
$bodyattributes = $OUTPUT->body_attributes($extraclasses);
183
$templatecontext['main_content'] = $OUTPUT->main_content();
183
 
184
 
184
$templatecontext = [
185
$templatecontext = [
185
    'sitename' => format_string($SITE->shortname, true, ['context' => context_course::instance(SITEID), "escape" => false]),
186
    'sitename' => format_string($SITE->shortname, true, ['context' => context_course::instance(SITEID), "escape" => false]),