ajout d'un header post connexion + adaptation des différents controllers + créations de fichiers temporaires

This commit is contained in:
2024-05-23 14:33:23 +02:00
parent deca6ccb93
commit 611587f7a0
12 changed files with 181 additions and 42 deletions

View File

@@ -11,8 +11,18 @@ class MentionsLegales extends CI_Controller {
public function index()
{
$this->load->view('layout/header_not_logged_dark');
$this->load->view('mentions-legals');
$this->load->view('layout/footer_dark');
include 'temporaire.php';
if($logged == true){
$this->load->view('layout/header_dark');
$this->load->view('layout/header_logged_dark');
$this->load->view('mentions-legals');
$this->load->view('layout/footer_dark');
} else {
$this->load->view('layout/header_dark');
$this->load->view('layout/header_not_logged_dark');
$this->load->view('mentions-legals');
$this->load->view('layout/footer_dark');
}
}
}