diff --git a/actions/admin/settings/100.panel.php b/actions/admin/settings/100.panel.php
index d5be46cc..faf53644 100644
--- a/actions/admin/settings/100.panel.php
+++ b/actions/admin/settings/100.panel.php
@@ -31,7 +31,10 @@ return array(
'type' => 'option',
'default' => 'English',
'option_mode' => 'one',
- 'option_options_method' => array('\\Froxlor\\User', 'getLanguages'),
+ 'option_options_method' => array(
+ '\\Froxlor\\User',
+ 'getLanguages'
+ ),
'save_method' => 'storeSettingField'
),
'panel_default_theme' => array(
@@ -44,7 +47,10 @@ return array(
'type' => 'option',
'default' => 'Froxlor',
'option_mode' => 'one',
- 'option_options_method' => 'getThemes',
+ 'option_options_method' => array(
+ '\\Froxlor\\UI\\Template',
+ 'getThemes'
+ ),
'save_method' => 'storeSettingDefaultTheme'
),
'panel_allow_theme_change_customer' => array(
diff --git a/admin_index.php b/admin_index.php
index 6bc7dfb3..9f180887 100644
--- a/admin_index.php
+++ b/admin_index.php
@@ -300,7 +300,7 @@ if ($page == 'overview') {
$default_theme = $userinfo['theme'];
}
- $themes_avail = getThemes();
+ $themes_avail = \Froxlor\UI\Template::getThemes();
foreach ($themes_avail as $t => $d) {
$theme_options .= \Froxlor\UI\HTML::makeoption($d, $t, $default_theme, true);
}
diff --git a/admin_settings.php b/admin_settings.php
index 85bcdb73..2822e70c 100644
--- a/admin_settings.php
+++ b/admin_settings.php
@@ -59,7 +59,7 @@ if ($page == 'overview' && $userinfo['change_serversettings'] == '1') {
\Froxlor\UI\Response::standard_error($lng['error']['session_timeout'], $lng['error']['session_timeout_desc']);
}
- if (processFormEx($settings_data, $_POST, array(
+ if (\Froxlor\UI\Form::processFormEx($settings_data, $_POST, array(
'filename' => $filename,
'action' => $action,
'page' => $page
diff --git a/customer_index.php b/customer_index.php
index 25ea15b2..1bdcf416 100644
--- a/customer_index.php
+++ b/customer_index.php
@@ -271,7 +271,7 @@ if ($page == 'overview') {
}
$theme_options = '';
- $themes_avail = getThemes();
+ $themes_avail = \Froxlor\UI\Template::getThemes();
foreach ($themes_avail as $t => $d) {
$theme_options .= \Froxlor\UI\HTML::makeoption($d, $t, $default_theme, true);
}
diff --git a/install/updates/preconfig/0.9/preconfig_0.9.inc.php b/install/updates/preconfig/0.9/preconfig_0.9.inc.php
index b6432c33..706906d4 100644
--- a/install/updates/preconfig/0.9/preconfig_0.9.inc.php
+++ b/install/updates/preconfig/0.9/preconfig_0.9.inc.php
@@ -382,7 +382,7 @@ function parseAndOutputPreconfig(&$has_preconfig, &$return, $current_version, $c
$description = 'As you can (obviously) see, Froxlor now comes with a new theme. You also have the possibility to switch back to "Classic" if you want to.';
$question = 'Select default panel theme: ';
$question .= '