/trunk/papyrus/applettes/recherche_eflore/configuration/recherche_eflore_config.inc.php |
---|
File deleted |
/trunk/papyrus/applettes/recherche_eflore/configuration/config.inc.php |
---|
New file |
0,0 → 1,62 |
<?php |
/*vim: set expandtab tabstop=4 shiftwidth=4: */ |
// +------------------------------------------------------------------------------------------------------+ |
// | PHP version 5.1 | |
// +------------------------------------------------------------------------------------------------------+ |
// | Copyright (C) 1999-2006 Tela Botanica (accueil@tela-botanica.org) | |
// +------------------------------------------------------------------------------------------------------+ |
// | This file is part of papyrus_bp. | |
// | | |
// | Foobar is free software; you can redistribute it and/or modify | |
// | it under the terms of the GNU General Public License as published by | |
// | the Free Software Foundation; either version 2 of the License, or | |
// | (at your option) any later version. | |
// | | |
// | Foobar is distributed in the hope that it will be useful, | |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
// | GNU General Public License for more details. | |
// | | |
// | You should have received a copy of the GNU General Public License | |
// | along with Foobar; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: synd_configuration.inc.php,v 1.2 2008-10-29 15:54:40 alexandre_tb Exp $ |
/** |
* papyrus_bp - synd_configuration.inc.php |
* |
* Description : |
* |
*@package papyrus_bp |
//Auteur original : |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 1999-2006 |
*@version $Revision: 1.2 $ $Date: 2008-10-29 15:54:40 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
// +------------------------------------------------------------------------------------------------------+ |
// | ENTÊTE du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
$GLOBALS['_R_Eflore_'] = array(); |
// Chemin vers les dossiers de l'applette |
/** Chemin vers l'applette Recherche_evenements de Papyrus.*/ |
define('R_Eflore_CHEMIN_APPLETTE', GEN_CHEMIN_APPLETTE.'recherche_eflore'.GEN_SEP); |
/** Chemin vers les fichiers de traduction de l'applette Syndication de Papyrus.*/ |
define('R_Eflore_CHEMIN_LANGUE', R_Eflore_CHEMIN_APPLETTE.'langues'.GEN_SEP); |
/** Chemin vers les fichiers squelettes de l'applette Syndication de Papyrus.*/ |
define('R_Eflore_CHEMIN_SQUELETTE', R_Eflore_CHEMIN_APPLETTE.'squelettes'.GEN_SEP); |
/** Langue par défaut pour cette applette. */ |
define('R_Eflore_I18N_DEFAUT', 'fr'); |
//Ecrire l'url du service puis le numéro du référentiel sous la forme : "http://url/||00" |
$GLOBALS['_R_Eflore_']['flores'] = array ("France métropolitaine" => "http://www.tela-botanica.org/page:bdnff||25", |
"Afrique du nord" => "http://www.tela-botanica.org/page:bdafn||45", |
"Réunion" => "http://www.tela-botanica.org/page:bdnfm||29", |
"Bryophites d'Europe" => "http://www.tela-botanica.org/page:bryophytes_europe||38") ; |
?> |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |
/trunk/papyrus/applettes/recherche_eflore/recherche_eflore.php |
---|
61,16 → 61,16 |
// +------------------------------------------------------------------------------------------------------+ |
/** Inclusion du fichier de configuration de cette application.*/ |
require_once GEN_CHEMIN_APPLETTE.'recherche_eflore'.GEN_SEP.'configuration'.GEN_SEP.'recherche_eflore_config.inc.php'; |
require_once GEN_CHEMIN_APPLETTE.'recherche_eflore'.GEN_SEP.'configuration'.GEN_SEP.'config.inc.php'; |
// Inclusion des fichiers de traduction de l'applette SYND de Papyrus |
if (file_exists(R_Eflore_CHEMIN_LANGUE.'synd_langue_'.$GLOBALS['_GEN_commun']['i18n'].'.inc.php')) { |
if (file_exists(R_Eflore_CHEMIN_LANGUE.'langue_'.$GLOBALS['_GEN_commun']['i18n'].'.inc.php')) { |
/** Inclusion du fichier de traduction suite à la transaction avec le navigateur.*/ |
require_once R_Eflore_CHEMIN_LANGUE.'synd_langue_'.$GLOBALS['_GEN_commun']['i18n'].'.inc.php'; |
require_once R_Eflore_CHEMIN_LANGUE.'langue_'.$GLOBALS['_GEN_commun']['i18n'].'.inc.php'; |
} else { |
/** Inclusion du fichier de traduction par défaut.*/ |
require_once R_Eflore_CHEMIN_LANGUE.'synd_langue_'.R_Eflore_I18N_DEFAUT.'.inc.php'; |
require_once R_Eflore_CHEMIN_LANGUE.'langue_'.R_Eflore_I18N_DEFAUT.'.inc.php'; |
} |
// +------------------------------------------------------------------------------------------------------+ |
/trunk/papyrus/applettes/recherche_eflore/langues/synd_langue_fr.inc.php |
---|
File deleted |
/trunk/papyrus/applettes/recherche_eflore/langues/langue_fr.inc.php |
---|
New file |
0,0 → 1,58 |
<?php |
/*vim: set expandtab tabstop=4 shiftwidth=4: */ |
// +------------------------------------------------------------------------------------------------------+ |
// | PHP version 5.1 | |
// +------------------------------------------------------------------------------------------------------+ |
// | Copyright (C) 1999-2006 Tela Botanica (accueil@tela-botanica.org) | |
// +------------------------------------------------------------------------------------------------------+ |
// | This file is part of papyrus_bp. | |
// | | |
// | Foobar is free software; you can redistribute it and/or modify | |
// | it under the terms of the GNU General Public License as published by | |
// | the Free Software Foundation; either version 2 of the License, or | |
// | (at your option) any later version. | |
// | | |
// | Foobar is distributed in the hope that it will be useful, | |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
// | GNU General Public License for more details. | |
// | | |
// | You should have received a copy of the GNU General Public License | |
// | along with Foobar; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: synd_langue_fr.inc.php,v 1.1 2006-12-13 17:06:35 jp_milcent Exp $ |
/** |
* papyrus_bp - synd_langue_fr.inc.php |
* |
* Description : |
* |
*@package papyrus_bp |
//Auteur original : |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 1999-2006 |
*@version $Revision: 1.1 $ $Date: 2006-12-13 17:06:35 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
// +------------------------------------------------------------------------------------------------------+ |
// | ENTÊTE du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
// +------------------------------------------------------------------------------------------------------+ |
// | CORPS du PROGRAMME | |
// +------------------------------------------------------------------------------------------------------+ |
/** Texte affiché quand le paramètre "url" est abscent.*/ |
define('SYND_LG_ERREUR_URL', "Applette SYNDICATION : le paramètre 'url' est obligatoire!"); |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* |
* +-- Fin du code ----------------------------------------------------------------------------------------+ |
*/ |
?> |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |