Subversion Repositories Applications.papyrus

Rev

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

Rev 433 Rev 434
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: affi_configuration.inc.php,v 1.11 2005-08-18 10:20:04 ddelon Exp $
24
// CVS : $Id: affi_configuration.inc.php,v 1.12 2005-08-25 08:59:12 ddelon Exp $
25
/**
25
/**
26
* Application réalisant l'affichage du contenu stocké dans Papyrus.
26
* Application réalisant l'affichage du contenu stocké dans Papyrus.
27
*
27
*
28
* Les constantes et variables de configuration de l'application Afficheur.
28
* Les constantes et variables de configuration de l'application Afficheur.
29
*
29
*
Line 32... Line 32...
32
//Auteur original :
32
//Auteur original :
33
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
33
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
34
//Autres auteurs :
34
//Autres auteurs :
35
*@author        Aucun
35
*@author        Aucun
36
*@copyright     Tela-Botanica 2000-2004
36
*@copyright     Tela-Botanica 2000-2004
37
*@version       $Revision: 1.11 $ $Date: 2005-08-18 10:20:04 $
37
*@version       $Revision: 1.12 $ $Date: 2005-08-25 08:59:12 $
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
*/
39
*/
Line 40... Line 40...
40
 
40
 
41
// +------------------------------------------------------------------------------------------------------+
41
// +------------------------------------------------------------------------------------------------------+
Line 70... Line 70...
70
$GLOBALS['_AFFI_']['fckeditor']['langue'] = $GLOBALS['_GEN_commun']['i18n'];
70
$GLOBALS['_AFFI_']['fckeditor']['langue'] = $GLOBALS['_GEN_commun']['i18n'];
71
/** Fichier de config personnalisé de fckeditor.*/
71
/** Fichier de config personnalisé de fckeditor.*/
72
$base_url=parse_url(PAP_URL);
72
$base_url=parse_url(PAP_URL);
73
$dirname_base_url=dirname($base_url['path']);
73
$dirname_base_url=dirname($base_url['path']);
74
$GLOBALS['_AFFI_']['fckeditor']['CustomConfigurationsPath'] =$dirname_base_url.GEN_SEP.AFFI_CHEMIN_APPLICATION."configuration".GEN_SEP."affi_fckconfig.js";
74
$GLOBALS['_AFFI_']['fckeditor']['CustomConfigurationsPath'] =$dirname_base_url.GEN_SEP.AFFI_CHEMIN_APPLICATION."configuration".GEN_SEP."affi_fckconfig.js";
75
// Suppression double slash pour site interdisant ce type d'url (a confirmer ...) 
75
// Suppression double slash pour site interdisant ce type d'url (a confirmer ...)
-
 
76
// Probleme également avec des sous-domaines (~ree05/papyrus etc.) ....  
76
$GLOBALS['_AFFI_']['fckeditor']['CustomConfigurationsPath'] = str_replace("//", "/", $GLOBALS['_AFFI_']['fckeditor']['CustomConfigurationsPath']);
77
$GLOBALS['_AFFI_']['fckeditor']['CustomConfigurationsPath'] = str_replace("//", "/", $GLOBALS['_AFFI_']['fckeditor']['CustomConfigurationsPath']);
Line 77... Line 78...
77
 
78
 
78
// L'objet PEAR::DB à utiliser pour l'afficheur :
79
// L'objet PEAR::DB à utiliser pour l'afficheur :
Line 103... Line 104...
103
 
104
 
104
 
105
 
105
/* +--Fin du code ----------------------------------------------------------------------------------------+
106
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
107
*
-
 
108
* $Log: not supported by cvs2svn $
-
 
109
* Revision 1.11  2005/08/18 10:20:04  ddelon
106
*
110
* Integrateur Wikini et Acces PEAR
107
* $Log: not supported by cvs2svn $
111
*
108
* Revision 1.10  2005/07/21 18:11:43  ddelon
112
* Revision 1.10  2005/07/21 18:11:43  ddelon
109
* configuration barre outil fcke
113
* configuration barre outil fcke
110
*
114
*