Changeset 5981


Ignore:
Timestamp:
Apr 28, 2010, 12:45:05 PM (10 years ago)
Author:
patdenice
Message:

feature 1502: migrate other template than yoga.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/db/84-database.php

    r5196 r5981  
    4848  list($user_template, $user_theme) = explode('/', $row['theme']);
    4949
    50   if ($user_template != 'yoga')
     50  switch ($user_template)
    5151  {
    52     $user_theme = 'Sylvia'; // We can find better!
     52    case 'yoga':
     53      break;
     54
     55    case 'gally':
     56      $user_theme = 'gally-'.$user_theme;
     57      break;
     58
     59    case 'floPure':
     60      $user_theme = 'Pure_'.$user_theme;
     61      break;
     62
     63    case 'floOs':
     64      $user_theme = 'OS_'.$user_theme;
     65      break;
     66
     67    case 'simple':
     68      $user_theme = 'simple-'.$user_theme;
     69      break;
     70
     71    default:
     72      $user_theme = 'Sylvia';
    5373  }
     74
    5475  array_push($users, array(
    5576    'user_id' => $row['user_id'],
Note: See TracChangeset for help on using the changeset viewer.