Subversion Repositories Sites.tela-botanica.org

Rev

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

Rev 206 Rev 371
Line 1... Line 1...
1
<!-- Formulaire de recherche du moteur de recherche de Papyrus (compatible spip) -->
1
<!-- Formulaire de recherche du moteur de recherche de Papyrus (compatible spip) -->
2
<div id="moteur_recheche">
2
<div id="moteur_recheche">
3
<?php
3
<?php
4
 
-
 
5
	/** Inclusion de la classe PEAR gérant les URL.*/
-
 
6
	require_once 'Net/URL.php';
-
 
7
	/** Inclusion du fichier des fonctions meta.*/
4
	/** Inclusion du fichier des fonctions meta.*/
8
	include_once '../papyrus/bibliotheque/fonctions/pap_meta.fonct.php' ;
5
	include_once 'papyrus/bibliotheque/fonctions/pap_meta.fonct.php' ;
9
	/** Inclusion du fichier des fonctions menu.*/
6
	/** Inclusion du fichier des fonctions menu.*/
10
	include_once '../papyrus/bibliotheque/fonctions/pap_menu.fonct.php' ;
7
	include_once 'papyrus/bibliotheque/fonctions/pap_menu.fonct.php' ;
11
	/** Inclusion du fichier de classe Pap_Url.*/
8
	/** Inclusion du fichier de classe Pap_Url.*/
12
	include_once '../papyrus/bibliotheque/classes/pap_url.class.php' ;
9
	include_once 'papyrus/bibliotheque/classes/pap_url.class.php' ;
13
	
10
		
14
	/** Inclusion du fichier de config général de Papyrus.*/
-
 
15
	include_once '../papyrus/configuration/pap_config_avancee.inc.php' ;
-
 
16
	/** Inclusion du fichier de config de Papyrus propre à l'installation courante.*/
-
 
17
	include_once '../papyrus/configuration/pap_config.inc.php' ;
-
 
18
	
-
 
19
	$_GEN_commun['pear_db'] = DB::connect(PAP_DSN);
11
	$_GEN_commun['pear_db'] = DB::connect(PAP_DSN);
20
	// Définition de l'id de langue courant
12
	// Définition de l'id de langue courant
21
	$GLOBALS['_GEN_commun']['i18n'] = 'fr';// devrait être remplacé par la valeur fournie par Spip
13
	$GLOBALS['_GEN_commun']['i18n'] = 'fr';// devrait être remplacé par la valeur fournie par Spip
22
	$GLOBALS['_GEN_commun']['url'] = new Pap_URL('/actu/recherche.php3');
14
	$GLOBALS['_GEN_commun']['url'] = new Pap_URL('/actu/recherche.php3');
23
	$GLOBALS['_GEN_commun']['url']->setPermalienBool(false);
15
	$GLOBALS['_GEN_commun']['url']->setPermalienBool(false);
Line 24... Line 16...
24
	
16
	
25
	/** Inclusion du fichier de l'applette "Moteur de Recherche".*/
17
	/** Inclusion du fichier de l'applette "Moteur de Recherche".*/
26
	require_once '../papyrus/applettes/moteur_recherche/moteur_recherche.php';
18
	require_once 'papyrus/applettes/moteur_recherche/moteur_recherche.php';
27
	echo afficherMoteurRecherche(array(), $GLOBALS['_GEN_commun']);
19
	echo afficherMoteurRecherche(array(), $GLOBALS['_GEN_commun']);
Line 28... Line 20...
28
	//$_GEN_commun['pear_db']->disconnect() ;
20
	//$_GEN_commun['pear_db']->disconnect() ;
29
	
21