Subversion Repositories Applications.framework

Rev

Rev 105 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 105 Rev 120
Line 21... Line 21...
21
function afficherContenuCorps() {
21
function afficherContenuCorps() {
22
	// Si l'utilisateur est authentifié
22
	// Si l'utilisateur est authentifié
23
	if (Config::get('identification')) {
23
	if (Config::get('identification')) {
24
		// on renvoie la vue principale de l'application
24
		// on renvoie la vue principale de l'application
25
		$methode = '' ;
25
		$methode = '' ;
-
 
26
 
26
		if (isset($_GET['m'])) {
27
		if (isset($_GET['m'])) {
27
			$methode = $_GET['m'];
28
			$methode = $_GET['m'];
28
		}
29
		}
29
		$controlleur = new AdminAdministrateur();
30
		$controlleur = new AdminAdministrateur();
30
 
-
 
31
		switch ($methode) {
31
		switch ($methode) {
32
			case 'ajout_admin':
32
			case 'ajout_admin':
33
				return $controlleur->ajoutAdmin();
33
				return $controlleur->ajoutAdmin();
34
				break;
34
				break;
35
			case 'ajout_admin_va':
35
			case 'ajout_admin_va':