Subversion Repositories Applications.papyrus

Rev

Rev 433 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 433 Rev 434
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.3                                                                                      |
4
// | PHP version 4.3                                                                                      |
5
// +------------------------------------------------------------------------------------------------------+
5
// +------------------------------------------------------------------------------------------------------+
6
// | Copyright (C) 2005 Tela Botanica (accueil@tela-botanica.org)                                         |
6
// | Copyright (C) 2005 Tela Botanica (accueil@tela-botanica.org)                                         |
7
// +------------------------------------------------------------------------------------------------------+
7
// +------------------------------------------------------------------------------------------------------+
8
// | This file is part of Integrateur Wikini.                                                             |
8
// | This file is part of Integrateur Wikini.                                                             |
9
// |                                                                                                      |
9
// |                                                                                                      |
10
// | Foobar is free software; you can redistribute it and/or modify                                       |
10
// | Foobar is free software; you can redistribute it and/or modify                                       |
11
// | it under the terms of the GNU General Public License as published by                                 |
11
// | it under the terms of the GNU General Public License as published by                                 |
12
// | the Free Software Foundation; either version 2 of the License, or                                    |
12
// | the Free Software Foundation; either version 2 of the License, or                                    |
13
// | (at your option) any later version.                                                                  |
13
// | (at your option) any later version.                                                                  |
14
// |                                                                                                      |
14
// |                                                                                                      |
15
// | Foobar is distributed in the hope that it will be useful,                                            |
15
// | Foobar is distributed in the hope that it will be useful,                                            |
16
// | but WITHOUT ANY WARRANTY; without even the implied warranty of                                       |
16
// | but WITHOUT ANY WARRANTY; without even the implied warranty of                                       |
17
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                                        |
17
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                                        |
18
// | GNU General Public License for more details.                                                         |
18
// | GNU General Public License for more details.                                                         |
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: iw_affichage_xhtml.fonct.php,v 1.1 2005-08-18 10:20:08 ddelon Exp $
24
// CVS : $Id: iw_affichage_xhtml.fonct.php,v 1.2 2005-08-25 08:59:12 ddelon Exp $
25
/**
25
/**
26
* Fichier permettant d'inclure les données dans du XHTML.
26
* Fichier permettant d'inclure les données dans du XHTML.
27
*
27
*
28
* Fichier contenant des fonctions retournant du XHTML une fois les données passées en paramêtre incluse à l 'intérieur.
28
* Fichier contenant des fonctions retournant du XHTML une fois les données passées en paramêtre incluse à l 'intérieur.
29
*
29
*
30
*@package IntegrateurWikini
30
*@package IntegrateurWikini
31
*@subpackage Fonctions
31
*@subpackage Fonctions
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-2005
36
*@copyright     Tela-Botanica 2000-2005
37
*@version       $Revision: 1.1 $ $Date: 2005-08-18 10:20:08 $
37
*@version       $Revision: 1.2 $ $Date: 2005-08-25 08:59:12 $
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
*/
39
*/
40
 
40
 
41
// +------------------------------------------------------------------------------------------------------+
41
// +------------------------------------------------------------------------------------------------------+
42
// |                                            ENTETE du PROGRAMME                                       |
42
// |                                            ENTETE du PROGRAMME                                       |
43
// +------------------------------------------------------------------------------------------------------+
43
// +------------------------------------------------------------------------------------------------------+
44
 
44
 
45
 
45
 
46
// +------------------------------------------------------------------------------------------------------+
46
// +------------------------------------------------------------------------------------------------------+
47
// |                                           LISTE de FONCTIONS                                         |
47
// |                                           LISTE de FONCTIONS                                         |
48
// +------------------------------------------------------------------------------------------------------+
48
// +------------------------------------------------------------------------------------------------------+
49
/**
49
/**
50
* Fonction inclusion_html() - Gestion des inclusions XHTML dans le code PHP.
50
* Fonction inclusion_html() - Gestion des inclusions XHTML dans le code PHP.
51
*
51
*
52
* Cette fonction retourne du XHTML à insérer dans le code PHP.
52
* Cette fonction retourne du XHTML à insérer dans le code PHP.
53
*
53
*
54
* @param string le type d'inclusion de XHTML à retourner.
54
* @param string le type d'inclusion de XHTML à retourner.
55
* @param array le tableau des paramêtre à inclure dans le XHTML à retourner.
55
* @param array le tableau des paramêtre à inclure dans le XHTML à retourner.
56
* @return string contient du XHTML à insérer dans le code PHP.
56
* @return string contient du XHTML à insérer dans le code PHP.
57
*/
57
*/
58
function inclusion_html($type_inclusion, $variable = array()){
58
function inclusion_html($type_inclusion, $variable = array()){
59
    $html_renvoyer = '';
59
    $html_renvoyer = '';
60
    
60
    
61
    switch ($type_inclusion){
61
    switch ($type_inclusion){
62
        // +------------------------------------------------------------------------------------------------------+
62
        // +------------------------------------------------------------------------------------------------------+
63
        // LES TITRES
63
        // LES TITRES
64
        // +------------------------------------------------------------------------------------------------------+
64
        // +------------------------------------------------------------------------------------------------------+
65
        // LES TEXTES
65
        // LES TEXTES
66
        // +------------------------------------------------------------------------------------------------------+
66
        // +------------------------------------------------------------------------------------------------------+
67
        // LES PIEDS DE PAGES
67
        // LES PIEDS DE PAGES
68
        case "pied_page" :
68
        case "pied_page" :
69
            $html_renvoyer = 
-
 
70
                '<p class="eflore_pied_page">'.
-
 
71
                'Si vous constatez des problèmes ou des insuffisances en utilisant cette application, veuillez contacter :'.
-
 
72
                '<a href="mailto:jpm@tela-botanica.org">Jean-Pascal MILCENT</a>'.
-
 
73
                '</p>';
-
 
74
            break;
69
            break;
75
    }//fin du switch
70
    }//fin du switch
76
    
71
    
77
    return remplacerEntiteHTLM($html_renvoyer);
72
    return remplacerEntiteHTLM($html_renvoyer);
78
}//fin fonction inclusion_html
73
}//fin fonction inclusion_html
79
 
74
 
80
/* +--Fin du code ----------------------------------------------------------------------------------------+
75
/* +--Fin du code ----------------------------------------------------------------------------------------+
81
*
76
*
82
* $Log: not supported by cvs2svn $
77
* $Log: not supported by cvs2svn $
-
 
78
* Revision 1.1  2005/08/18 10:20:08  ddelon
-
 
79
* Integrateur Wikini et Acces PEAR
-
 
80
*
83
*
81
*
84
* +-- Fin du code ----------------------------------------------------------------------------------------+
82
* +-- Fin du code ----------------------------------------------------------------------------------------+
85
*/
83
*/
86
?>
84
?>