default themes

This commit is contained in:
Mike Macgirvin 2023-10-17 06:32:06 +11:00
parent 018bf6392b
commit d843c0db57
15 changed files with 16 additions and 16 deletions

View file

@ -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];

View file

@ -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']);

View file

@ -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')) {

View file

@ -17,7 +17,7 @@ class Theme
/**
* @brief Array with base or fallback themes.
*/
public static $base_themes = ['redbasic'];
public static $base_themes = ['redbasic', 'fresh'];
/**

View file

@ -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';

View file

@ -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';

View file

@ -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';

View file

@ -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';

View file

@ -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';

View file

@ -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';

View file

@ -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';

View file

@ -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';

View file

@ -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';

View file

@ -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';

View file

@ -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';