Subversion Repositories Applications.papyrus

Rev

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

Rev 210 Rev 530
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: pap_style.fonct.php,v 1.2 2004-12-06 17:53:32 jpm Exp $
22
// CVS : $Id: pap_style.fonct.php,v 1.3 2005-10-12 17:20:33 ddelon Exp $
23
/**
23
/**
24
* Les fonctions permettant d'inclure des styles CSS.
24
* Les fonctions permettant d'inclure des styles CSS.
25
*
25
*
26
* Ces fonctions permettent d'inclure des CSS directement dans les pages
26
* Ces fonctions permettent d'inclure des CSS directement dans les pages
27
* des applications. Elles peuvent donc être appelées par les applications 
27
* des applications. Elles peuvent donc être appelées par les applications 
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.2 $ $Date: 2004-12-06 17:53:32 $
37
*@version       $Revision: 1.3 $ $Date: 2005-10-12 17:20:33 $
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
*/
39
*/
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
41
// |                                           LISTE de FONCTIONS                                         |
41
// |                                           LISTE de FONCTIONS                                         |
42
// +------------------------------------------------------------------------------------------------------+
42
// +------------------------------------------------------------------------------------------------------+
Line 105... Line 105...
105
        $_GEN_commun['style_externe'][$id_fichier]['rel'] = $rel;
105
        $_GEN_commun['style_externe'][$id_fichier]['rel'] = $rel;
106
        $_GEN_commun['style_externe'][$id_fichier]['type'] = $type;
106
        $_GEN_commun['style_externe'][$id_fichier]['type'] = $type;
107
        $_GEN_commun['style_externe'][$id_fichier]['media'] = $media;
107
        $_GEN_commun['style_externe'][$id_fichier]['media'] = $media;
108
        $_GEN_commun['style_externe'][$id_fichier]['titre'] = $titre;
108
        $_GEN_commun['style_externe'][$id_fichier]['titre'] = $titre;
109
        $_GEN_commun['style_externe'][$id_fichier]['chemin'] = $chemin_fichier;
109
        $_GEN_commun['style_externe'][$id_fichier]['chemin'] = $chemin_fichier;
110
    } else {
-
 
111
        die('ERREUR Papyrus : cet identifiant de fichier à déjà été enregistré par GEN_stockerStyleExterne(). <br />'.
-
 
112
            'Identifiant : '. $id_fichier .'<br />'.
-
 
113
            'Ligne n° : '. __LINE__ .'<br />'.
-
 
114
            'Fichier : '. __FILE__);
-
 
115
    }
110
    } 
116
}
111
}
Line 117... Line 112...
117
 
112
 
118
/** Fonction GEN_afficherStyle() - Permet de renvoyer les styles dans l'entete.
113
/** Fonction GEN_afficherStyle() - Permet de renvoyer les styles dans l'entete.
119
*
114
*
Line 163... Line 158...
163
}
158
}
Line 164... Line 159...
164
 
159
 
165
/* +--Fin du code ----------------------------------------------------------------------------------------+
160
/* +--Fin du code ----------------------------------------------------------------------------------------+
166
*
161
*
-
 
162
* $Log: not supported by cvs2svn $
-
 
163
* Revision 1.2  2004/12/06 17:53:32  jpm
-
 
164
* Correction Génésia en Papyrus.
167
* $Log: not supported by cvs2svn $
165
*
168
* Revision 1.1  2004/06/15 15:14:32  jpm
166
* Revision 1.1  2004/06/15 15:14:32  jpm
169
* Changement de nom et d'arborescence de Genesia en Papyrus.
167
* Changement de nom et d'arborescence de Genesia en Papyrus.
170
*
168
*
171
* Revision 1.3  2004/04/20 15:25:58  jpm
169
* Revision 1.3  2004/04/20 15:25:58  jpm