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

View File

@ -93,7 +93,7 @@
$_SESSION['WAREHOUSE'] = [ $_SESSION['WAREHOUSE'] = [
'id' => (int) $checkRoot->answer()[0]['id_warehouse'], 'id' => (int) $checkRoot->answer()[0]['id_warehouse'],
'name' => $checkRoot->answer()[0]['name'], '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 */ /* (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 /* [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> </style>
<body style='background-color: #<?= $_SESSION['WAREHOUSE']['theme']; ?>;'> <body style='background-color: <?= $_SESSION['WAREHOUSE']['theme']; ?>;'>

View File

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