2 |
jp_milcent |
1 |
<?php
|
|
|
2 |
/*vim: set expandtab tabstop=4 shiftwidth=4: */
|
|
|
3 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
4 |
// | PHP version 4.1 |
|
|
|
5 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
6 |
// | Copyright (C) 2005 Tela Botanica (accueil@tela-botanica.org) |
|
|
|
7 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
8 |
// | This file is part of Herbier. |
|
|
|
9 |
// | |
|
|
|
10 |
// | Foobar is free software; you can redistribute it and/or modify |
|
|
|
11 |
// | it under the terms of the GNU General Public License as published by |
|
|
|
12 |
// | the Free Software Foundation; either version 2 of the License, or |
|
|
|
13 |
// | (at your option) any later version. |
|
|
|
14 |
// | |
|
|
|
15 |
// | Foobar is distributed in the hope that it will be useful, |
|
|
|
16 |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
|
17 |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
|
18 |
// | GNU General Public License for more details. |
|
|
|
19 |
// | |
|
|
|
20 |
// | You should have received a copy of the GNU General Public License |
|
|
|
21 |
// | along with Foobar; if not, write to the Free Software |
|
|
|
22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
|
|
23 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
24 |
// CVS : $Id: hb_config_url.inc.php,v 1.1 2005-11-23 10:32:32 jp_milcent Exp $
|
|
|
25 |
/**
|
|
|
26 |
* Configuration générale des url des applications de Biblio Bota
|
|
|
27 |
*
|
|
|
28 |
* Ce fichier permet de stocker les valeurs concernant les url communes aux différentes applications
|
|
|
29 |
* constituant Herbier.
|
|
|
30 |
*
|
|
|
31 |
*@package Herbier
|
|
|
32 |
*@subpackage Configuration
|
|
|
33 |
//Auteur original :
|
|
|
34 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
|
|
35 |
//Autres auteurs :
|
|
|
36 |
*@author Jean-Pascal MILCENT <jpm@clapas.org>
|
|
|
37 |
*@copyright Tela-Botanica 2000-2005
|
|
|
38 |
*@version $Revision: 1.1 $ $Date: 2005-11-23 10:32:32 $
|
|
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
40 |
*/
|
|
|
41 |
|
|
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
43 |
// | ENTETE du PROGRAMME |
|
|
|
44 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
45 |
|
|
|
46 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
47 |
// Définition des URL
|
|
|
48 |
// Redéfini le séparateur utilisé lorsque PHP génère des URLs pour séparer les arguments.
|
|
|
49 |
//ini_set('arg_separator.output', '&');// Déjà défini dans Papyrus
|
|
|
50 |
/** Constante stockant l'url de base de l'application.*/
|
|
|
51 |
define('HB_URL_COURANTE', $GLOBALS['_GEN_commun']['url']->getUrl());
|
|
|
52 |
/** Constante stockant l'url de base et un argument appelant l'application hb_admin de Herbier.*/
|
|
|
53 |
define('HB_URL_COURANTE_ADMIN', HB_URL_COURANTE.'&appli=hb_admin');
|
|
|
54 |
/** Constante stockant l'url de base et un argument appelant l'application hb_admin de Herbier avec l'action configurable.*/
|
|
|
55 |
define('HB_URL_COURANTE_ADMIN_ACTION', HB_URL_COURANTE_ADMIN.'&action=%s');
|
|
|
56 |
/** Constante stockant l'url de base et un argument appelant l'application hb_admin de Herbier avec la lettre configurable.*/
|
|
|
57 |
define('HB_URL_COURANTE_ADMIN_ACTION_LETTRE', HB_URL_COURANTE_ADMIN_ACTION.'&lettre=%s');
|
|
|
58 |
/** Constante stockant l'url de base et un argument appelant l'application hb_admin de Herbier pour une organisation donnée.*/
|
|
|
59 |
define('HB_URL_COURANTE_ADMIN_ACTION_ORGANISATION', HB_URL_COURANTE_ADMIN_ACTION.'&id_org=%s');
|
|
|
60 |
/** Constante stockant l'url de base et un argument appelant l'application hb_admin de Herbier pour un équipier donné.*/
|
|
|
61 |
define('HB_URL_COURANTE_ADMIN_ACTION_ORG_EQUIPE', HB_URL_COURANTE_ADMIN_ACTION_ORGANISATION.'&id_equipe=%s');
|
|
|
62 |
/** Constante stockant l'url de base et des arguments appelant l'application hb_admin de Herbier pour une collection donnée.*/
|
|
|
63 |
define('HB_URL_COURANTE_ADMIN_ACTION_ORG_COLL', HB_URL_COURANTE_ADMIN_ACTION_ORGANISATION.'&id_coll=%s');
|
|
|
64 |
/** Constante stockant l'url de base et des arguments appelant l'application hb_admin de Herbier pour une note donnée.*/
|
|
|
65 |
define('HB_URL_COURANTE_ADMIN_ACTION_ORG_COLL_NOTE', HB_URL_COURANTE_ADMIN_ACTION_ORG_COLL.'&id_note=%s');
|
|
|
66 |
/** Constante stockant l'url de base et des arguments appelant l'application hb_admin de Herbier pour une note donnée.*/
|
|
|
67 |
define('HB_URL_COURANTE_ADMIN_ACTION_ORG_NOTE', HB_URL_COURANTE_ADMIN_ACTION_ORGANISATION.'&id_note=%s');
|
|
|
68 |
/** Constante stockant l'url de base et un argument appelant l'application hb_admin de Herbier avec l'action configurable.*/
|
|
|
69 |
define('HB_URL_COURANTE_ADMIN_ACTION_UTILISATEUR', HB_URL_COURANTE_ADMIN_ACTION.'&id_utilisateur=%s');
|
|
|
70 |
/** Constante stockant l'url de base et un argument appelant l'application hb_admin de Herbier pour un correspondant précis.*/
|
|
|
71 |
define('HB_URL_COURANTE_ADMIN_ACTION_COR', HB_URL_COURANTE_ADMIN_ACTION.'&id_cor=%s#hba_correspondant_%s');
|
|
|
72 |
/** Constante stockant l'url de base et un argument appelant l'application hb_admin de Herbier pour un rédacteur précis.*/
|
|
|
73 |
define('HB_URL_COURANTE_ADMIN_ACTION_RED', HB_URL_COURANTE_ADMIN_ACTION.'&id_red=%s');
|
|
|
74 |
/** Constante stockant l'url de base et un argument appelant l'application hb_consultation de Herbier.*/
|
|
|
75 |
define('HB_URL_COURANTE_CONSULTATION', HB_URL_COURANTE.'&appli=hb_consultation');
|
|
|
76 |
/** Constante stockant l'url de base et un argument appelant la consulation d'une fiche herbier
|
|
|
77 |
* de l'application hb_moteur de Herbier.*/
|
|
|
78 |
define('HB_URL_COURANTE_CONSULTATION_FICHE_HERBIER', HB_URL_COURANTE_CONSULTATION.'&consultation=herbier');
|
|
|
79 |
/** Constante stockant l'url de base et un argument appelant la consulation d'une fiche herbier précise
|
|
|
80 |
* de l'application hb_moteur de Herbier.*/
|
|
|
81 |
define('HB_URL_COURANTE_CONSULTATION_FICHE_HERBIER_ID', HB_URL_COURANTE_CONSULTATION_FICHE_HERBIER.'&id_org=%s');
|
|
|
82 |
/** Constante stockant l'url de base et un argument appelant la consulation d'une fiche collection
|
|
|
83 |
* de l'application hb_moteur de Herbier.*/
|
|
|
84 |
define('HB_URL_COURANTE_CONSULTATION_FICHE_COLECTION', HB_URL_COURANTE_CONSULTATION.'&consultation=collection');
|
|
|
85 |
|
|
|
86 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
|
|
87 |
*
|
|
|
88 |
* $Log: not supported by cvs2svn $
|
|
|
89 |
* Revision 1.3 2005/04/06 13:28:51 jpm
|
|
|
90 |
* Ajout des constantes de configuration.
|
|
|
91 |
*
|
|
|
92 |
* Revision 1.2 2005/03/09 15:58:00 jpm
|
|
|
93 |
* Ajout et modification de constantes.
|
|
|
94 |
*
|
|
|
95 |
* Revision 1.1 2005/03/08 14:13:59 jpm
|
|
|
96 |
* Ajout des fichiers de configuration de Herbier.
|
|
|
97 |
*
|
|
|
98 |
*
|
|
|
99 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
|
|
100 |
*/
|
|
|
101 |
?>
|