aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/db/84-database.php25
1 files changed, 23 insertions, 2 deletions
diff --git a/install/db/84-database.php b/install/db/84-database.php
index f407da330..f6f498b39 100644
--- a/install/db/84-database.php
+++ b/install/db/84-database.php
@@ -47,10 +47,31 @@ while ($row = pwg_db_fetch_assoc($result))
{
list($user_template, $user_theme) = explode('/', $row['theme']);
- if ($user_template != 'yoga')
+ switch ($user_template)
{
- $user_theme = 'Sylvia'; // We can find better!
+ case 'yoga':
+ break;
+
+ case 'gally':
+ $user_theme = 'gally-'.$user_theme;
+ break;
+
+ case 'floPure':
+ $user_theme = 'Pure_'.$user_theme;
+ break;
+
+ case 'floOs':
+ $user_theme = 'OS_'.$user_theme;
+ break;
+
+ case 'simple':
+ $user_theme = 'simple-'.$user_theme;
+ break;
+
+ default:
+ $user_theme = 'Sylvia';
}
+
array_push($users, array(
'user_id' => $row['user_id'],
'theme' => $user_theme