Subversion Repositories Sites.tela-botanica.org

Rev

Rev 415 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 415 Rev 434
1
<?php
1
<?php
2
/*vim: set expandtab tabstop=4 shiftwidth=4: */
2
/*vim: set expandtab tabstop=4 shiftwidth=4: */
3
// +------------------------------------------------------------------------------------------------------+
3
// +------------------------------------------------------------------------------------------------------+
4
// | PHP version 5.1                                                                                      |
4
// | PHP version 5.1                                                                                      |
5
// +------------------------------------------------------------------------------------------------------+
5
// +------------------------------------------------------------------------------------------------------+
6
// | Copyright (C) 1999-2006 Tela Botanica (accueil@tela-botanica.org)                                    |
6
// | Copyright (C) 1999-2006 Tela Botanica (accueil@tela-botanica.org)                                    |
7
// +------------------------------------------------------------------------------------------------------+
7
// +------------------------------------------------------------------------------------------------------+
8
// | This file is part of papyrus_bp.                                                                         |
8
// | This file is part of papyrus_bp.                                                                         |
9
// |                                                                                                      |
9
// |                                                                                                      |
10
// | Foobar is free software; you can redistribute it and/or modify                                       |
10
// | Foobar is free software; you can redistribute it and/or modify                                       |
11
// | it under the terms of the GNU General Public License as published by                                 |
11
// | it under the terms of the GNU General Public License as published by                                 |
12
// | the Free Software Foundation; either version 2 of the License, or                                    |
12
// | the Free Software Foundation; either version 2 of the License, or                                    |
13
// | (at your option) any later version.                                                                  |
13
// | (at your option) any later version.                                                                  |
14
// |                                                                                                      |
14
// |                                                                                                      |
15
// | Foobar is distributed in the hope that it will be useful,                                            |
15
// | Foobar is distributed in the hope that it will be useful,                                            |
16
// | but WITHOUT ANY WARRANTY; without even the implied warranty of                                       |
16
// | but WITHOUT ANY WARRANTY; without even the implied warranty of                                       |
17
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                                        |
17
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                                        |
18
// | GNU General Public License for more details.                                                         |
18
// | GNU General Public License for more details.                                                         |
19
// |                                                                                                      |
19
// |                                                                                                      |
20
// | You should have received a copy of the GNU General Public License                                    |
20
// | You should have received a copy of the GNU General Public License                                    |
21
// | along with Foobar; if not, write to the Free Software                                                |
21
// | along with Foobar; if not, write to the Free Software                                                |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
23
// +------------------------------------------------------------------------------------------------------+
23
// +------------------------------------------------------------------------------------------------------+
24
// CVS : $Id: gall_config.inc.php,v 1.1 2006-12-07 17:29:20 jp_milcent Exp $
24
// CVS : $Id: gall_config.inc.php,v 1.1 2006-12-07 17:29:20 jp_milcent Exp $
25
/**
25
/**
26
* papyrus_bp - gall_config.inc.php
26
* papyrus_bp - gall_config.inc.php
27
*
27
*
28
* Description :
28
* Description :
29
*
29
*
30
*@package papyrus_bp
30
*@package papyrus_bp
31
//Auteur original :
31
//Auteur original :
32
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
32
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
33
//Autres auteurs :
33
//Autres auteurs :
34
*@author        Aucun
34
*@author        Aucun
35
*@copyright     Tela-Botanica 1999-2006
35
*@copyright     Tela-Botanica 1999-2006
36
*@version       $Revision: 1.1 $ $Date: 2006-12-07 17:29:20 $
36
*@version       $Revision: 1.1 $ $Date: 2006-12-07 17:29:20 $
37
// +------------------------------------------------------------------------------------------------------+
37
// +------------------------------------------------------------------------------------------------------+
38
*/
38
*/
39
 
39
 
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
41
// |                                            ENTÊTE du PROGRAMME                                       |
41
// |                                            ENTÊTE du PROGRAMME                                       |
42
// +------------------------------------------------------------------------------------------------------+
42
// +------------------------------------------------------------------------------------------------------+
43
$GLOBALS['_GALERIE_'] = array();
43
$GLOBALS['_GALERIE_'] = array();
44
 
44
 
45
// +------------------------------------------------------------------------------------------------------+
45
// +------------------------------------------------------------------------------------------------------+
46
// |                                            CORPS du PROGRAMME                                        |
46
// |                                            CORPS du PROGRAMME                                        |
47
// +------------------------------------------------------------------------------------------------------+
47
// +------------------------------------------------------------------------------------------------------+
48
/** Constante stockant la valeur de la langue par défaut pour l'applette GALL.*/
48
/** Constante stockant la valeur de la langue par défaut pour l'applette GALL.*/
49
define('GAL_I18N_DEFAUT', 'fr');
49
define('GAL_I18N_DEFAUT', 'fr');
50
 
50
 
51
/** L'url à partir de laquelle l'applette est appelée.*/
51
/** L'url à partir de laquelle l'applette est appelée.*/
52
define('GAL_URL', $this->GetConfigValue('base_url'));
52
define('GAL_URL', $this->GetConfigValue('base_url'));
53
 
53
 
54
// Chemin vers les dossiers de l'applette
54
// Chemin vers les dossiers de l'applette
55
/** Chemin vers la racine du site.*/
55
/** Chemin vers la racine du site.*/
56
define('GAL_CHEMIN_RACINE', $_SERVER['DOCUMENT_ROOT'].DS);
56
define('GAL_CHEMIN_RACINE', $_SERVER['DOCUMENT_ROOT'].DS);
57
/** Chemin vers l'applette Gallerie de Papyrus.*/
57
/** Chemin vers l'applette Gallerie de Papyrus.*/
58
define('GAL_CHEMIN_APPLETTE', GAL_CHEMIN_APPLI.'galerie'.DS);
58
define('GAL_CHEMIN_APPLETTE', GAL_CHEMIN_APPLI.'galerie'.DS);
59
/** Chemin relatif vers l'applette Gallerie de Papyrus.*/
59
/** Chemin relatif vers l'applette Gallerie de Papyrus.*/
60
define('GAL_CHEMIN_APPLETTE_RELATIF', GAL_CHEMIN_APPLI_RELATIF.'galerie'.DS);
60
define('GAL_CHEMIN_APPLETTE_RELATIF', GAL_CHEMIN_APPLI_RELATIF.'galerie'.DS);
61
/** Chemin vers le dossier de Présentation.*/
61
/** Chemin vers le dossier de Présentation.*/
62
define('GAL_CHEMIN_PRESENTATION', GAL_CHEMIN_APPLETTE.'presentation'.DS);
62
define('GAL_CHEMIN_PRESENTATION', GAL_CHEMIN_APPLETTE.'presentation'.DS);
63
/** Chemin relatif vers le dossier de Présentation.*/
63
/** Chemin relatif vers le dossier de Présentation.*/
64
define('GAL_CHEMIN_PRESENTATION_RELATIF', GAL_CHEMIN_APPLETTE_RELATIF.'presentation'.DS);
64
define('GAL_CHEMIN_PRESENTATION_RELATIF', GAL_CHEMIN_APPLETTE_RELATIF.'presentation'.DS);
65
/** Chemin vers les fichiers js de l'applette Gallerie de Papyrus.*/
65
/** Chemin vers les fichiers js de l'applette Gallerie de Papyrus.*/
66
define('GAL_CHEMIN_SCRIPTS', GAL_CHEMIN_PRESENTATION.'scripts'.DS);
66
define('GAL_CHEMIN_SCRIPTS', GAL_CHEMIN_PRESENTATION.'scripts'.DS);
67
/** Chemin relatif vers les fichiers js de l'applette Gallerie de Papyrus.*/
67
/** Chemin relatif vers les fichiers js de l'applette Gallerie de Papyrus.*/
68
define('GAL_CHEMIN_SCRIPTS_RELATIF', GAL_CHEMIN_PRESENTATION_RELATIF.'scripts'.DS);
68
define('GAL_CHEMIN_SCRIPTS_RELATIF', GAL_CHEMIN_PRESENTATION_RELATIF.'scripts'.DS);
69
/** Chemin vers les fichiers css de l'applette Gallerie de Papyrus.*/
69
/** Chemin vers les fichiers css de l'applette Gallerie de Papyrus.*/
70
define('GAL_CHEMIN_STYLES', GAL_CHEMIN_PRESENTATION.'styles'.DS);
70
define('GAL_CHEMIN_STYLES', GAL_CHEMIN_PRESENTATION.'styles'.DS);
71
/** Chemin relatif vers les fichiers css de l'applette Gallerie de Papyrus.*/
71
/** Chemin relatif vers les fichiers css de l'applette Gallerie de Papyrus.*/
72
define('GAL_CHEMIN_STYLES_RELATIF', GAL_CHEMIN_PRESENTATION_RELATIF.'styles'.DS);
72
define('GAL_CHEMIN_STYLES_RELATIF', GAL_CHEMIN_PRESENTATION_RELATIF.'styles'.DS);
73
/** Chemin vers les fichiers images de l'applette Gallerie de Papyrus.*/
73
/** Chemin vers les fichiers images de l'applette Gallerie de Papyrus.*/
74
define('GAL_CHEMIN_IMAGES', GAL_CHEMIN_PRESENTATION.'images'.DS);
74
define('GAL_CHEMIN_IMAGES', GAL_CHEMIN_PRESENTATION.'images'.DS);
75
/** Chemin vers les fichiers squelettes de l'applette Gallerie de Papyrus.*/
75
/** Chemin vers les fichiers squelettes de l'applette Gallerie de Papyrus.*/
76
define('GAL_CHEMIN_SQUELETTE', GAL_CHEMIN_PRESENTATION.'squelettes'.DS);
76
define('GAL_CHEMIN_SQUELETTE', GAL_CHEMIN_PRESENTATION.'squelettes'.DS);
77
 
77
 
78
// Configuration du rendu
78
// Configuration du rendu
79
/** Nom du fichier de squelette à utiliser pour la liste des pages.*/
79
/** Nom du fichier de squelette à utiliser pour la liste des pages.*/
80
define('GAL_SQUELETTE_LISTE', 'gal_liste.tpl.html');
80
define('GAL_SQUELETTE_LISTE', 'gal_liste_ss_inclusion.tpl.html');
81
 
81
 
82
 
82
 
83
/* +--Fin du code ----------------------------------------------------------------------------------------+
83
/* +--Fin du code ----------------------------------------------------------------------------------------+
84
*
84
*
85
* $Log: gall_config.inc.php,v $
85
* $Log: gall_config.inc.php,v $
86
* Revision 1.1  2006-12-07 17:29:20  jp_milcent
86
* Revision 1.1  2006-12-07 17:29:20  jp_milcent
87
* Ajout de l'applette Gallerie dans Client car elle n'a pas un rapport direct avec Papyrus.
87
* Ajout de l'applette Gallerie dans Client car elle n'a pas un rapport direct avec Papyrus.
88
*
88
*
89
* Revision 1.2  2006/12/07 16:25:23  jp_milcent
89
* Revision 1.2  2006/12/07 16:25:23  jp_milcent
90
* Ajout de la gestion de messages d'erreur.
90
* Ajout de la gestion de messages d'erreur.
91
* Ajout de la gestion des squelettes.
91
* Ajout de la gestion des squelettes.
92
*
92
*
93
* Revision 1.1  2006/12/07 15:39:47  jp_milcent
93
* Revision 1.1  2006/12/07 15:39:47  jp_milcent
94
* Ajout de l'applette Gallerie.
94
* Ajout de l'applette Gallerie.
95
*
95
*
96
*
96
*
97
* +-- Fin du code ----------------------------------------------------------------------------------------+
97
* +-- Fin du code ----------------------------------------------------------------------------------------+
98
*/
98
*/
99
?>
99
?>