Changeset 13467 for trunk/admin


Ignore:
Timestamp:
Mar 2, 2012, 11:14:38 PM (12 years ago)
Author:
plg
Message:

feature 2587: set theme "elegant" as default theme

Location:
trunk/admin/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_install.inc.php

    r13242 r13467  
    135135  foreach ($themes->fs_themes as $theme_id => $fs_theme)
    136136  {
    137     if (in_array($theme_id, array('Sylvia', 'clear', 'dark', 'smartpocket')))
     137    if (in_array($theme_id, array('elegant', 'Sylvia', 'clear', 'dark', 'smartpocket')))
    138138    {
    139139      $themes->perform_action('activate', $theme_id);
  • trunk/admin/include/functions_upgrade.php

    r12922 r13467  
    120120    'Sylvia',
    121121    'dark',
     122    'elegant',
    122123    );
    123124
     
    163164      $query = '
    164165UPDATE '.PREFIX_TABLE.'user_infos
    165   SET theme = \'Sylvia\'
     166  SET theme = \'elegant\'
    166167  WHERE user_id = '.$conf['default_user_id'].'
    167168;';
  • trunk/admin/include/updates.class.php

    r12802 r13467  
    2424      $this->types = array($page);
    2525    }
    26     $this->default_themes = array('clear', 'dark', 'Sylvia');
     26    $this->default_themes = array('clear', 'dark', 'Sylvia', 'elegant');
    2727    $this->default_plugins = array('admin_multi_view', 'c13y_upgrade', 'language_switch', 'LocalFilesEditor');
    2828
Note: See TracChangeset for help on using the changeset viewer.