Subversion Repositories Applications.papyrus

Rev

Rev 2009 | Rev 2016 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2009 Rev 2010
Line 1... Line 1...
1
<?php
1
<?php
Line -... Line 2...
-
 
2
 
-
 
3
 /**
-
 
4
  * On appelle le fichier des fonctions d'initialisation de code igniter
2
 
5
  */
Line -... Line 6...
-
 
6
 require_once GEN_CHEMIN_BIBLIO.'ci_initialisation.fonct.php' ;
-
 
7
 
-
 
8
 /**
3
 require_once GEN_CHEMIN_BIBLIO.'ci_initialisation.fonct.php' ;
9
  * Fonction d'affichage de Papyrus, pour le corps de page
Line -... Line 10...
-
 
10
  */
4
 
11
 function afficherContenuCorps() {
-
 
12
 	
5
 function afficherContenuCorps() {
13
 	// si l'utilisateur est authentifié
6
 	
14
 	if($GLOBALS['_GEN_commun']['pear_auth']->getAuth()) { 
-
 
15
 		// on renvoie la vue principale de l'application
7
 	if($GLOBALS['_GEN_commun']['pear_auth']->getAuth()) { 
16
 		return executerCodeIgniter('admin_administrateur') ;
8
 		return executerCodeIgniter('admin_administrateur') ;
17
 	} else {
Line 9... Line 18...
9
 	} else {
18
 		// sinon on lui demande de s'identifier
10
 		return executerCodeIgniter('admin_administrateur','demander_ident') ;
19
 		return executerCodeIgniter('admin_administrateur','demander_ident') ;
Line 16... Line 25...
16
  * afficherContenuNavigation()
25
  * afficherContenuNavigation()
17
  * afficherContenuMenu()
26
  * afficherContenuMenu()
18
  * afficherContenuPied()
27
  * afficherContenuPied()
19
  * 
28
  * 
20
  */
29
  */
21
  
30
 
22
  function afficherContenuTete() {
-
 
23
  	
-
 
24
  //	return executerCodeIgniter('admin_administrateur','admin_tete') ;
-
 
25
  }
-
 
26
  
-
 
27
  function afficherContenuPied() {
-
 
28
  	
-
 
29
  }
-
 
30
?>
31
?>