21,7 → 21,7 |
// | along with Foobar; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: affi_configuration.inc.php,v 1.13 2006-04-28 12:41:49 florian Exp $ |
// CVS : $Id: affi_configuration.inc.php,v 1.14 2007-06-26 13:30:48 jp_milcent Exp $ |
/** |
* Application réalisant l'affichage du contenu stocké dans Papyrus. |
* |
34,7 → 34,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.13 $ $Date: 2006-04-28 12:41:49 $ |
*@version $Revision: 1.14 $ $Date: 2007-06-26 13:30:48 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
55,8 → 55,10 |
define('AFFI_CHEMIN_FCKEDITOR', AFFI_CHEMIN_BIBLIOTHEQUE_API.'fckeditor'.GEN_SEP); |
/** Chemin vers l'application Admin de l'afficheur de Papyrus.*/ |
define('AFFI_CHEMIN_APPLICATION', GEN_CHEMIN_APPLICATION.'afficheur'.GEN_SEP); |
/** Chemin vers le dossier des squelettes de l'application.*/ |
define('AFFI_CHEMIN_SQUELETTE', AFFI_CHEMIN_APPLICATION.'squelettes'.GEN_SEP); |
/** Chemin vers le dossier des styles de l'application.*/ |
define('AFFI_CHEMIN_STYLE', AFFI_CHEMIN_APPLICATION.'presentations'.GEN_SEP.'styles'.GEN_SEP); |
define('AFFI_CHEMIN_STYLE', AFFI_CHEMIN_SQUELETTE); |
/** Chaine à utiliser pour l'URL de la règle Freelink.*/ |
define('AFFI_URL_PAPYRUS', PAP_URL.'?menu=%s'); |
|
69,12 → 71,11 |
/** Langue de fckeditor.*/ |
$GLOBALS['_AFFI_']['fckeditor']['langue'] = $GLOBALS['_GEN_commun']['i18n']; |
/** Fichier de config personnalisé de fckeditor.*/ |
$base_url=parse_url(PAP_URL); |
$dirname_base_url=dirname($base_url['path']); |
$GLOBALS['_AFFI_']['fckeditor']['CustomConfigurationsPath'] =$dirname_base_url.GEN_SEP.AFFI_CHEMIN_APPLICATION."configuration".GEN_SEP."affi_fckconfig.js"; |
$base_url = parse_url(PAP_URL); |
$dirname_base_url = dirname($base_url['path']); |
// Suppression double slash pour site interdisant ce type d'url (a confirmer ...) |
// Probleme également avec des sous-domaines (~ree05/papyrus etc.) .... |
$GLOBALS['_AFFI_']['fckeditor']['CustomConfigurationsPath'] = str_replace("//", "/", $GLOBALS['_AFFI_']['fckeditor']['CustomConfigurationsPath']); |
$GLOBALS['_AFFI_']['fckeditor']['CustomConfigurationsPath'] = str_replace('//', '/', $dirname_base_url.GEN_SEP.AFFI_CHEMIN_APPLICATION.'configuration'.GEN_SEP.'affi_fckconfig.js'); |
|
// L'objet PEAR::DB à utiliser pour l'afficheur : |
$GLOBALS['_AFFICHEUR']['objet_pear_db'] =& $GLOBALS['_GEN_commun']['pear_db']; |
106,6 → 107,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.13 2006-04-28 12:41:49 florian |
* corrections erreurs chemin |
* |
* Revision 1.12 2005/08/25 08:59:12 ddelon |
* Integrateur Wikini et administration des Wikini |
* |