Subversion Repositories eFlore/Applications.coel-consultation

Rev

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

Rev 36 Rev 37
Line 10... Line 10...
10
 * @copyright	2010 Tela-Botanica
10
 * @copyright	2010 Tela-Botanica
11
 * @license		GPL-v3 et CECILL-v2
11
 * @license		GPL-v3 et CECILL-v2
12
 * @version		SVN:<svn_id>
12
 * @version		SVN:<svn_id>
13
 */
13
 */
Line -... Line 14...
-
 
14
 
-
 
15
// Gestion des paramêtres définis dans Papyrus
-
 
16
if (isset($GLOBALS['_GEN_commun']['info_application']->module) && !isset($_GET['module'])) {
-
 
17
 		$_GET['module'] = $GLOBALS['_GEN_commun']['info_application']->module;
-
 
18
}
14
 
19
 
15
/** Inclusion du fichier principal de l'application*/
20
/** Inclusion du fichier principal de l'application*/
-
 
21
require_once dirname(__FILE__).DIRECTORY_SEPARATOR.'collection.php';
-
 
22
 
-
 
23
// Définition des feuilles de style de l'application pour Papyrus
-
 
24
$chemin = str_replace(PAP_CHEMIN_RACINE, '', Config::get('chemin_squelettes'));
-
 
25
GEN_stockerStyleExterne('collection', $chemin.'css'.DS.'collection'.DS.'collection.css');
-
 
26
GEN_stockerStyleExterne('jquery-ui-1.8', $chemin.'css'.DS.'humanity'.DS.'jquery-ui-1.8.custom.css');
-
 
27
 
-
 
28
// Définition des fichiers JS de l'application pour Papyrus
-
 
29
GEN_stockerFichierScript('jquery-1.4.2', $chemin.'js'.DS.'jquery-1.4.2.min.js');
Line 16... Line 30...
16
require_once 'collection.php';
30
GEN_stockerFichierScript('jquery-ui-1.8.custom', $chemin.'js'.DS.'jquery-ui-1.8.custom.min.js');
17
 
31
 
18
/**
32
/**
19
 * Fonction d'affichage de Papyrus, pour le corps de page.
33
 * Fonction d'affichage de Papyrus, pour le corps de page.
20
 */
34
 */
21
function afficherContenuCorps() {
35
function afficherContenuCorps() {
Line 22... Line 36...
22
	Collection::getContenuCorps();
36
	return Collection::getContenuCorps();
23
}
37
}
24
 
38
 
Line 25... Line 39...
25
function afficherContenuTete() {
39
function afficherContenuTete() {
26
	return 'CONTENU_TETE';
40
	return Collection::getContenuTete();
27
}
41
}
Line 28... Line 42...
28
 
42
 
29
function afficherContenuPied() {
43
function afficherContenuPied() {
30
	return 'CONTENU_PIED';
44
	return Collection::getContenuPied();
Line 31... Line 45...
31
}
45
}
32
 
46
 
33
function afficherContenuNavigation() {
47
function afficherContenuNavigation() {