Subversion Repositories Applications.papyrus

Rev

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

Rev 1078 Rev 1093
Line 1... Line 1...
1
<?php
1
<?php
2
/*vim: set expandtab tabstop=4 shiftwidth=4: */ 
2
/*vim: set expandtab tabstop=4 shiftwidth=4: */ 
3
// +------------------------------------------------------------------------------------------------------+
3
// +------------------------------------------------------------------------------------------------------+
4
// | PHP version 4.1                                                                                      |
4
// | PHP version 4.1                                                                                      |
5
// +------------------------------------------------------------------------------------------------------+
5
// +------------------------------------------------------------------------------------------------------+
6
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org)                                         |
6
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org)                                         |
7
// +------------------------------------------------------------------------------------------------------+
7
// +------------------------------------------------------------------------------------------------------+
8
// | This library is free software; you can redistribute it and/or                                        |
8
// | This library is free software; you can redistribute it and/or                                        |
9
// | modify it under the terms of the GNU Lesser General Public                                           |
9
// | modify it under the terms of the GNU Lesser General Public                                           |
10
// | License as published by the Free Software Foundation; either                                         |
10
// | License as published by the Free Software Foundation; either                                         |
11
// | version 2.1 of the License, or (at your option) any later version.                                   |
11
// | version 2.1 of the License, or (at your option) any later version.                                   |
12
// |                                                                                                      |
12
// |                                                                                                      |
13
// | This library is distributed in the hope that it will be useful,                                      |
13
// | This library is distributed in the hope that it will be useful,                                      |
14
// | but WITHOUT ANY WARRANTY; without even the implied warranty of                                       |
14
// | but WITHOUT ANY WARRANTY; without even the implied warranty of                                       |
15
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU                                    |
15
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU                                    |
16
// | Lesser General Public License for more details.                                                      |
16
// | Lesser General Public License for more details.                                                      |
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.20 2006-12-01 11:23:23 ddelon Exp $
22
// CVS : $Id: afficheur.admin.php,v 1.21 2006-12-01 16:59:45 florian 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
*
28
*@package Afficheur
28
*@package Afficheur
29
*@subpackage Administration
29
*@subpackage Administration
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.20 $ $Date: 2006-12-01 11:23:23 $
35
*@version       $Revision: 1.21 $ $Date: 2006-12-01 16:59:45 $
36
// +------------------------------------------------------------------------------------------------------+
36
// +------------------------------------------------------------------------------------------------------+
37
*/
37
*/
38
 
-
 
39
// +------------------------------------------------------------------------------------------------------+
-
 
40
// |                                            ENTÊTE du PROGRAMME                                       |
-
 
41
// +------------------------------------------------------------------------------------------------------+
-
 
Line -... Line 38...
-
 
38
 
-
 
39
// +------------------------------------------------------------------------------------------------------+
-
 
40
// |                                            ENTÊTE du PROGRAMME                                       |
-
 
41
// +------------------------------------------------------------------------------------------------------+
-
 
42
// Nous indiquons à Papyrus de ne pas chercher de balises d'applettes dans le contenu généré par l'appli
Line 42... Line 43...
42
 
43
$GLOBALS['_PAPYRUS_']['applette']['analyse'] = false;
43
 
44
 
44
// +------------------------------------------------------------------------------------------------------+
45
// +------------------------------------------------------------------------------------------------------+
45
// |                                                 CLASSE                                               |
46
// |                                                 CLASSE                                               |
46
// +------------------------------------------------------------------------------------------------------+
47
// +------------------------------------------------------------------------------------------------------+
47
class Afficheur_Admin {
48
class Afficheur_Admin {
48
    var $objet_pear_auth;
49
    var $objet_pear_auth;
49
    var $objet_pear_db;
50
    var $objet_pear_db;
Line 50... Line 51...
50
    var $objet_pear_url;
51
    var $objet_pear_url;
51
    var $sortie_xhtml;
52
    var $sortie_xhtml;
52
    
53
    
53
    /** Fonction redigerContenu() - Affiche le formulaire de rédaction
54
    /** Fonction redigerContenu() - Affiche le formulaire de rédaction
54
    *
55
    *
55
    *
56
    *
56
    *   @return  string  Le HTML
57
    *   @return  string  Le HTML
57
    */
58
    */
58
    function afficherContenuCorps()
59
    function afficherContenuCorps()
Line 85... Line 86...
85
        }
86
        }
86
        $this->sortie_xhtml .= $this->_redigerContenu($this->objet_pear_db, $this->objet_pear_url, $_GET['adme_site_id'], $_GET['adme_menu_id'], $_GET['adme_action']);
87
        $this->sortie_xhtml .= $this->_redigerContenu($this->objet_pear_db, $this->objet_pear_url, $_GET['adme_site_id'], $_GET['adme_menu_id'], $_GET['adme_action']);
87
        return $this->sortie_xhtml;
88
        return $this->sortie_xhtml;
88
    }
89
    }
Line 247... Line 248...
247
        (DB::isError($result)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $result->getMessage(), $requete)) : '';
248
        (DB::isError($result)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $result->getMessage(), $requete)) : '';
248
    }
249
    }
249
}// Fin de la classe
-
 
250
 
-
 
251
// +------------------------------------------------------------------------------------------------------+
-
 
252
// |                                            PIED du PROGRAMME                                         |
-
 
Line -... Line 250...
-
 
250
}// Fin de la classe
-
 
251
 
-
 
252
// +------------------------------------------------------------------------------------------------------+
253
// +------------------------------------------------------------------------------------------------------+
253
// |                                            PIED du PROGRAMME                                         |
-
 
254
// +------------------------------------------------------------------------------------------------------+
254
 
255
 
255
 
256
 
256
/* +--Fin du code ----------------------------------------------------------------------------------------+
257
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
258
*
-
 
259
* $Log: not supported by cvs2svn $
-
 
260
* Revision 1.20  2006/12/01 11:23:23  ddelon
257
*
261
* Suppression mode wiki afficheur
258
* $Log: not supported by cvs2svn $
262
*
259
* Revision 1.19  2006/10/16 15:49:07  ddelon
263
* Revision 1.19  2006/10/16 15:49:07  ddelon
260
* Refactorisation code mulitlinguisme et gestion menu invisibles
264
* Refactorisation code mulitlinguisme et gestion menu invisibles
261
*
265
*
Line 324... Line 328...
324
* Revision 1.5  2004/05/07 16:32:27  jpm
328
* Revision 1.5  2004/05/07 16:32:27  jpm
325
* Modification des commentaires.
329
* Modification des commentaires.
326
*
330
*
327
* Revision 1.4  2004/05/07 07:23:53  jpm
331
* Revision 1.4  2004/05/07 07:23:53  jpm
328
* Amélioration du code, des commentaires et correction de bogues.
332
* Amélioration du code, des commentaires et correction de bogues.
329
*
333
*
330
* Revision 1.3  2004/05/04 16:27:55  jpm
334
* Revision 1.3  2004/05/04 16:27:55  jpm
331
* Amélioration gestion du déplacement des menus.
335
* Amélioration gestion du déplacement des menus.
332
*
336
*
333
* Revision 1.2  2004/05/03 14:51:59  jpm
337
* Revision 1.2  2004/05/03 14:51:59  jpm
334
* Normalisation du nom d'une fonction et ajout de la gestion d'une erreur.
338
* Normalisation du nom d'une fonction et ajout de la gestion d'une erreur.
335
*
339
*
336
* Revision 1.1  2004/04/30 16:21:30  jpm
340
* Revision 1.1  2004/04/30 16:21:30  jpm
337
* Ajout de la rédaction de contenu.
341
* Ajout de la rédaction de contenu.
338
*
342
*
339
*
343
*
340
* +-- Fin du code ----------------------------------------------------------------------------------------+
344
* +-- Fin du code ----------------------------------------------------------------------------------------+
341
*/
345
*/
342
?>
346
?>
343
347