diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/pages/user_settings.php | 3 | ||||
-rw-r--r-- | includes/sys_template.php | 11 |
2 files changed, 2 insertions, 12 deletions
diff --git a/includes/pages/user_settings.php b/includes/pages/user_settings.php index 69e5a7fb..667e73d9 100644 --- a/includes/pages/user_settings.php +++ b/includes/pages/user_settings.php @@ -198,8 +198,9 @@ function user_settings_locale($user_source, $locales) */ function user_settings() { - global $themes, $user; + global $user; $request = request(); + $themes = config('available_themes'); $enable_tshirt_size = config('enable_tshirt_size'); $tshirt_sizes = config('tshirt_sizes'); diff --git a/includes/sys_template.php b/includes/sys_template.php index 1d3943b7..bcf462d7 100644 --- a/includes/sys_template.php +++ b/includes/sys_template.php @@ -1,17 +1,6 @@ <?php /** - * Liste der verfügbaren Themes - */ -$themes = [ - '4' => 'Engelsystem 33c3 (2016)', - '3' => 'Engelsystem 32c3 (2015)', - '2' => 'Engelsystem cccamp15', - '0' => 'Engelsystem light', - '1' => 'Engelsystem dark' -]; - -/** * Display muted (grey) text. * * @param string $text |