37 lines
1.5 KiB
PHP
Executable File
37 lines
1.5 KiB
PHP
Executable File
<?php
|
|
ob_start();
|
|
|
|
// Charger le menu contextuel qui modifie le DOM
|
|
echo '<script type="text/javascript" src="./_include/_js/menuContextuel.js.php" ></script>';
|
|
|
|
echo "<style>
|
|
#menuDeroulantBarre { justify-content: normal; z-index: 1000; margin:auto; background:transparent }
|
|
#sousMenuBarre { position:fixed; z-index: 1000; margin:15px; background:transparent }
|
|
#zoneFormWbm, html { background:transparent}
|
|
</style>";
|
|
|
|
if ($affImgFonds==1)
|
|
echo '<div id="bodyImg" style="height:40%; margin:auto; text-align:center;">';
|
|
else
|
|
echo '<div id="body" style="height:40%; margin:auto; text-align:center;">';
|
|
|
|
// ---------------------------------------------------
|
|
// Barre des menus contetuels
|
|
// ---------------------------------------------------
|
|
echo '<span id="menuD-container" style="margin:auto; background:transparent; text-align:center; top:10px; ;">';
|
|
|
|
// MenuContextuel ici
|
|
if (isset($_SESSION['mouseOverMenuContext'])) $mouseOverMenuContext=$_SESSION['mouseOverMenuContext'];
|
|
$affMContext=true;
|
|
|
|
// charger le menu
|
|
include ("../menu/menuDeroulant.php");
|
|
$lire = ob_get_clean();
|
|
$lire = str_replace('./', '../', $lire);
|
|
if ($affImgFonds==1) $lire = str_replace('menuDeroulantBarre" >', 'menuDeroulantBarre" style="display:flex; flex-wrap:wrap; background:transparent" >', $lire);
|
|
if ($affImgFonds==1) $lire = str_replace('menuDeroulantItem"', 'menuDeroulantItem" style="background:transparent" ', $lire);
|
|
echo $lire;
|
|
echo '</span>';
|
|
|
|
if ($affImgFonds==1) echo '</div>';
|
|
?>
|