mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
Mise en place des dossiers pour les templates
This commit is contained in:
parent
a89b0c79ad
commit
79b2c47941
39 changed files with 63 additions and 136 deletions
|
@ -25,7 +25,7 @@
|
|||
unset($_SESSION['successmessage']);
|
||||
}
|
||||
|
||||
$this->render('head', array(
|
||||
$this->render('internalIncs/head', array(
|
||||
'title' => $title,
|
||||
'author' => $author,
|
||||
'error_message' => $error_message,
|
||||
|
@ -41,7 +41,7 @@
|
|||
public function nav($page = '')
|
||||
{
|
||||
$email = isset($_SESSION['email']) ? $_SESSION['email'] : 'Mon compte';
|
||||
$this->render('nav', array(
|
||||
$this->render('internalIncs/nav', array(
|
||||
'email' => $email,
|
||||
'page' => $page,
|
||||
));
|
||||
|
@ -49,6 +49,6 @@
|
|||
|
||||
public function footer()
|
||||
{
|
||||
$this->render('footer');
|
||||
$this->render('internalIncs/footer');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue