Changeset 13467


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

feature 2587: set theme "elegant" as default theme

Location:
trunk
Files:
5 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
  • trunk/include/constants.php

    r13463 r13467  
    2525define('PHPWG_VERSION', '2.4.0RC1');
    2626define('PHPWG_DEFAULT_LANGUAGE', 'en_UK');
    27 define('PHPWG_DEFAULT_TEMPLATE', 'Sylvia');
     27define('PHPWG_DEFAULT_TEMPLATE', 'elegant');
    2828
    2929define('PHPWG_THEMES_PATH', $conf['themes_dir'].'/');
  • trunk/install/piwigo_structure-mysql.sql

    r13038 r13467  
    415415  `show_nb_hits` enum('true','false') NOT NULL default 'false',
    416416  `recent_period` tinyint(3) unsigned NOT NULL default '7',
    417   `theme` varchar(255) NOT NULL default 'Sylvia',
     417  `theme` varchar(255) NOT NULL default 'elegant',
    418418  `registration_date` datetime NOT NULL default '0000-00-00 00:00:00',
    419419  `enabled_high` enum('true','false') NOT NULL default 'true',
Note: See TracChangeset for help on using the changeset viewer.