From 3d9d054f43f649863e575ba31138d372a504bc58 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Fri, 17 Jan 2014 22:12:26 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20des=20noms=20des=20th?= =?UTF-8?q?=C3=A8mes=20dans=20install?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Corrige https://github.com/marienfressinaud/FreshRSS/issues/327#issuecomment-32630046 (Pas encore testé) --- p/i/install.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/p/i/install.php b/p/i/install.php index e81b76c14..08ed9ccb9 100644 --- a/p/i/install.php +++ b/p/i/install.php @@ -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) {