Modification des headers + ajout de cookies de connexion

This commit is contained in:
stiti
2024-05-25 01:13:18 +02:00
parent 3ee078d36e
commit de3f0c7cb5
11 changed files with 73 additions and 123 deletions

View File

@@ -11,18 +11,9 @@ class MentionsLegales extends CI_Controller {
public function index()
{
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');
}
$this->load->view('layout/header_dark');
$this->load->view('mentions-legals');
$this->load->view('layout/footer_dark');
}
}