diff --git a/Code/Lib/Apps.php b/Code/Lib/Apps.php index 82bc77abe..c5cbbc110 100644 --- a/Code/Lib/Apps.php +++ b/Code/Lib/Apps.php @@ -21,7 +21,7 @@ class Apps public static function get_theme() { - $themename = Config::Get('system', 'theme', 'redbasic'); + $themename = Config::Get('system', 'theme', 'fresh'); if (local_channel()) { $themespec = explode(':', App::$channel['channel_theme']); $themename = $themespec[0]; diff --git a/Code/Module/Settings/Display.php b/Code/Module/Settings/Display.php index 3accc4139..f5fd9c603 100644 --- a/Code/Module/Settings/Display.php +++ b/Code/Module/Settings/Display.php @@ -30,7 +30,7 @@ class Display $theme = ((x($_POST, 'theme')) ? notags(trim($_POST['theme'])) : $existing_theme); if (!$theme) { - $theme = 'redbasic'; + $theme = 'fresh'; } @@ -120,7 +120,7 @@ class Display $default_theme = get_config('system', 'theme'); if (!$default_theme) { - $default_theme = 'redbasic'; + $default_theme = 'fresh'; } $themespec = explode(':', App::$channel['channel_theme']); diff --git a/Code/Module/Setup.php b/Code/Module/Setup.php index 744fc720f..0b23e5f7c 100644 --- a/Code/Module/Setup.php +++ b/Code/Module/Setup.php @@ -742,7 +742,7 @@ class Setup extends Controller public function what_next() { // install the standard theme - set_config('system', 'allowed_themes', 'redbasic'); + set_config('system', 'allowed_themes', 'redbasic,fresh'); // if imagick converter is installed, use it if (Stdio::is_executable('/usr/bin/magick')) { diff --git a/Code/Render/Theme.php b/Code/Render/Theme.php index 9ac306a1c..ad0f3678b 100644 --- a/Code/Render/Theme.php +++ b/Code/Render/Theme.php @@ -17,7 +17,7 @@ class Theme /** * @brief Array with base or fallback themes. */ - public static $base_themes = ['redbasic']; + public static $base_themes = ['redbasic', 'fresh']; /** diff --git a/view/de-de/htconfig.tpl b/view/de-de/htconfig.tpl index 35465b520..15e93cc97 100644 --- a/view/de-de/htconfig.tpl +++ b/view/de-de/htconfig.tpl @@ -95,7 +95,7 @@ App::$config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL; // default system theme -App::$config['system']['theme'] = 'redbasic'; +App::$config['system']['theme'] = 'fresh'; App::$config['system']['ssl_exceptions'] = 'lndo.site'; diff --git a/view/en-au/htconfig.tpl b/view/en-au/htconfig.tpl index 35465b520..15e93cc97 100644 --- a/view/en-au/htconfig.tpl +++ b/view/en-au/htconfig.tpl @@ -95,7 +95,7 @@ App::$config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL; // default system theme -App::$config['system']['theme'] = 'redbasic'; +App::$config['system']['theme'] = 'fresh'; App::$config['system']['ssl_exceptions'] = 'lndo.site'; diff --git a/view/en-gb/htconfig.tpl b/view/en-gb/htconfig.tpl index 35465b520..15e93cc97 100644 --- a/view/en-gb/htconfig.tpl +++ b/view/en-gb/htconfig.tpl @@ -95,7 +95,7 @@ App::$config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL; // default system theme -App::$config['system']['theme'] = 'redbasic'; +App::$config['system']['theme'] = 'fresh'; App::$config['system']['ssl_exceptions'] = 'lndo.site'; diff --git a/view/en/htconfig.tpl b/view/en/htconfig.tpl index 35465b520..15e93cc97 100644 --- a/view/en/htconfig.tpl +++ b/view/en/htconfig.tpl @@ -95,7 +95,7 @@ App::$config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL; // default system theme -App::$config['system']['theme'] = 'redbasic'; +App::$config['system']['theme'] = 'fresh'; App::$config['system']['ssl_exceptions'] = 'lndo.site'; diff --git a/view/fr/htconfig.tpl b/view/fr/htconfig.tpl index 35465b520..15e93cc97 100644 --- a/view/fr/htconfig.tpl +++ b/view/fr/htconfig.tpl @@ -95,7 +95,7 @@ App::$config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL; // default system theme -App::$config['system']['theme'] = 'redbasic'; +App::$config['system']['theme'] = 'fresh'; App::$config['system']['ssl_exceptions'] = 'lndo.site'; diff --git a/view/it/htconfig.tpl b/view/it/htconfig.tpl index 35465b520..15e93cc97 100644 --- a/view/it/htconfig.tpl +++ b/view/it/htconfig.tpl @@ -95,7 +95,7 @@ App::$config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL; // default system theme -App::$config['system']['theme'] = 'redbasic'; +App::$config['system']['theme'] = 'fresh'; App::$config['system']['ssl_exceptions'] = 'lndo.site'; diff --git a/view/nb-no/htconfig.tpl b/view/nb-no/htconfig.tpl index 35465b520..15e93cc97 100644 --- a/view/nb-no/htconfig.tpl +++ b/view/nb-no/htconfig.tpl @@ -95,7 +95,7 @@ App::$config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL; // default system theme -App::$config['system']['theme'] = 'redbasic'; +App::$config['system']['theme'] = 'fresh'; App::$config['system']['ssl_exceptions'] = 'lndo.site'; diff --git a/view/pl/htconfig.tpl b/view/pl/htconfig.tpl index c68ef192a..d48078833 100644 --- a/view/pl/htconfig.tpl +++ b/view/pl/htconfig.tpl @@ -97,7 +97,7 @@ App::$config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL; // domyślny motyw systemowy -App::$config['system']['theme'] = 'redbasic'; +App::$config['system']['theme'] = 'fresh'; App::$config['system']['ssl_exceptions'] = 'lndo.site'; diff --git a/view/pt-br/htconfig.tpl b/view/pt-br/htconfig.tpl index 35465b520..15e93cc97 100644 --- a/view/pt-br/htconfig.tpl +++ b/view/pt-br/htconfig.tpl @@ -95,7 +95,7 @@ App::$config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL; // default system theme -App::$config['system']['theme'] = 'redbasic'; +App::$config['system']['theme'] = 'fresh'; App::$config['system']['ssl_exceptions'] = 'lndo.site'; diff --git a/view/ru/htconfig.tpl b/view/ru/htconfig.tpl index 35465b520..15e93cc97 100644 --- a/view/ru/htconfig.tpl +++ b/view/ru/htconfig.tpl @@ -95,7 +95,7 @@ App::$config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL; // default system theme -App::$config['system']['theme'] = 'redbasic'; +App::$config['system']['theme'] = 'fresh'; App::$config['system']['ssl_exceptions'] = 'lndo.site'; diff --git a/view/sv/htconfig.tpl b/view/sv/htconfig.tpl index 35465b520..15e93cc97 100644 --- a/view/sv/htconfig.tpl +++ b/view/sv/htconfig.tpl @@ -95,7 +95,7 @@ App::$config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL; // default system theme -App::$config['system']['theme'] = 'redbasic'; +App::$config['system']['theme'] = 'fresh'; App::$config['system']['ssl_exceptions'] = 'lndo.site';