mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:55:15 +00:00
default themes
This commit is contained in:
parent
018bf6392b
commit
d843c0db57
15 changed files with 16 additions and 16 deletions
|
@ -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];
|
||||
|
|
|
@ -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']);
|
||||
|
|
|
@ -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')) {
|
||||
|
|
|
@ -17,7 +17,7 @@ class Theme
|
|||
/**
|
||||
* @brief Array with base or fallback themes.
|
||||
*/
|
||||
public static $base_themes = ['redbasic'];
|
||||
public static $base_themes = ['redbasic', 'fresh'];
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in a new issue