Subversion Repositories Applications.papyrus

Rev

Rev 351 | Rev 394 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
181 jpm 1
<?php
2
/*vim: set expandtab tabstop=4 shiftwidth=4: */
3
// +------------------------------------------------------------------------------------------------------+
4
// | PHP version 4.3                                                                                      |
5
// +------------------------------------------------------------------------------------------------------+
6
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org)                                         |
7
// +------------------------------------------------------------------------------------------------------+
8
// | This file is part of Papyrus.                                                                        |
9
// |                                                                                                      |
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                                 |
12
// | the Free Software Foundation; either version 2 of the License, or                                    |
13
// | (at your option) any later version.                                                                  |
14
// |                                                                                                      |
15
// | Foobar is distributed in the hope that it will be useful,                                            |
16
// | but WITHOUT ANY WARRANTY; without even the implied warranty of                                       |
17
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                                        |
18
// | GNU General Public License for more details.                                                         |
19
// |                                                                                                      |
20
// | You should have received a copy of the GNU General Public License                                    |
21
// | along with Foobar; if not, write to the Free Software                                                |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
23
// +------------------------------------------------------------------------------------------------------+
360 jpm 24
// CVS : $Id: affi_configuration.inc.php,v 1.6 2005-04-25 13:56:19 jpm Exp $
181 jpm 25
/**
26
* Application réalisant l'affichage du contenu stocké dans Papyrus.
27
*
28
* Les constantes et variables de configuration de l'application Afficheur.
29
*
30
*@package Afficheur
31
*@subpackage Configuration
32
//Auteur original :
33
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
34
//Autres auteurs :
35
*@author        Aucun
36
*@copyright     Tela-Botanica 2000-2004
360 jpm 37
*@version       $Revision: 1.6 $ $Date: 2005-04-25 13:56:19 $
181 jpm 38
// +------------------------------------------------------------------------------------------------------+
39
*/
40
 
41
// +------------------------------------------------------------------------------------------------------+
42
// |                                            ENTETE du PROGRAMME                                       |
43
// +------------------------------------------------------------------------------------------------------+
44
 
45
 
46
// +------------------------------------------------------------------------------------------------------+
47
// |                                            CORPS du PROGRAMME                                        |
48
// +------------------------------------------------------------------------------------------------------+
49
// Chemin des fichiers à inclure.
50
/** Chemin vers la bibliothèque PEAR.*/
51
define('AFFI_CHEMIN_BIBLIOTHEQUE_PEAR', '');
52
/** Chemin vers la bibliothèque API.*/
53
define('AFFI_CHEMIN_BIBLIOTHEQUE_API', GEN_CHEMIN_API);
360 jpm 54
/** Chemin vers l'application Admin de l'afficheur de Papyrus.*/
55
define('AFFI_CHEMIN_APPLICATION', GEN_CHEMIN_APPLICATION.'afficheur'.GEN_SEP);
56
/** Chemin vers le dossier des styles de l'application.*/
57
define('AFFI_CHEMIN_STYLE', AFFI_CHEMIN_APPLICATION.'presentations'.GEN_SEP.'styles'.GEN_SEP);
181 jpm 58
/** Chaine à utiliser pour l'URL de la règle Freelink.*/
59
define('AFFI_URL_PAPYRUS', PAP_URL.'?menu=%s');
60
 
61
// L'objet PEAR::DB à utiliser pour l'afficheur :
351 jpm 62
$GLOBALS['_AFFICHEUR']['objet_pear_db'] =& $GLOBALS['_GEN_commun']['pear_db'];
181 jpm 63
 
64
// L'identifiant du menu courant :
65
if (isset($GLOBALS['_GEN_commun']['traduction_info_menu'])) {
66
    $GLOBALS['_AFFICHEUR']['menu_courant_id'] = $GLOBALS['_GEN_commun']['traduction_info_menu']->gm_id_menu;
274 jpm 67
} else if (isset($GLOBALS['_GEN_commun']['info_menu'])) {
68
    $GLOBALS['_AFFICHEUR']['menu_courant_id'] = $GLOBALS['_GEN_commun']['info_menu']->gm_id_menu;
181 jpm 69
} else {
269 jpm 70
    $GLOBALS['_AFFICHEUR']['menu_courant_id'] = $GLOBALS['_GEN_commun']['url_menu'];
181 jpm 71
}
72
 
73
// Le jeu de caractère à utiliser pour la page courante :
74
$GLOBALS['_AFFICHEUR']['jeu_de_caracteres'] = $GLOBALS['_PAPYRUS_']['page']['jeu_de_caracteres'];
75
 
76
// Les sites correspodant aux liens interwiki:
351 jpm 77
$GLOBALS['_AFFICHEUR']['interwiki_sites'] =& $GLOBALS['_PAPYRUS_']['interwiki_sites'];
181 jpm 78
 
79
// Les sites correspodant à l'action inclure:
351 jpm 80
$GLOBALS['_AFFICHEUR']['inclure_sites'] =& $GLOBALS['_PAPYRUS_']['inclure_sites'];
181 jpm 81
 
82
// +------------------------------------------------------------------------------------------------------+
83
// |                                            PIED du PROGRAMME                                         |
84
// +------------------------------------------------------------------------------------------------------+
85
 
86
 
87
 
88
/* +--Fin du code ----------------------------------------------------------------------------------------+
89
*
90
* $Log: not supported by cvs2svn $
360 jpm 91
* Revision 1.5  2005/04/21 16:46:21  jpm
92
* Gestion via Papyrus du XHTML.
93
*
351 jpm 94
* Revision 1.4  2005/02/23 18:16:49  jpm
95
* Changement de l'url de Papyrus pour qu'elle corresponde à l'url courante de Papyrus.
96
*
275 jpm 97
* Revision 1.3  2005/02/23 17:41:21  jpm
98
* Modification de l'initialisation d'une variable.
99
*
274 jpm 100
* Revision 1.2  2005/02/22 17:55:38  jpm
101
* Changement de variable pour la récupération de l'identifiant du menu courant.
102
*
269 jpm 103
* Revision 1.1  2004/11/26 13:10:20  jpm
104
* Utilisation des actions Papyrus et implémentation de la syntaxe Wikini.
181 jpm 105
*
269 jpm 106
*
181 jpm 107
* +-- Fin du code ----------------------------------------------------------------------------------------+
108
*/
109
?>