This commit is contained in:
xdrm-brackets 2016-07-12 11:02:46 +02:00
parent e591b3c209
commit 1922085ba5
4 changed files with 5 additions and 5 deletions

View File

@ -93,7 +93,7 @@
$_SESSION['WAREHOUSE'] = [
'id' => (int) $checkRoot->answer()[0]['id_warehouse'],
'name' => $checkRoot->answer()[0]['name'],
'theme' => $checkRoot->answer()[0]['theme']
'theme' => '#'.$checkRoot->answer()[0]['theme']
];
/* (3) On récupère les modules de l'entrepot */

View File

@ -2,7 +2,7 @@
/* [0] On definit la racine __ROOT__ si c'est pas deja fait
=========================================================*/
if( !defined('__ROOT__') ) define('__ROOT__', dirname(dirname(__FILE__)) );
if( !defined('__ROOT__') ) define('__ROOT__', dirname(dirname(__FILE__)) );

View File

@ -91,7 +91,7 @@
}
</style>
<body style='background-color: #<?= $_SESSION['WAREHOUSE']['theme']; ?>;'>
<body style='background-color: <?= $_SESSION['WAREHOUSE']['theme']; ?>;'>

View File

@ -35,8 +35,8 @@
<div id='WRAPPER'>
<!-- HEADER DE LA PAGE -->
<div id='HEADER' style='background-color: #<?= $_SESSION['WAREHOUSE']['theme']; ?>;border-bottom-color: #aaa; ?>;'>
<div class='icon' style='background-color: #<?= $_SESSION['WAREHOUSE']['theme']; ?>;'></div>
<div id='HEADER' style='background-color: <?= $_SESSION['WAREHOUSE']['theme']; ?>;border-bottom-color: #aaa; ?>;'>
<div class='icon' style='background-color: <?= $_SESSION['WAREHOUSE']['theme']; ?>;'></div>
</div>