Subversion Repositories Applications.papyrus

Rev

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

Rev 394 Rev 418
Line 17... Line 17...
17
// |                                                                                                      |
17
// |                                                                                                      |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
19
// | License along with this library; if not, write to the Free Software                                  |
19
// | License along with this library; if not, write to the Free Software                                  |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
21
// +------------------------------------------------------------------------------------------------------+
21
// +------------------------------------------------------------------------------------------------------+
22
// CVS : $Id: afficheur.admin.php,v 1.5 2005-06-03 18:39:30 jpm Exp $
22
// CVS : $Id: afficheur.admin.php,v 1.6 2005-07-15 17:10:08 ddelon Exp $
23
/**
23
/**
24
* Gestion de la rédaction du contenu pour Papyrus.
24
* Gestion de la rédaction du contenu pour Papyrus.
25
*
25
*
26
* Contient les fonctions nécessaires à la gestion du contenu de Papyrus.
26
* Contient les fonctions nécessaires à la gestion du contenu de Papyrus.
27
*
27
*
Line 30... Line 30...
30
//Auteur original :
30
//Auteur original :
31
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
31
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
32
//Autres auteurs :
32
//Autres auteurs :
33
*@author        Aucun
33
*@author        Aucun
34
*@copyright     Tela-Botanica 2000-2004
34
*@copyright     Tela-Botanica 2000-2004
35
*@version       $Revision: 1.5 $ $Date: 2005-06-03 18:39:30 $
35
*@version       $Revision: 1.6 $ $Date: 2005-07-15 17:10:08 $
36
// +------------------------------------------------------------------------------------------------------+
36
// +------------------------------------------------------------------------------------------------------+
37
*/
37
*/
Line 38... Line 38...
38
 
38
 
39
// +------------------------------------------------------------------------------------------------------+
39
// +------------------------------------------------------------------------------------------------------+
Line 151... Line 151...
151
            /** Inclusion du fichier de FCKeditor*/
151
            /** Inclusion du fichier de FCKeditor*/
152
            require_once AFFI_CHEMIN_FCKEDITOR.'fckeditor.php';
152
            require_once AFFI_CHEMIN_FCKEDITOR.'fckeditor.php';
153
            $fckeditor = new FCKeditor('gmc_contenu');
153
            $fckeditor = new FCKeditor('gmc_contenu');
154
            $fckeditor->Value = $ligne_dernier_contenu['gmc_contenu'];
154
            $fckeditor->Value = $ligne_dernier_contenu['gmc_contenu'];
155
            $fckeditor->Height = $GLOBALS['_AFFI_']['fckeditor']['hauteur'];
155
            $fckeditor->Height = $GLOBALS['_AFFI_']['fckeditor']['hauteur'];
156
            $fckeditor->ToolbarSet = $GLOBALS['_AFFI_']['fckeditor']['barre'];
156
            //$fckeditor->ToolbarSet = $GLOBALS['_AFFI_']['fckeditor']['barre'];
-
 
157
            $fckeditor->Config['CustomConfigurationsPath']=$GLOBALS['_AFFI_']['fckeditor']['CustomConfigurationsPath'];
157
            $fckeditor->Config['AutoDetectLanguage'] = false;
158
            $fckeditor->Config['AutoDetectLanguage'] = false;
158
            $fckeditor->Config['DefaultLanguage'] = $GLOBALS['_AFFI_']['fckeditor']['langue'];
159
            $fckeditor->Config['DefaultLanguage'] = $GLOBALS['_AFFI_']['fckeditor']['langue'];
-
 
160
            
159
            $fckeditor->BasePath = AFFI_CHEMIN_FCKEDITOR;
161
            $fckeditor->BasePath = AFFI_CHEMIN_FCKEDITOR;
160
            if ($fckeditor->IsCompatible()) {
162
            if ($fckeditor->IsCompatible()) {
161
                $form->addElement('html', '<li>'.$fckeditor->CreateHtml().'</li>');
163
                $form->addElement('html', '<li>'.$fckeditor->CreateHtml().'</li>');
162
            } else {
164
            } else {
163
                $GLOBALS['_AFFI_']['fckeditor']['utilisation'] = false;
165
                $GLOBALS['_AFFI_']['fckeditor']['utilisation'] = false;
Line 241... Line 243...
241
 
243
 
242
 
244
 
243
/* +--Fin du code ----------------------------------------------------------------------------------------+
245
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
246
*
-
 
247
* $Log: not supported by cvs2svn $
-
 
248
* Revision 1.5  2005/06/03 18:39:30  jpm
244
*
249
* Ajout de la barre d'outil Papyrus FCKeditor.
245
* $Log: not supported by cvs2svn $
250
*
246
* Revision 1.4  2005/05/31 13:43:57  jpm
251
* Revision 1.4  2005/05/31 13:43:57  jpm
247
* Ajout d'un bouton pour remplacer les entités html.
252
* Ajout d'un bouton pour remplacer les entités html.
248
*
253
*