n
This commit is contained in:
parent
62ee957030
commit
24946728e8
|
|
@ -29,38 +29,31 @@ $_SESSION['descriptionVue'] = est_anglophone() ? $infovue['DescriptionEng'] : $i
|
|||
$_SESSION['titreRetour'] = est_anglophone() ? $infovue['titreRetourEng'] : $infovue['titreRetour'];
|
||||
$_SESSION['retourVue'] = $infovue['lienRetour'];
|
||||
|
||||
|
||||
// Récupérer les menus
|
||||
$menus = $gabary->get_menus($_SESSION['profil']);
|
||||
$menusvue = $gabary->get_menus_vue($_SESSION['vue'], $_SESSION['profil']);
|
||||
|
||||
// Pour l'exemple, on désactive le mode test
|
||||
// Pour l'exemple, on désactive le mode test, mais vous pouvez le laisser dynamique
|
||||
$_SESSION['bdTests_C'] = "0";
|
||||
?>
|
||||
|
||||
<!doctype html>
|
||||
<?php if (est_anglophone()): ?>
|
||||
<html lang="en">
|
||||
<?php else: ?>
|
||||
<html lang="fr">
|
||||
<?php endif; ?>
|
||||
<head>
|
||||
<?php include('includes/head-meta.php'); ?>
|
||||
</head>
|
||||
|
||||
<body class="<?= ($_SESSION['bdTests_C'] == '1') ? 'mode-test-active' : '' ?>">
|
||||
<body class="<?= ($_SESSION['bdTests_C'] == '1') ? 'mode-test-active' : '' ?>">
|
||||
|
||||
<?php include('includes/header.php'); ?>
|
||||
<?php include('includes/sidebar.php'); ?>
|
||||
<?php include('includes/header.php'); ?>
|
||||
<?php include('includes/sidebar.php'); ?>
|
||||
|
||||
<!-- MAIN CONTENT - NE PAS MODIFIER LA STRUCTURE -->
|
||||
<main id="main" class="main">
|
||||
<?php include('includes/main-content.php'); ?>
|
||||
</main>
|
||||
<main id="main" class="main">
|
||||
<?php include('includes/main-navigation.php'); ?>
|
||||
|
||||
<?php include('includes/barre-contexte.php'); ?>
|
||||
<?php include('includes/modals.php'); ?>
|
||||
<?php include('includes/scripts-footer.php'); ?>
|
||||
<div class="page-content">
|
||||
<?= $contenu ?>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
</body>
|
||||
<?php include('includes/barre-contexte.php'); ?>
|
||||
<?php include('includes/modals.php'); ?>
|
||||
<?php include('includes/scripts-footer.php'); ?>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue
Block a user