|
|
@ -37,9 +37,13 @@ if ($navdraweropen) { |
|
|
|
$extraclasses[] = 'drawer-open-left'; |
|
|
|
} |
|
|
|
$bodyattributes = $OUTPUT->body_attributes($extraclasses); |
|
|
|
|
|
|
|
$blockshtml = $OUTPUT->blocks('side-pre'); |
|
|
|
$hasblocks = strpos($blockshtml, 'data-block=') !== false; |
|
|
|
$regionmainsettingsmenu = $OUTPUT->region_main_settings_menu(); |
|
|
|
|
|
|
|
$courseimg = 'http://localhost/saberes/pluginfile.php/1562711/course/overviewfiles/Cerimonial%20no%20Ambiente%20Legislativo.png'; |
|
|
|
|
|
|
|
$templatecontext = [ |
|
|
|
'sitename' => format_string($SITE->shortname, true, ['context' => context_course::instance(SITEID), "escape" => false]), |
|
|
|
'output' => $OUTPUT, |
|
|
@ -48,7 +52,8 @@ $templatecontext = [ |
|
|
|
'bodyattributes' => $bodyattributes, |
|
|
|
'navdraweropen' => $navdraweropen, |
|
|
|
'regionmainsettingsmenu' => $regionmainsettingsmenu, |
|
|
|
'hasregionmainsettingsmenu' => !empty($regionmainsettingsmenu) |
|
|
|
'hasregionmainsettingsmenu' => !empty($regionmainsettingsmenu), |
|
|
|
'courseimg' => $courseimg |
|
|
|
]; |
|
|
|
|
|
|
|
$templatecontext['flatnavigation'] = $PAGE->flatnav; |
|
|
|