contenu . Squelette::pied($page); } public static function en_tete($page) { // TODO : chemin css relatif. $racine = new Chemin('/'); $chemin_css = $racine->get_url('?vue=css'); $nl = "\n"; $ret = ''; $ret .= '' . $nl; $ret .= '' . $nl; $ret .= ' ' . $nl; $ret .= ' ' . $page->titre . '' . $nl; $ret .= ' ' . $nl; $ret .= ' ' . $nl; $ret .= ' ' . $nl; $ret .= ' ' . $nl; /*$ret .= ' ' . $nl;*/ $ret .= ' ' . $nl; $ret .= ' ' . $nl; $ret .= ' ' . $nl; $ret .= ' ' . $nl; $ret .= '

' . Stockage::get_prop($racine, "nom_site") . '

' . $nl; $ret .= '
' . $nl; if (Authentification::est_connecté()) { $ret .= 'enfant("connexion")->get_url("?action=deconnexion") . '">déconnexion' . $nl; } else { $ret .= 'enfant("connexion")->get_url() . '">connexion' . $nl; } $ret .= '
' . $nl; $ret .= ' ' . $nl; $ret .= '
' . $nl; return $ret; } public static function pied() { return '
'; } } ?>