Subversion Repositories eFlore/Applications.bibliobota

Rev

Rev 2 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 12
Line 19... Line 19...
19
// |                                                                                                      |
19
// |                                                                                                      |
20
// | You should have received a copy of the GNU General Public License                                    |
20
// | You should have received a copy of the GNU General Public License                                    |
21
// | along with Foobar; if not, write to the Free Software                                                |
21
// | along with Foobar; if not, write to the Free Software                                                |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
23
// +------------------------------------------------------------------------------------------------------+
23
// +------------------------------------------------------------------------------------------------------+
24
// CVS : $Id: bb_config_url.inc.php,v 1.1 2005-11-23 10:22:25 jp_milcent Exp $
24
// CVS : $Id: bb_config_url.inc.php,v 1.2 2006-09-22 08:30:26 jp_milcent Exp $
25
/**
25
/**
26
* Configuration générale des url des applications de Biblio Bota
26
* Configuration générale des url des applications de Biblio Bota
27
*
27
*
28
* Ce fichier permet de stocker les valeurs concernant les url communes aux différentes applications 
28
* Ce fichier permet de stocker les valeurs concernant les url communes aux différentes applications 
29
* constituant Biblio Bota.
29
* constituant Biblio Bota.
Line 33... Line 33...
33
//Auteur original :
33
//Auteur original :
34
*@author        Jean-Pascal MILENT <jpm@tela-botanica.org>
34
*@author        Jean-Pascal MILENT <jpm@tela-botanica.org>
35
//Autres auteurs :
35
//Autres auteurs :
36
*@author        Aucun
36
*@author        Aucun
37
*@copyright     Tela-Botanica 2000-2005
37
*@copyright     Tela-Botanica 2000-2005
38
*@version       $Revision: 1.1 $ $Date: 2005-11-23 10:22:25 $
38
*@version       $Revision: 1.2 $ $Date: 2006-09-22 08:30:26 $
39
// +------------------------------------------------------------------------------------------------------+
39
// +------------------------------------------------------------------------------------------------------+
40
*/
40
*/
Line 41... Line 41...
41
 
41
 
42
// +------------------------------------------------------------------------------------------------------+
42
// +------------------------------------------------------------------------------------------------------+
Line 47... Line 47...
47
// Définition des URL
47
// Définition des URL
48
// Redéfini le séparateur utilisé lorsque PHP génère des URLs pour séparer les arguments.
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', '&amp;');// Déjà défini dans Papyrus
49
//ini_set('arg_separator.output', '&amp;');// Déjà défini dans Papyrus
50
/** Constante stockant l'url de base de l'application.*/
50
/** Constante stockant l'url de base de l'application.*/
51
define('BB_URL_COURANTE', $GLOBALS['_GEN_commun']['url']->getUrl());
51
define('BB_URL_COURANTE', $GLOBALS['_GEN_commun']['url']->getUrl());
-
 
52
$GLOBALS['_GEN_commun']['url']->addQueryString('appli', 'bb_admin');
52
/** Constante stockant l'url de base et un argument appelant l'application bb_admin de Biblio Bota.*/
53
/** Constante stockant l'url de base et un argument appelant l'application bb_admin de Biblio Bota.*/
53
define('BB_URL_COURANTE_ADMIN', $GLOBALS['_GEN_commun']['url']->getUrl().'&amp;appli=bb_admin');
54
define('BB_URL_COURANTE_ADMIN', $GLOBALS['_GEN_commun']['url']->getUrl().'&amp;appli=bb_admin');
-
 
55
$GLOBALS['_GEN_commun']['url']->removeQueryString('appli');
-
 
56
$GLOBALS['_GEN_commun']['url']->addQueryString('appli', 'bb_consultation');
54
/** Constante stockant l'url de base et un argument appelant l'application bb_consultation de Biblio Bota.*/
57
/** Constante stockant l'url de base et un argument appelant l'application bb_consultation de Biblio Bota.*/
55
define('BB_URL_COURANTE_CONSULTATION', $GLOBALS['_GEN_commun']['url']->getUrl().'&amp;appli=bb_consultation');
58
define('BB_URL_COURANTE_CONSULTATION', $GLOBALS['_GEN_commun']['url']->getUrl().'&amp;appli=bb_consultation');
-
 
59
$GLOBALS['_GEN_commun']['url']->addQueryString('consultation', 'avancee');
56
/** Constante stockant l'url de base et un argument appelant l'application bb_consultation en mode avancé de Biblio Bota.*/
60
/** Constante stockant l'url de base et un argument appelant l'application bb_consultation en mode avancé de Biblio Bota.*/
57
define('BB_URL_COURANTE_CONSULTATION_AVANCEE', $GLOBALS['_GEN_commun']['url']->getUrl().'&amp;appli=bb_consultation&amp;consultation=avancee');
61
define('BB_URL_COURANTE_CONSULTATION_AVANCEE', $GLOBALS['_GEN_commun']['url']->getUrl().'&amp;appli=bb_consultation&amp;consultation=avancee');
-
 
62
$GLOBALS['_GEN_commun']['url']->removeQueryString('consultation');
-
 
63
$GLOBALS['_GEN_commun']['url']->removeQueryString('appli');
58
/** Constante stockant la valeur i18n fournie par Papyrus et pouvant être passée dans l'url.*/
64
/** Constante stockant la valeur i18n fournie par Papyrus et pouvant être passée dans l'url.*/
59
define('BB_URL_I18N', $GLOBALS['_GEN_commun']['i18n']);
65
define('BB_URL_I18N', $GLOBALS['_GEN_commun']['i18n']);
Line 60... Line 66...
60
 
66
 
61
/* +--Fin du code ----------------------------------------------------------------------------------------+
67
/* +--Fin du code ----------------------------------------------------------------------------------------+
62
*
68
*
-
 
69
* $Log: not supported by cvs2svn $
-
 
70
* Revision 1.1  2005/11/23 10:22:25  jp_milcent
-
 
71
* Ajout au dépot de l'application BiblioBota.
-
 
72
* Elle doit à terme migrer dans eFlore.
63
* $Log: not supported by cvs2svn $
73
*
64
* Revision 1.1  2005/03/01 16:25:57  jpm
74
* Revision 1.1  2005/03/01 16:25:57  jpm
65
* Mise dans un fichier distinct des constantes d'url utilisant Net_URL de Pear.
75
* Mise dans un fichier distinct des constantes d'url utilisant Net_URL de Pear.
66
*
76
*
67
*
77
*