Changeset 1411


Ignore:
Timestamp:
Jun 27, 2006, 11:16:50 PM (18 years ago)
Author:
rub
Message:

Issue ID 0000429: Value on config_default.inc.php is a default value not defined by default.

Merge BSF r1409:1410 into branch-1_6

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

Legend:

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

    r1381 r1411  
    191191if (defined('IN_ADMIN') and IN_ADMIN)
    192192{
    193   list($user['template'], $user['theme']) = explode('/', $conf['admin_layout']);
     193  list($user['template'], $user['theme']) = explode('/', isset($conf['default_admin_layout']) ? $conf['default_admin_layout'] : $user['template']);
    194194// TODO : replace $conf['admin_layout'] by $user['admin_layout']
    195195}
  • branches/branch-1_6/include/config_default.inc.php

    r1370 r1411  
    486486
    487487// Must be user setable in future
    488 $conf['admin_layout']='yoga/dark';
     488// Default value of admin layout
     489// Step 1, default_admin_layout is not defined
     490//        null value, user_layout is used for admin layout
     491//        defined value, this value are used for admin layout
     492// Next on step, default_admin_layout will be used if the ara not checkeg admin layout
     493// stored on user informations
     494//$conf['default_admin_layout']='yoga/dark';
    489495
    490496?>
Note: See TracChangeset for help on using the changeset viewer.