Merge pull request #9972 from MrPetovan/task/9971-frio-default-theme

Make frio the default theme
2022.09-rc
Michael Vogel 2021-03-02 19:32:05 +01:00 zatwierdzone przez GitHub
commit 501e0b398f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -58,7 +58,7 @@ return [
// allowed_themes (Comma-separated list)
// Themes users can change to in their settings.
'allowed_themes' => 'quattro,vier,duepuntozero,smoothly',
'allowed_themes' => 'frio,quattro,vier,duepuntozero,smoothly',
// curl_timeout (Integer)
// Value is in seconds. Set to 0 for unlimited (not recommended).
@ -184,7 +184,7 @@ return [
// theme (String)
// System theme name.
'theme' => 'vier',
'theme' => 'frio',
// url (String)
// The fully-qualified URL of this Friendica node.

Wyświetl plik

@ -49,7 +49,7 @@ $a->config['php_path'] = '/another/php';
$a->config['system']['huburl'] = '[internal]';
// allowed themes (change this from admin panel after installation)
$a->config['system']['allowed_themes'] = 'quattro,vier,duepuntozero';
$a->config['system']['allowed_themes'] = 'frio,quattro,vier,duepuntozero';
// default system theme
$a->config['system']['theme'] = 'frio';

Wyświetl plik

@ -176,7 +176,7 @@ class ConfigFileLoaderTest extends MockedTest
self::assertEquals('999', $configCache->get('config', 'max_import_size'));
self::assertEquals('666', $configCache->get('system', 'maximagesize'));
self::assertEquals('quattro,vier,duepuntozero', $configCache->get('system', 'allowed_themes'));
self::assertEquals('frio,quattro,vier,duepuntozero', $configCache->get('system', 'allowed_themes'));
self::assertEquals('1', $configCache->get('system', 'no_regfullname'));
}