Changeset 1370


Ignore:
Timestamp:
Jun 19, 2006, 9:28:20 PM (18 years ago)
Author:
chrisaga
Message:

improve : feature 429 admin layout is fixed sitewise in config_default.inc.php

Location:
branches/branch-1_6/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_6/include/common.inc.php

    r1304 r1370  
    199199
    200200// include template/theme configuration
    201 list($user['template'], $user['theme']) = explode('/', $user['template']);
     201if (basename($_SERVER['SCRIPT_FILENAME']) == 'admin.php')
     202{
     203  list($user['template'], $user['theme']) = explode('/', $conf['admin_layout']);
     204// TODO : replace $conf['admin_layout'] by $user['admin_layout']
     205}
     206else
     207{
     208  list($user['template'], $user['theme']) = explode('/', $user['template']);
     209}
    202210// TODO : replace initial $user['template'] by $user['layout']
    203211
  • branches/branch-1_6/include/config_default.inc.php

    r1277 r1370  
    481481$conf['nbm_max_treatment_timeout_percent'] = 0.8;
    482482
     483// +-----------------------------------------------------------------------+
     484// | Set default admin layout                                              |
     485// +-----------------------------------------------------------------------+
     486
     487// Must be user setable in future
     488$conf['admin_layout']='yoga/dark';
     489
    483490?>
Note: See TracChangeset for help on using the changeset viewer.