Subversion Repositories Sites.tela-botanica.org

Compare Revisions

Ignore whitespace Rev 370 → Rev 371

/trunk/actu/incl_mot_recherche.html
1,21 → 1,13
<!-- Formulaire de recherche du moteur de recherche de Papyrus (compatible spip) -->
<div id="moteur_recheche">
<?php
 
/** Inclusion de la classe PEAR gérant les URL.*/
require_once 'Net/URL.php';
/** Inclusion du fichier des fonctions meta.*/
include_once '../papyrus/bibliotheque/fonctions/pap_meta.fonct.php' ;
include_once 'papyrus/bibliotheque/fonctions/pap_meta.fonct.php' ;
/** Inclusion du fichier des fonctions menu.*/
include_once '../papyrus/bibliotheque/fonctions/pap_menu.fonct.php' ;
include_once 'papyrus/bibliotheque/fonctions/pap_menu.fonct.php' ;
/** Inclusion du fichier de classe Pap_Url.*/
include_once '../papyrus/bibliotheque/classes/pap_url.class.php' ;
/** Inclusion du fichier de config général de Papyrus.*/
include_once '../papyrus/configuration/pap_config_avancee.inc.php' ;
/** Inclusion du fichier de config de Papyrus propre à l'installation courante.*/
include_once '../papyrus/configuration/pap_config.inc.php' ;
include_once 'papyrus/bibliotheque/classes/pap_url.class.php' ;
$_GEN_commun['pear_db'] = DB::connect(PAP_DSN);
// Définition de l'id de langue courant
$GLOBALS['_GEN_commun']['i18n'] = 'fr';// devrait être remplacé par la valeur fournie par Spip
23,7 → 15,7
$GLOBALS['_GEN_commun']['url']->setPermalienBool(false);
/** Inclusion du fichier de l'applette "Moteur de Recherche".*/
require_once '../papyrus/applettes/moteur_recherche/moteur_recherche.php';
require_once 'papyrus/applettes/moteur_recherche/moteur_recherche.php';
echo afficherMoteurRecherche(array(), $GLOBALS['_GEN_commun']);
//$_GEN_commun['pear_db']->disconnect() ;