2fa template migration; fix menu-active-state; removed unused code from UI/HTML-class
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -254,8 +254,6 @@ if ($page == 'overview') {
|
||||
\Froxlor\UI\Response::redirectTo($filename);
|
||||
} else {
|
||||
|
||||
$language_options = '';
|
||||
|
||||
$default_lang = Settings::Get('panel.standardlanguage');
|
||||
if ($userinfo['def_language'] != '') {
|
||||
$default_lang = $userinfo['def_language'];
|
||||
@@ -284,8 +282,6 @@ if ($page == 'overview') {
|
||||
\Froxlor\UI\Response::redirectTo($filename);
|
||||
} else {
|
||||
|
||||
$theme_options = '';
|
||||
|
||||
$default_theme = Settings::Get('panel.default_theme');
|
||||
if ($userinfo['theme'] != '') {
|
||||
$default_theme = $userinfo['theme'];
|
||||
|
||||
Reference in New Issue
Block a user