Subversion Repositories eFlore/Archives.herbiers

Compare Revisions

Ignore whitespace Rev 7 → Rev 8

/trunk/herbier_rss.php
19,7 → 19,7
// | License along with this library; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: herbier_rss.php,v 1.1 2006-10-30 18:57:17 jp_milcent Exp $
// CVS : $Id: herbier_rss.php,v 1.2 2006-10-31 10:31:36 jp_milcent Exp $
/**
* Générateur de flux RSS pour les Herbiers
*
29,7 → 29,7
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
*
*@copyright Tela-Botanica 2000-2006
*@version $Revision: 1.1 $
*@version $Revision: 1.2 $
// +------------------------------------------------------------------------------------------------------+
*/
 
38,7 → 38,6
// +------------------------------------------------------------------------------------------------------+
// Pour une utilisation hors de Papyrus
if (!defined('PAP_VERSION')) {
 
// Redéfini le séparateur utilisé lorsque PHP génère des URLs pour séparer les arguments. (compatible XHTML strict)
ini_set('arg_separator.output', '&amp;');
define('GEN_SEP', DIRECTORY_SEPARATOR);
69,7 → 68,10
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.1 2006/10/30 18:57:17 jp_milcent
* Début gestion des flux rss.
*
*
* +-- Fin du code ----------------------------------------------------------------------------------------+
*/
 
/trunk/applications/hb_consultation/configuration/hbc_config.inc.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: hbc_config.inc.php,v 1.1 2005-11-23 10:32:32 jp_milcent Exp $
// CVS : $Id: hbc_config.inc.php,v 1.2 2006-10-31 10:31:36 jp_milcent Exp $
/**
* Configuration de l'application Herbier - Consultation
*
34,7 → 34,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@clapas.org>
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.1 $ $Date: 2005-11-23 10:32:32 $
*@version $Revision: 1.2 $ $Date: 2006-10-31 10:31:36 $
// +------------------------------------------------------------------------------------------------------+
*/
 
46,7 → 46,7
// | CORPS du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
/** Constante stockant le chemin du dossier contenant l'application Herbier - Consultation.*/
define('HBC_CHEMIN_RACINE', HB_CHEMIN_APPLI.'hb_consultation/');
define('HBC_CHEMIN_RACINE', HB_CHEMIN_MODULE.'hb_consultation/');
/** Constante stockant le chemin du dossier contenant les traductions.*/
define('HBC_CHEMIN_LANGUES', HBC_CHEMIN_RACINE.'langues/');
 
58,6 → 58,10
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.1 2005/11/23 10:32:32 jp_milcent
* Ajout au dépot de l'application Herbiers.
* Elle doit à terme migrer dans eFlore.
*
* Revision 1.2 2005/03/09 15:54:39 jpm
* Changement du nom de l'appli dans les constantes.
*
/trunk/applications/hb_consultation/hb_consultation.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: hb_consultation.php,v 1.1 2005-11-23 10:32:32 jp_milcent Exp $
// CVS : $Id: hb_consultation.php,v 1.2 2006-10-31 10:31:36 jp_milcent Exp $
/**
* Application fournissant un moteur de recherche sur les herbiers
*
33,7 → 33,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@clapas.org>
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.1 $ $Date: 2005-11-23 10:32:32 $
*@version $Revision: 1.2 $ $Date: 2006-10-31 10:31:36 $
// +------------------------------------------------------------------------------------------------------+
*/
 
41,9 → 41,9
// | ENTETE du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
/** Inclusion du fichier de configuration de l'application Herbier - Consultation. */
require_once HB_CHEMIN_APPLI.'hb_consultation'.GEN_SEP.'configuration'.GEN_SEP.'hbc_config.inc.php';
require_once HB_CHEMIN_MODULE.'hb_consultation'.GEN_SEP.'configuration'.GEN_SEP.'hbc_config.inc.php';
/** Inclusion du fichier de configuration de l'application Herbier - Administration. */
require_once HB_CHEMIN_APPLI.'hb_admin'.GEN_SEP.'configuration'.GEN_SEP.'hba_config.inc.php';
require_once HB_CHEMIN_MODULE.'hb_admin'.GEN_SEP.'configuration'.GEN_SEP.'hba_config.inc.php';
 
/** Inclusion de l'API Fragmenteur */
require_once HB_CHEMIN_API_FRAGMENTEUR.'FRAG_fragmenteur.fonct.php';
218,6 → 218,10
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.1 2005/11/23 10:32:32 jp_milcent
* Ajout au dépot de l'application Herbiers.
* Elle doit à terme migrer dans eFlore.
*
* Revision 1.3 2005/03/30 09:48:58 jpm
* Début gestion des raccourcis vers l'administration.
*
/trunk/applications/hb_admin/configuration/hba_config.inc.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: hba_config.inc.php,v 1.1 2005-11-23 10:32:32 jp_milcent Exp $
// CVS : $Id: hba_config.inc.php,v 1.2 2006-10-31 10:31:36 jp_milcent Exp $
/**
* Configuration Herbier - Administration
*
34,7 → 34,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@clapas.org>
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.1 $ $Date: 2005-11-23 10:32:32 $
*@version $Revision: 1.2 $ $Date: 2006-10-31 10:31:36 $
// +------------------------------------------------------------------------------------------------------+
*/
 
48,7 → 48,7
// | CORPS du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
/** Constante stockant le chemin du dossier contenant l'application Herbier - Administration.*/
define('HBA_CHEMIN_RACINE', HB_CHEMIN_APPLI.'hb_admin'.GEN_SEP);
define('HBA_CHEMIN_RACINE', HB_CHEMIN_MODULE.'hb_admin'.GEN_SEP);
/** Constante stockant le chemin du dossier contenant les traductions.*/
define('HBA_CHEMIN_LANGUES', HBA_CHEMIN_RACINE.'langues'.GEN_SEP);
/** Constante stockant le chemin du dossier contenant la bibliothèque de code.*/
137,6 → 137,10
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.1 2005/11/23 10:32:32 jp_milcent
* Ajout au dépot de l'application Herbiers.
* Elle doit à terme migrer dans eFlore.
*
* Revision 1.1 2005/04/06 13:30:52 jpm
* Ajout du fichier de config de l'appli.
*
/trunk/applications/hb_admin/hb_admin.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: hb_admin.php,v 1.1 2005-11-23 10:32:32 jp_milcent Exp $
// CVS : $Id: hb_admin.php,v 1.2 2006-10-31 10:31:36 jp_milcent Exp $
/**
* Herbier Administration
*
33,7 → 33,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@clapas.org>
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.1 $ $Date: 2005-11-23 10:32:32 $
*@version $Revision: 1.2 $ $Date: 2006-10-31 10:31:36 $
// +------------------------------------------------------------------------------------------------------+
*/
 
41,7 → 41,7
// | ENTETE du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
/** Inclusion du fichier de configuration de l'application Herbier - Administration. */
require_once HB_CHEMIN_APPLI.'hb_admin'.GEN_SEP.'configuration'.GEN_SEP.'hba_config.inc.php';
require_once HB_CHEMIN_MODULE.'hb_admin'.GEN_SEP.'configuration'.GEN_SEP.'hba_config.inc.php';
 
// Stockage des styles de l'application Administration
GEN_stockerStyleExterne('hb_admin', HBA_CHEMIN_STYLE.'hb_admin.css');
226,6 → 226,10
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.1 2005/11/23 10:32:32 jp_milcent
* Ajout au dépot de l'application Herbiers.
* Elle doit à terme migrer dans eFlore.
*
* Revision 1.2 2005/05/18 07:30:13 jpm
* Correction des bogues et derniers réglages avant mise en ligne du site v4.
*
/trunk/applications/hb_admin/hb_admin.menu.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: hb_admin.menu.php,v 1.1 2005-11-23 10:32:32 jp_milcent Exp $
// CVS : $Id: hb_admin.menu.php,v 1.2 2006-10-31 10:31:36 jp_milcent Exp $
/**
* Herbier Administration : menu
*
33,7 → 33,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.1 $ $Date: 2005-11-23 10:32:32 $
*@version $Revision: 1.2 $ $Date: 2006-10-31 10:31:36 $
// +------------------------------------------------------------------------------------------------------+
*/
 
41,7 → 41,7
// | ENTETE du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
/** Inclusion du fichier de configuration de l'application Herbier - Administration. */
require_once HB_CHEMIN_APPLI.'hb_admin'.GEN_SEP.'configuration'.GEN_SEP.'hba_config.inc.php';
require_once HB_CHEMIN_MODULE.'hb_admin'.GEN_SEP.'configuration'.GEN_SEP.'hba_config.inc.php';
 
// Appel du fichier de traduction des textes de l'application Administration de Herbier
if (file_exists(HBA_CHEMIN_LANGUES.'hba_langue_'.HB_I18N.'.inc.php')) {
103,6 → 103,10
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.1 2005/11/23 10:32:32 jp_milcent
* Ajout au dépot de l'application Herbiers.
* Elle doit à terme migrer dans eFlore.
*
* Revision 1.2 2005/05/19 13:22:04 jpm
* Vérification des droits de l'utilisateur avant d'afficher le menu.
*
/trunk/applications/hb_carto/configuration/hbca_config.inc.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: hbca_config.inc.php,v 1.1 2005-11-23 10:32:32 jp_milcent Exp $
// CVS : $Id: hbca_config.inc.php,v 1.2 2006-10-31 10:31:36 jp_milcent Exp $
/**
* Configuration de l'application Herbier - Cartographie
*
34,7 → 34,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@clapas.org>
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.1 $ $Date: 2005-11-23 10:32:32 $
*@version $Revision: 1.2 $ $Date: 2006-10-31 10:31:36 $
// +------------------------------------------------------------------------------------------------------+
*/
 
46,7 → 46,7
// | CORPS du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
/** Constante stockant le chemin du dossier contenant l'application Herbier - Cartographie.*/
define('HBCA_CHEMIN_RACINE', HB_CHEMIN_APPLI.'hb_carto'.GEN_SEP);
define('HBCA_CHEMIN_RACINE', HB_CHEMIN_MODULE.'hb_carto'.GEN_SEP);
/** Constante stockant le chemin du dossier contenant les traductions.*/
define('HBCA_CHEMIN_LANGUES', HBCA_CHEMIN_RACINE.'langues'.GEN_SEP);
/** Constante stockant le chemin du dossier contenant les traductions.*/
60,6 → 60,10
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.1 2005/11/23 10:32:32 jp_milcent
* Ajout au dépot de l'application Herbiers.
* Elle doit à terme migrer dans eFlore.
*
* Revision 1.1 2005/03/09 15:55:44 jpm
* Ajout de l'application Cartographie des Herbiers.
*
/trunk/applications/hb_carto/hb_carto.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: hb_carto.php,v 1.1 2005-11-23 10:32:32 jp_milcent Exp $
// CVS : $Id: hb_carto.php,v 1.2 2006-10-31 10:31:36 jp_milcent Exp $
/**
* Application fournissant une cartographie des herbiers
*
33,7 → 33,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@clapas.org>
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.1 $ $Date: 2005-11-23 10:32:32 $
*@version $Revision: 1.2 $ $Date: 2006-10-31 10:31:36 $
// +------------------------------------------------------------------------------------------------------+
*/
 
41,7 → 41,7
// | ENTETE du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
/** Inclusion du fichier de configuration de l'application Herbier - Cartographie. */
require_once HB_CHEMIN_APPLI.'hb_carto'.GEN_SEP.'configuration'.GEN_SEP.'hbca_config.inc.php';
require_once HB_CHEMIN_MODULE.'hb_carto'.GEN_SEP.'configuration'.GEN_SEP.'hbca_config.inc.php';
 
/** Inclusion de la classe principale d'Herbier : herbier */
//require_once HB_CHEMIN_BIBLIO.'hb_herbier.class.php';
182,6 → 182,10
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.1 2005/11/23 10:32:32 jp_milcent
* Ajout au dépot de l'application Herbiers.
* Elle doit à terme migrer dans eFlore.
*
* Revision 1.1 2005/03/09 15:55:44 jpm
* Ajout de l'application Cartographie des Herbiers.
*
/trunk/herbier.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: herbier.php,v 1.3 2006-10-30 18:57:17 jp_milcent Exp $
// CVS : $Id: herbier.php,v 1.4 2006-10-31 10:31:36 jp_milcent Exp $
/**
* Application Herbier
*
38,7 → 38,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@clapas.org>
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.3 $ $Date: 2006-10-30 18:57:17 $
*@version $Revision: 1.4 $ $Date: 2006-10-31 10:31:36 $
// +------------------------------------------------------------------------------------------------------+
*/
 
66,6 → 66,10
require_once HB_CHEMIN_API_PEAR.'DB.php';
/** Inclusion de la classe PEAR de gestion des URL. */
require_once HB_CHEMIN_API_PEAR.'Net'.GEN_SEP.'URL.php';
// Création de l'objet URL si nous hors de Papyrus
if (!defined('PAP_VERSION')) {
$GLOBALS['_GEN_commun']['url'] = new Net_URL('http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']);
}
/** Inclusion du fichier de configuration des url de BiblioBota.*/
require_once HB_CHEMIN_CONFIG.'hb_config_url.inc.php';
 
75,8 → 79,10
die (BOG_afficherErreurSql(__FILE__, __LINE__, mysql_error(), null, $GLOBALS['_HERBIER_']['bdd']->getMessage()));
}
 
// Stockage des styles de l'application
GEN_stockerStyleExterne('herbier', HB_CHEMIN_STYLES.'herbier.css');
// Stockage des styles de l'application si nous sommes dans Papyrus
if (defined('PAP_VERSION')) {
GEN_stockerStyleExterne('herbier', HB_CHEMIN_STYLES.'herbier.css');
}
 
// Appel du fichier de traduction des textes de l'application Herbier
if (file_exists(HB_CHEMIN_LANGUES.'hb_langue_'.HB_I18N.'.inc.php')) {
147,7 → 153,7
$sortie = '';
if (!defined('HB_ARGUMENT_AUTH') || HB_ARGUMENT_AUTH == 0 || (HB_ARGUMENT_AUTH == 1 && $GLOBALS['_HERBIER_']['auth']->getAuth())) {
// Nous incluons l'application demandée :
$chemin_application = HB_CHEMIN_APPLI.HB_ARGUMENT_APPLI.GEN_SEP.HB_ARGUMENT_APPLI.'.menu.php';
$chemin_application = HB_CHEMIN_MODULE.HB_ARGUMENT_APPLI.GEN_SEP.HB_ARGUMENT_APPLI.'.menu.php';
if (file_exists($chemin_application)) {
include_once $chemin_application;
}
196,11 → 202,14
$sortie = '';
if (!defined('HB_ARGUMENT_AUTH') || HB_ARGUMENT_AUTH == 0 || (HB_ARGUMENT_AUTH == 1 && $GLOBALS['_HERBIER_']['auth']->getAuth())) {
// Nous incluons l'application demandée :
$chemin_application = HB_CHEMIN_APPLI.HB_ARGUMENT_APPLI.GEN_SEP.HB_ARGUMENT_APPLI.'.php';
$chemin_application = HB_CHEMIN_MODULE.HB_ARGUMENT_APPLI.GEN_SEP.HB_ARGUMENT_APPLI.'.php';
if (file_exists($chemin_application)) {
include_once $chemin_application;
} else {
$sortie = '<p class="pap_erreur">'.'Application inexistantes!'.'</p>';
$sortie = '<p class="pap_erreur">'.
'Application inexistantes!'.'<br />'.
'Fichier : '.$chemin_application.
'</p>';
}
} elseif (HB_ARGUMENT_AUTH == 1) {
return GEN_afficherInfoIdentification($GLOBALS['_HERBIER_']['url']->getURL());
225,6 → 234,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.3 2006/10/30 18:57:17 jp_milcent
* Début gestion des flux rss.
*
* Revision 1.2 2006/09/22 09:19:28 jp_milcent
* Utilisation de mysql_connect et mysql_select_db suite à disfonctionnement.
* Amélioration de la gestion des chemins des fichiers inclus.
/trunk/configuration/hb_config.inc.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: hb_config.inc.php,v 1.3 2006-10-30 18:57:17 jp_milcent Exp $
// CVS : $Id: hb_config.inc.php,v 1.4 2006-10-31 10:31:36 jp_milcent Exp $
/**
* Configuration générale des applications de Herbier
*
35,7 → 35,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@clapas.org>
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.3 $ $Date: 2006-10-30 18:57:17 $
*@version $Revision: 1.4 $ $Date: 2006-10-31 10:31:36 $
// +------------------------------------------------------------------------------------------------------+
*/
 
94,7 → 94,7
/** Constante stockant le chemin absolu du dossier racine de l'application.*/
define('HB_CHEMIN_ABSO_RACINE', PAP_CHEMIN_RACINE.GEN_CHEMIN_CLIENT.'herbier'.GEN_SEP);
/** Constante stockant le chemin du dossier contenant les applications spécifiques de Herbier.*/
//define('HB_CHEMIN_APPLI', HB_CHEMIN_RACINE.'applications'.GEN_SEP);
define('HB_CHEMIN_MODULE', HB_CHEMIN_RACINE.'applications'.GEN_SEP);
/** Constante stockant le chemin absolu du dossier contenant les applications spécifiques de Herbier.*/
define('HB_CHEMIN_ABSO_APPLI', HB_CHEMIN_ABSO_RACINE.'applications'.GEN_SEP);
/** Constante stockant le chemin du dossier contenant les traductions générales.*/
156,6 → 156,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.3 2006/10/30 18:57:17 jp_milcent
* Début gestion des flux rss.
*
* Revision 1.2 2006/09/22 09:19:14 jp_milcent
* Ajout de constantes de chemin.
*