From 995482dff10b638e5eb138ab4900b016e02a26d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Sun, 4 Jul 2010 22:14:27 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20d'un=20en-t=C3=AAte=20et=20d'un=20pied?= =?UTF-8?q?=20=C3=A0=20la=20page=20g=C3=A9n=C3=A9r=C3=A9e.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __cms__/cms.php | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/__cms__/cms.php b/__cms__/cms.php index 6360cdb..7ae4832 100644 --- a/__cms__/cms.php +++ b/__cms__/cms.php @@ -25,8 +25,31 @@ class CMS { public static function affiche($uri) { $p = Page::_new(CMS::uri_vers_chemin($uri)); - echo "

Test

"; - echo $p->vue(); + echo CMS::en_tete($uri) // TODO + . $p->vue() + . CMS::pied(); + } + + public static function en_tete($titre) { + return +' + + + ' . $titre . ' + + + + +

' . $titre . '

'; +// +// +// + } + + public static function pied() { + return +' +'; } } ?> \ No newline at end of file