/** * Affiche une page statique * * @return string HTML * */ function afficheEdito() { $html = ''; $mail = new mailObject(); $t = new Template('modules/archi/templates/'); $t->set_filenames(array('edito' => 'edito.tpl')); $t->assign_vars(array('email' => $mail->encodeEmail("*****@*****.**"))); ob_start(); $t->pparse('edito'); $html .= ob_get_contents(); ob_end_clean(); return $html; }