/trunk/exemple/admin_administrateur.php |
---|
23,11 → 23,11 |
if (Config::get('identification')) { |
// on renvoie la vue principale de l'application |
$methode = '' ; |
if (isset($_GET['m'])) { |
$methode = $_GET['m']; |
} |
$controlleur = new AdminAdministrateur(); |
switch ($methode) { |
case 'ajout_admin': |
return $controlleur->ajoutAdmin(); |
/trunk/exemple/index.php |
---|
7,6 → 7,7 |
$titre = ""; |
$contenu_pied = afficherContenuPied(); |
$contenu_menu = afficherContenuMenu(); |
$erreurs = GestionnaireException::getExceptions(); |
?> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml" > |
91,6 → 92,9 |
</div> |
</div> |
</div> |
<div> |
<?php echo $erreurs; ?> |
</div> |
<div id="pied"> |
<p> ©<a href="http://www.tela-botanica.org/" accesskey="1">Tela Botanica</a> / 2000-2004 - Le rĂ©seau des Botanistes Francophones</p> |
</div> |