Rev 5 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php/*vim: set expandtab tabstop=4 shiftwidth=4: */// +------------------------------------------------------------------------------------------------------+// | PHP version 4.1 |// +------------------------------------------------------------------------------------------------------+// | Copyright (C) 2005 Tela Botanica (accueil@tela-botanica.org) |// +------------------------------------------------------------------------------------------------------+// | This file is part of Herbier. |// | |// | 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: hb_config_url.inc.php,v 1.1 2005-11-23 10:32:32 jp_milcent Exp $/*** Configuration générale des url des applications de Biblio Bota** Ce fichier permet de stocker les valeurs concernant les url communes aux différentes applications* constituant Herbier.**@package Herbier*@subpackage Configuration//Auteur original :*@author Alexandre GRANIER <alexandre@tela-botanica.org>//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 $// +------------------------------------------------------------------------------------------------------+*/// +------------------------------------------------------------------------------------------------------+// | ENTETE du PROGRAMME |// +------------------------------------------------------------------------------------------------------+// +------------------------------------------------------------------------------------------------------+// Définition des URL// Redéfini le séparateur utilisé lorsque PHP génère des URLs pour séparer les arguments.//ini_set('arg_separator.output', '&');// Déjà défini dans Papyrus/** Constante stockant l'url de base de l'application.*/define('HB_URL_COURANTE', $GLOBALS['_GEN_commun']['url']->getUrl());/** Constante stockant l'url de base et un argument appelant l'application hb_admin de Herbier.*/define('HB_URL_COURANTE_ADMIN', HB_URL_COURANTE.'&appli=hb_admin');/** Constante stockant l'url de base et un argument appelant l'application hb_admin de Herbier avec l'action configurable.*/define('HB_URL_COURANTE_ADMIN_ACTION', HB_URL_COURANTE_ADMIN.'&action=%s');/** Constante stockant l'url de base et un argument appelant l'application hb_admin de Herbier avec la lettre configurable.*/define('HB_URL_COURANTE_ADMIN_ACTION_LETTRE', HB_URL_COURANTE_ADMIN_ACTION.'&lettre=%s');/** Constante stockant l'url de base et un argument appelant l'application hb_admin de Herbier pour une organisation donnée.*/define('HB_URL_COURANTE_ADMIN_ACTION_ORGANISATION', HB_URL_COURANTE_ADMIN_ACTION.'&id_org=%s');/** Constante stockant l'url de base et un argument appelant l'application hb_admin de Herbier pour un équipier donné.*/define('HB_URL_COURANTE_ADMIN_ACTION_ORG_EQUIPE', HB_URL_COURANTE_ADMIN_ACTION_ORGANISATION.'&id_equipe=%s');/** Constante stockant l'url de base et des arguments appelant l'application hb_admin de Herbier pour une collection donnée.*/define('HB_URL_COURANTE_ADMIN_ACTION_ORG_COLL', HB_URL_COURANTE_ADMIN_ACTION_ORGANISATION.'&id_coll=%s');/** Constante stockant l'url de base et des arguments appelant l'application hb_admin de Herbier pour une note donnée.*/define('HB_URL_COURANTE_ADMIN_ACTION_ORG_COLL_NOTE', HB_URL_COURANTE_ADMIN_ACTION_ORG_COLL.'&id_note=%s');/** Constante stockant l'url de base et des arguments appelant l'application hb_admin de Herbier pour une note donnée.*/define('HB_URL_COURANTE_ADMIN_ACTION_ORG_NOTE', HB_URL_COURANTE_ADMIN_ACTION_ORGANISATION.'&id_note=%s');/** Constante stockant l'url de base et un argument appelant l'application hb_admin de Herbier avec l'action configurable.*/define('HB_URL_COURANTE_ADMIN_ACTION_UTILISATEUR', HB_URL_COURANTE_ADMIN_ACTION.'&id_utilisateur=%s');/** Constante stockant l'url de base et un argument appelant l'application hb_admin de Herbier pour un correspondant précis.*/define('HB_URL_COURANTE_ADMIN_ACTION_COR', HB_URL_COURANTE_ADMIN_ACTION.'&id_cor=%s#hba_correspondant_%s');/** Constante stockant l'url de base et un argument appelant l'application hb_admin de Herbier pour un rédacteur précis.*/define('HB_URL_COURANTE_ADMIN_ACTION_RED', HB_URL_COURANTE_ADMIN_ACTION.'&id_red=%s');/** Constante stockant l'url de base et un argument appelant l'application hb_consultation de Herbier.*/define('HB_URL_COURANTE_CONSULTATION', HB_URL_COURANTE.'&appli=hb_consultation');/** Constante stockant l'url de base et un argument appelant la consulation d'une fiche herbier* de l'application hb_moteur de Herbier.*/define('HB_URL_COURANTE_CONSULTATION_FICHE_HERBIER', HB_URL_COURANTE_CONSULTATION.'&consultation=herbier');/** Constante stockant l'url de base et un argument appelant la consulation d'une fiche herbier précise* de l'application hb_moteur de Herbier.*/define('HB_URL_COURANTE_CONSULTATION_FICHE_HERBIER_ID', HB_URL_COURANTE_CONSULTATION_FICHE_HERBIER.'&id_org=%s');/** Constante stockant l'url de base et un argument appelant la consulation d'une fiche collection* de l'application hb_moteur de Herbier.*/define('HB_URL_COURANTE_CONSULTATION_FICHE_COLECTION', HB_URL_COURANTE_CONSULTATION.'&consultation=collection');/* +--Fin du code ----------------------------------------------------------------------------------------+** $Log: not supported by cvs2svn $* Revision 1.3 2005/04/06 13:28:51 jpm* Ajout des constantes de configuration.** Revision 1.2 2005/03/09 15:58:00 jpm* Ajout et modification de constantes.** Revision 1.1 2005/03/08 14:13:59 jpm* Ajout des fichiers de configuration de Herbier.*** +-- Fin du code ----------------------------------------------------------------------------------------+*/?>