Subversion Repositories eFlore/Archives.herbiers

Compare Revisions

Ignore whitespace Rev 12 → Rev 13

/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.5 2006-10-31 15:06:44 jp_milcent Exp $
// CVS : $Id: herbier.php,v 1.6 2006-10-31 15:19:15 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.5 $ $Date: 2006-10-31 15:06:44 $
*@version $Revision: 1.6 $ $Date: 2006-10-31 15:19:15 $
// +------------------------------------------------------------------------------------------------------+
*/
 
45,6 → 45,18
// +------------------------------------------------------------------------------------------------------+
// | ENTETE du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
// 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);
define('PAP_CHEMIN_RACINE', dirname(realpath(__FILE__)).GEN_SEP.'..'.GEN_SEP.'..'.GEN_SEP);
define('GEN_CHEMIN_API', PAP_CHEMIN_RACINE.'api'.GEN_SEP);
define('GEN_CHEMIN_CLIENT', PAP_CHEMIN_RACINE.'client'.GEN_SEP);
define('PAP_CHEMIN_API_PEAR', GEN_CHEMIN_API.'pear'.GEN_SEP);
$GLOBALS['_GEN_commun']['i18n'] = 'fr';
$GLOBALS['_DEBOGAGE_'] = '';
}
// +------------------------------------------------------------------------------------------------------+
// Gestion du chemin de l'application et de son dossier de configuration
/** Constante "dynamique" stockant le chemin absolue de base de l'application recherche de plante.*/
234,6 → 246,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.5 2006/10/31 15:06:44 jp_milcent
* Fin de gestion des flux rss.
*
* Revision 1.4 2006/10/31 10:31:36 jp_milcent
* Gestion des chemins rendu compatibles avec une utilisation de l'appli Herbiers hors de Papyrus.
*
/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.5 2006-10-31 15:06:44 jp_milcent Exp $
// CVS : $Id: hb_config.inc.php,v 1.6 2006-10-31 15:19:15 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.5 $ $Date: 2006-10-31 15:06:44 $
*@version $Revision: 1.6 $ $Date: 2006-10-31 15:19:15 $
// +------------------------------------------------------------------------------------------------------+
*/
 
42,10 → 42,14
// +------------------------------------------------------------------------------------------------------+
// | ENTETE du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
 
// Paramêtres indiquant que l'on est en français pourpermettre la mise en majuscule des caractères accentués
setlocale(LC_CTYPE, "fr_FR");
 
// Pour une utilisation hors de Papyrus
if (!defined('PAP_VERSION')) {
define('HB_URL', 'http://'.$_SERVER['HTTP_HOST'].'/'.'page:herbiers_recherche');
}
 
// +------------------------------------------------------------------------------------------------------+
/** Definition de la variable globale de Herbier.*/
$GLOBALS['_HERBIER_'] = array();
158,6 → 162,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.5 2006/10/31 15:06:44 jp_milcent
* Fin de gestion des flux rss.
*
* Revision 1.4 2006/10/31 10:31:36 jp_milcent
* Gestion des chemins rendu compatibles avec une utilisation de l'appli Herbiers hors de Papyrus.
*
/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.3 2006-10-31 15:06:43 jp_milcent Exp $
// CVS : $Id: herbier_rss.php,v 1.4 2006-10-31 15:19:15 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.3 $
*@version $Revision: 1.4 $
// +------------------------------------------------------------------------------------------------------+
*/
 
36,24 → 36,6
// +------------------------------------------------------------------------------------------------------+
// | ENTETE du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
// 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);
define('PAP_CHEMIN_RACINE', dirname(realpath(__FILE__)).GEN_SEP.'..'.GEN_SEP.'..'.GEN_SEP);
define('GEN_CHEMIN_API', PAP_CHEMIN_RACINE.'api'.GEN_SEP);
define('GEN_CHEMIN_CLIENT', PAP_CHEMIN_RACINE.'client'.GEN_SEP);
define('PAP_CHEMIN_API_PEAR', GEN_CHEMIN_API.'pear'.GEN_SEP);
define('HB_URL', 'http://testv4.tela-botanica.org/page:herbiers_recherche');
$GLOBALS['_GEN_commun']['i18n'] = 'fr';
$GLOBALS['_DEBOGAGE_'] = '';
//session_name('herbier_rss_beta');
//session_start();
//$expiration = 60*60*60;
//setcookie(session_name(),session_id(), time()+$expiration, '/');
}
 
// Nous spécifions l'application à appeler.
if (!isset($_REQUEST['appli'])) {
$_REQUEST['appli'] = 'hb_rss';
69,6 → 51,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.3 2006/10/31 15:06:43 jp_milcent
* Fin de gestion des flux rss.
*
* Revision 1.2 2006/10/31 10:31:36 jp_milcent
* Gestion des chemins rendu compatibles avec une utilisation de l'appli Herbiers hors de Papyrus.
*