From 763ad494a9a74665c6be31914c88eb8d6edcbc4a Mon Sep 17 00:00:00 2001 From: polo Date: Sat, 12 Mar 2022 02:48:34 +0100 Subject: changement pages et contenu --- controller/visitor.php | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'controller/visitor.php') diff --git a/controller/visitor.php b/controller/visitor.php index ac19441..38f24e8 100644 --- a/controller/visitor.php +++ b/controller/visitor.php @@ -58,11 +58,11 @@ function melaineVisitor() $headerPaintedTitle = 'Melaine Favennec'; pageArticlesSimplesVisitor($page, $title, $headerPaintedTitle); } -function concertsVisitor() +function musiqueVisitor() { - $page = "concerts"; - $title = "Concerts"; - $headerPaintedTitle = 'Concerts'; + $page = "musique"; + $title = "Musique"; + $headerPaintedTitle = 'Musique'; pageArticlesSimplesVisitor($page, $title, $headerPaintedTitle); } function presseVisitor() @@ -72,18 +72,11 @@ function presseVisitor() $headerPaintedTitle = 'La Presse'; pageArticlesSimplesVisitor($page, $title, $headerPaintedTitle); } -function ateliersVisitor() +function jaimeVisitor() { - $page = "ateliers"; - $title = "Ateliers"; - $headerPaintedTitle = 'Les ateliers de Melaine'; - pageArticlesSimplesVisitor($page, $title, $headerPaintedTitle); -} -function liensVisitor() -{ - $page = "liens"; - $title = "Liens"; - $headerPaintedTitle = 'Liens'; + $page = "jaime"; + $title = "J'aime"; + $headerPaintedTitle = 'J\'aime'; pageArticlesSimplesVisitor($page, $title, $headerPaintedTitle); } function peintureVisitor() @@ -100,6 +93,13 @@ function archivesVisitor() $headerPaintedTitle = 'Archives'; pageArticlesSimplesVisitor($page, $title, $headerPaintedTitle); } +function legalVisitor() +{ + $page = "legal"; + $title = "Mentions légales"; + $headerPaintedTitle = 'Mentions légales'; + pageArticlesSimplesVisitor($page, $title, $headerPaintedTitle); +} // page plus complexe que les autres -- cgit v1.2.3