Subversion Repositories Applications.papyrus

Rev

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

Rev 1029 Rev 1037
Line 20... Line 20...
20
// | You should have received a copy of the GNU Lesser General Public                                     |
20
// | You should have received a copy of the GNU Lesser General Public                                     |
21
// | License along with this library; if not, write to the Free Software                                  |
21
// | License along with this library; 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
// +------------------------------------------------------------------------------------------------------+
24
// +------------------------------------------------------------------------------------------------------+
25
// CVS : $Id: pap_config_avancee.inc.php,v 1.23 2006-10-11 18:04:11 jp_milcent Exp $
25
// CVS : $Id: pap_config_avancee.inc.php,v 1.24 2006-10-18 10:18:04 jp_milcent Exp $
26
/**
26
/**
27
* Page de configuration avancée de Papyrus
27
* Page de configuration avancée de Papyrus
28
*
28
*
29
* La page contient différents paramêtre permettant de configurer, le chronométrage, le débogage, les url...
29
* La page contient différents paramêtre permettant de configurer, le chronométrage, le débogage, les url...
30
*
30
*
Line 34... Line 34...
34
*@author            Jean-Pascal MILCENT <jpm@tela-botanica.org>
34
*@author            Jean-Pascal MILCENT <jpm@tela-botanica.org>
35
//Autres auteurs :
35
//Autres auteurs :
36
*@author            Alexandre GRANIER <alex@tela-botanica.org>
36
*@author            Alexandre GRANIER <alex@tela-botanica.org>
37
*@author            Laurent COUDOUNEAU <laurent.coudouneau@ema.fr>
37
*@author            Laurent COUDOUNEAU <laurent.coudouneau@ema.fr>
38
*@copyright         Tela-Botanica 2000-2004
38
*@copyright         Tela-Botanica 2000-2004
39
*@version           $Revision: 1.23 $ $Date: 2006-10-11 18:04:11 $
39
*@version           $Revision: 1.24 $ $Date: 2006-10-18 10:18:04 $
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
41
*/
41
*/
Line 42... Line 42...
42
 
42
 
43
// +------------------------------------------------------------------------------------------------------+
43
// +------------------------------------------------------------------------------------------------------+
Line 111... Line 111...
111
// Noms des sites
111
// Noms des sites
112
/** Nom du site par défaut d'administration de Papyrus.*/
112
/** Nom du site par défaut d'administration de Papyrus.*/
113
define('GEN_SITE_DEFAUT', 'admin');
113
define('GEN_SITE_DEFAUT', 'admin');
Line 114... Line 114...
114
 
114
 
115
// +------------------------------------------------------------------------------------------------------+
115
// +------------------------------------------------------------------------------------------------------+
116
// Paramétrage réecriture d'URL et erreur 404
116
// Paramétrage réecriture d'URL et erreur HTTP
117
/** Mot signalant une réecriture d'url présent à la base de l'url. */
117
/** Mot signalant une réecriture d'url présent à la base de l'url. */
118
define('PAP_URL_REECRITURE_MENU', 'page');
118
define('PAP_URL_REECRITURE_MENU', 'page');
119
/** Mot signalant une réecriture d'url présent à la base de l'url. */
119
/** Mot signalant une réecriture d'url présent à la base de l'url. */
120
define('PAP_URL_REECRITURE_SITE', 'site');
120
define('PAP_URL_REECRITURE_SITE', 'site');
121
/** Caractère séparant les informations constituant le permalien Papyrus. */
121
/** Caractère séparant les informations constituant le permalien Papyrus. */
122
// Si vous utilisez "/", vous devrez indiquer le chemin depuis la racine pour les chemins présent dans les squelettes.
122
// Si vous utilisez "/", vous devrez indiquer le chemin depuis la racine pour les chemins présent dans les squelettes.
123
// Exemple : "/sites/commun..." et non "sites/commun..."
123
// Exemple : "/sites/commun..." et non "sites/commun..."
124
define('PAP_URL_REECRITURE_SEP', ':');
124
define('PAP_URL_REECRITURE_SEP', ':');
125
/** Chemin et nom du fichier affichant une erreur 404.*/
125
/** Chemin et nom du fichier affichant une erreur HTTP.*/
126
define('PAP_FICHIER_ERREUR_404', PAP_CHEMIN_RACINE.'sites/commun/%s/http_erreurs/erreur404.php');
126
define('PAP_FICHIER_ERREUR_HTTP', PAP_CHEMIN_RACINE.'sites/commun/%s/http_erreurs/erreur%s.php');
127
/** Chemin et nom du fichier affichant une erreur 404.*/
127
/** Chemin et nom du fichier affichant une erreur HTTP.*/
Line 128... Line 128...
128
define('PAP_URL_ERREUR_404', '%ssites/commun/%s/http_erreurs/erreur404.php?url=%s');
128
define('PAP_URL_ERREUR_HTTP', '%ssites/commun/%s/http_erreurs/erreur%s.php?url=%s');
129
 
129
 
130
// +------------------------------------------------------------------------------------------------------+
130
// +------------------------------------------------------------------------------------------------------+
131
/** Séparateur dans les chemins d'accès aux fichiers.*/
131
/** Séparateur dans les chemins d'accès aux fichiers.*/
Line 210... Line 210...
210
    'Wikini_eFlore' => array('preg' => '/<div class="page">(.*)<\/div>.*<div class="commentsheader">/Umsi', 'url' => 'http://wiki.tela-botanica.org/eflore/wakka.php?wiki=%s'),
210
    'Wikini_eFlore' => array('preg' => '/<div class="page">(.*)<\/div>.*<div class="commentsheader">/Umsi', 'url' => 'http://wiki.tela-botanica.org/eflore/wakka.php?wiki=%s'),
211
    'Wikini_isff' => array('preg' => '/<div class="page">(.*)<\/div>.*<div class="commentsheader">/Umsi', 'url' => 'http://wiki.tela-botanica.org/isff/wakka.php?wiki=%s')
211
    'Wikini_isff' => array('preg' => '/<div class="page">(.*)<\/div>.*<div class="commentsheader">/Umsi', 'url' => 'http://wiki.tela-botanica.org/isff/wakka.php?wiki=%s')
212
);
212
);
213
/* +--Fin du code ---------------------------------------------------------------------------------------+
213
/* +--Fin du code ---------------------------------------------------------------------------------------+
214
* $Log: not supported by cvs2svn $
214
* $Log: not supported by cvs2svn $
-
 
215
* Revision 1.23  2006/10/11 18:04:11  jp_milcent
-
 
216
* Gestion avancée de la réecriture d'URL.
-
 
217
*
215
* Revision 1.22  2006/10/05 13:17:47  ddelon
218
* Revision 1.22  2006/10/05 13:17:47  ddelon
216
* Changement Version Papyrus : 0.21 --> 0.24
219
* Changement Version Papyrus : 0.21 --> 0.24
217
*
220
*
218
* Revision 1.21  2006/09/13 12:31:18  florian
221
* Revision 1.21  2006/09/13 12:31:18  florian
219
* ménage: fichier de config Papyrus, fichiers temporaires
222
* ménage: fichier de config Papyrus, fichiers temporaires