activeSubNavigation(); if ($subnavigation !== null) { $nav_links = new NavigationWidget(); $nav_links->setId('sidebar-navigation'); if (!$navigation->getImage()) { $nav_links->addLayoutCSSClass('show'); } foreach ($subnavigation as $path => $nav) { if (!$nav->isVisible()) { continue; } $nav_id = "nav_".implode("_", preg_split("/\//", $tab_root_path, -1, PREG_SPLIT_NO_EMPTY))."_".$path; $link = $nav_links->addLink( $nav->getTitle(), URLHelper::getURL($nav->getURL()), null, array_merge($nav->getLinkAttributes(), ['id' => $nav_id]) ); $link->setActive($nav->isActive()); if (!$nav->isEnabled()) { $link['disabled'] = true; $link->addClass('quiet'); } } if ($nav_links->hasElements()) { Sidebar::get()->insertWidget($nav_links, ':first'); } } } $getInstalledLanguages = function () { $languages = []; foreach ($GLOBALS['INSTALLED_LANGUAGES'] as $key => $value) { $languages[$key] = array_merge( $value, ['selected' => $_SESSION['_language'] === $key] ); } return $languages; }; ?> <?= htmlReady(PageLayout::getTitle() . ' - ' . Config::get()->UNI_NAME_CLEAN) ?> >
isActive()) || (Navigation::hasItem('/admin/institute') && Navigation::getItem('/admin/institute')->isActive())); ?>
> isActive() && $_SESSION['seminar_change_view_'.Context::getId()]) : ?> render_partial('change_view', ['changed_status' => $_SESSION['seminar_change_view_'.Context::getId()]]) ?> id != 'nobody') { // only mark course if user is logged in and free access enabled $is_public_course = Context::isCourse() && Config::get()->ENABLE_FREE_ACCESS; $is_public_institute = Context::isInstitute() && Config::get()->ENABLE_FREE_ACCESS && Config::get()->ENABLE_FREE_ACCESS != 'courses_only'; if (($is_public_course || $is_public_institute) && Navigation::hasItem('/course') && Navigation::getItem('/course')->isActive()) { // indicate to the template that this course is publicly visible // need to handle institutes separately (always visible) if ($GLOBALS['SessSemName']['class'] == 'inst') { $header_template->public_hint = _('öffentliche Einrichtung'); } else if (Course::findCurrent()->lesezugriff == 0) { $header_template->public_hint = _('öffentliche Veranstaltung'); } } } ?>
render() ?>
render_partial('shared/fullscreen-toggle.php') ?>
render_partial('footer'); ?>
*/ ?> asImg(24, ['class' => '']) ?>