Line 19... |
Line 19... |
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: affi_configuration.inc.php,v 1.3 2005-02-23 17:41:21 jpm Exp $
|
24 |
// CVS : $Id: affi_configuration.inc.php,v 1.4 2005-02-23 18:16:49 jpm Exp $
|
25 |
/**
|
25 |
/**
|
26 |
* Application réalisant l'affichage du contenu stocké dans Papyrus.
|
26 |
* Application réalisant l'affichage du contenu stocké dans Papyrus.
|
27 |
*
|
27 |
*
|
28 |
* Les constantes et variables de configuration de l'application Afficheur.
|
28 |
* Les constantes et variables de configuration de l'application Afficheur.
|
29 |
*
|
29 |
*
|
Line 32... |
Line 32... |
32 |
//Auteur original :
|
32 |
//Auteur original :
|
33 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
33 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
34 |
//Autres auteurs :
|
34 |
//Autres auteurs :
|
35 |
*@author Aucun
|
35 |
*@author Aucun
|
36 |
*@copyright Tela-Botanica 2000-2004
|
36 |
*@copyright Tela-Botanica 2000-2004
|
37 |
*@version $Revision: 1.3 $ $Date: 2005-02-23 17:41:21 $
|
37 |
*@version $Revision: 1.4 $ $Date: 2005-02-23 18:16:49 $
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
*/
|
39 |
*/
|
Line 40... |
Line 40... |
40 |
|
40 |
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
Line 69... |
Line 69... |
69 |
// Le jeu de caractère à utiliser pour la page courante :
|
69 |
// Le jeu de caractère à utiliser pour la page courante :
|
70 |
$GLOBALS['_AFFICHEUR']['jeu_de_caracteres'] = $GLOBALS['_PAPYRUS_']['page']['jeu_de_caracteres'];
|
70 |
$GLOBALS['_AFFICHEUR']['jeu_de_caracteres'] = $GLOBALS['_PAPYRUS_']['page']['jeu_de_caracteres'];
|
Line 71... |
Line 71... |
71 |
|
71 |
|
72 |
// Les sites correspodant aux liens interwiki:
|
72 |
// Les sites correspodant aux liens interwiki:
|
73 |
$GLOBALS['_AFFICHEUR']['interwiki_sites'] = array(
|
73 |
$GLOBALS['_AFFICHEUR']['interwiki_sites'] = array(
|
74 |
'Papyrus' => 'http://127.0.0.1/papyrus/papyrus.php?menu=%s',
|
74 |
'Papyrus' => 'http://'.$_SERVER['HTTP_HOST'].'/'.$_SERVER['PHP_SELF'].'?menu=%s',
|
75 |
'Weflore' => 'http://wiki.tela-botanica.org/eflore/wakka.php?wiki=%s',
|
75 |
'Weflore' => 'http://wiki.tela-botanica.org/eflore/wakka.php?wiki=%s',
|
76 |
'Wikipedia' => 'http://fr.wikipedia.org/wiki/%s',
|
76 |
'Wikipedia' => 'http://fr.wikipedia.org/wiki/%s',
|
77 |
'Wikipedia_fr' => 'http://fr.wikipedia.org/wiki/%s'
|
77 |
'Wikipedia_fr' => 'http://fr.wikipedia.org/wiki/%s'
|
Line 78... |
Line 78... |
78 |
);
|
78 |
);
|
79 |
|
79 |
|
- |
|
80 |
// Les sites correspodant à l'action inclure:
|
80 |
// Les sites correspodant à l'action inclure:
|
81 |
$GLOBALS['_AFFICHEUR']['inclure_sites'] = array(
|
81 |
$GLOBALS['_AFFICHEUR']['inclure_sites'] = array(
|
82 |
'Papyrus' => array('preg' => '/<!-- start contenu -->(.*)<!-- end contenu -->/Umsi', 'url' => 'http://'.$_SERVER['HTTP_HOST'].'/'.$_SERVER['PHP_SELF'].'?menu=%s'),
|
82 |
'Wikipedia' => array('preg' => '/<!-- start content -->(.*)<!-- end content -->/Umsi', 'url' => 'http://fr.wikipedia.org/wiki/%s'),
|
83 |
'Wikipedia' => array('preg' => '/<!-- start content -->(.*)<!-- end content -->/Umsi', 'url' => 'http://fr.wikipedia.org/wiki/%s'),
|
83 |
'Wikipedia_fr' => array('preg' => '/<!-- start content -->(.*)<!-- end content -->/Umsi', 'url' => 'http://fr.wikipedia.org/wiki/%s'),
|
84 |
'Wikipedia_fr' => array('preg' => '/<!-- start content -->(.*)<!-- end content -->/Umsi', 'url' => 'http://fr.wikipedia.org/wiki/%s'),
|
84 |
'Wikipedia_en' => array('preg' => '/<!-- start content -->(.*)<!-- end content -->/Umsi', 'url' => 'http://en.wikipedia.org/wiki/%s'),
|
85 |
'Wikipedia_en' => array('preg' => '/<!-- start content -->(.*)<!-- end content -->/Umsi', 'url' => 'http://en.wikipedia.org/wiki/%s'),
|
Line 93... |
Line 94... |
93 |
|
94 |
|
94 |
|
95 |
|
95 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
96 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
97 |
*
|
- |
|
98 |
* $Log: not supported by cvs2svn $
|
- |
|
99 |
* Revision 1.3 2005/02/23 17:41:21 jpm
|
96 |
*
|
100 |
* Modification de l'initialisation d'une variable.
|
97 |
* $Log: not supported by cvs2svn $
|
101 |
*
|
98 |
* Revision 1.2 2005/02/22 17:55:38 jpm
|
102 |
* Revision 1.2 2005/02/22 17:55:38 jpm
|
99 |
* Changement de variable pour la récupération de l'identifiant du menu courant.
|
103 |
* Changement de variable pour la récupération de l'identifiant du menu courant.
|
100 |
*
|
104 |
*
|