mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-24 16:25:00 -04:00
Mise à jour des noms des thèmes dans install
Corrige https://github.com/marienfressinaud/FreshRSS/issues/327#issuecomment-32630046 (Pas encore testé)
This commit is contained in:
@@ -466,6 +466,19 @@ function checkStep0 () {
|
||||
} else {
|
||||
$userConfig = array();
|
||||
}
|
||||
if (isset($userConfig['theme'])) {
|
||||
switch (strtolower($userConfig['theme'])) {
|
||||
case 'default': //v0.6
|
||||
$userConfig['theme'] = 'Origine';
|
||||
break;
|
||||
case 'flat-design': //v0.6
|
||||
$userConfig['theme'] = 'Flat';
|
||||
break;
|
||||
case 'default_dark': //v0.6
|
||||
$userConfig['theme'] = 'Dark';
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$keys = array('language', 'old_entries', 'mail_login');
|
||||
foreach ($keys as $key) {
|
||||
|
||||
Reference in New Issue
Block a user