show_login && !$standard_login_active) { $navigation = new Navigation(_('Login'), ''); $navigation->setDescription($auth_plugin->login_description ?: _('für registrierte Nutzende')); $navigation->setLinkAttributes([ 'id' => 'toggle-login' ]); $navigation->setURL('#toggle-login'); $this->addSubNavigation('standard_login', $navigation); $standard_login_active = true; } if ($auth_plugin instanceof StudipAuthSSO && isset($auth_plugin->login_description)) { $navigation = new Navigation( $auth_plugin->plugin_fullname . ' ' . _('Login'), Request::url(), ['again' => 'yes', 'sso' => $auth_plugin->plugin_name, 'cancel_login' => 1] ); $navigation->setDescription($auth_plugin->login_description); $this->addSubNavigation('login_' . $auth_plugin->plugin_name, $navigation); } } } }