Subversion Repositories eFlore/Applications.coel-consultation

Rev

Rev 10 | Rev 69 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10 Rev 39
1
<?php
1
<?php
2
// declare(encoding='UTF-8');
2
// declare(encoding='UTF-8');
3
/**
3
/**
4
 * Application de consultation des Collections.
4
 * Application de consultation des Collections.
5
 * Fichier contenant les fonctions nécessaire pour l'insertion de l'application dans Papyrus.
5
 * Fichier contenant les fonctions nécessaire pour l'insertion de l'application dans Papyrus.
6
 *
6
 *
7
 * @category	PHP5
7
 * @category	PHP5
8
 * @package		Collection
8
 * @package		Collection
9
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
9
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
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
 */
-
 
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');
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() {
22
	Collection::getContenuCorps();
36
	return Collection::getContenuCorps();
23
}
37
}
24
 
38
 
25
function afficherContenuTete() {
39
function afficherContenuTete() {
26
	return 'CONTENU_TETE';
40
	return Collection::getContenuTete();
27
}
41
}
28
 
42
 
29
function afficherContenuPied() {
43
function afficherContenuPied() {
30
	return 'CONTENU_PIED';
44
	return Collection::getContenuPied();
31
}
45
}
32
 
46
 
33
function afficherContenuNavigation() {
47
function afficherContenuNavigation() {
34
	return 'CONTENU_NAVIGATION';
48
	return Collection::getContenuNavigation();
35
}
49
}
36
 
50
 
37
function afficherContenuMenu() {
51
function afficherContenuMenu() {
38
	return 'CONTENU_MENU';
52
	return 'CONTENU_MENU';
39
}
53
}
40
?>
54
?>