From d4265e65f85b1433d86757432d57adb81609aa1c Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 29 Oct 2025 15:48:43 +0100 Subject: [PATCH] getAvailableLanguages() is now a method of Settings --- views/bootstrap/class.Settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/bootstrap/class.Settings.php b/views/bootstrap/class.Settings.php index 6e46f57de..d1829f4e7 100644 --- a/views/bootstrap/class.Settings.php +++ b/views/bootstrap/class.Settings.php @@ -634,8 +634,8 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site')); showConfigText('settings_siteName', 'siteName'); ?> showConfigText('settings_footNote', 'footNote'); ?> showConfigCheckbox('settings_printDisclaimer', 'printDisclaimer'); ?> -showConfigOption('settings_available_languages', 'availablelanguages', getAvailableLanguages(), true, true); ?> -showConfigOption('settings_language', 'language', getAvailableLanguages(), false, true); ?> +showConfigOption('settings_available_languages', 'availablelanguages', $settings->getAvailableLanguages(), true, true); ?> +showConfigOption('settings_language', 'language', $settings->getAvailableLanguages(), false, true); ?> showConfigText('settings_dateformat', 'dateformat'); ?> showConfigText('settings_datetimeformat', 'datetimeformat'); ?> showConfigOption('settings_theme', 'theme', UI::getStyles(), false, false); ?>