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_rendu.inc.php,v 1.9 2004-12-06 19:39:40 jpm Exp $
|
22 |
// CVS : $Id: pap_rendu.inc.php,v 1.10 2005-01-26 16:20:46 jpm Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Rendu : programme traitant l'url demandée et retournant la page compressé au navigateur.
|
24 |
* Rendu : programme traitant l'url demandée et retournant la page compressé au navigateur.
|
25 |
*
|
25 |
*
|
26 |
* Ce programme contient la partie collectant les informations sur la page demandée par le navigateur client.
|
26 |
* Ce programme contient la partie collectant les informations sur la page demandée par le navigateur client.
|
27 |
* Elle vérifie que la page ne soit pas déjà présente en cache et la renvoie si elle est disponible.
|
27 |
* Elle vérifie que la page ne soit pas déjà présente en cache et la renvoie si elle est disponible.
|
Line 33... |
Line 33... |
33 |
*@author Laurent COUDOUNEAU <laurent.coudouneau@ema.fr>
|
33 |
*@author Laurent COUDOUNEAU <laurent.coudouneau@ema.fr>
|
34 |
//Autres auteurs :
|
34 |
//Autres auteurs :
|
35 |
*@author Alexandre GRANIER <alexadandre@tela-botanica.org>
|
35 |
*@author Alexandre GRANIER <alexadandre@tela-botanica.org>
|
36 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
36 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
37 |
*@copyright Tela-Botanica 2000-2004
|
37 |
*@copyright Tela-Botanica 2000-2004
|
38 |
*@version $Revision: 1.9 $ $Date: 2004-12-06 19:39:40 $
|
38 |
*@version $Revision: 1.10 $ $Date: 2005-01-26 16:20:46 $
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
*/
|
40 |
*/
|
Line 41... |
Line 41... |
41 |
|
41 |
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
Line 137... |
Line 137... |
137 |
|
137 |
|
138 |
// Construction des Meta "name".
|
138 |
// Construction des Meta "name".
|
139 |
$_GEN_commun['meta_name'] = array();
|
139 |
$_GEN_commun['meta_name'] = array();
|
140 |
$GLOBALS['_PAPYRUS_']['page']['robot'] = htmlentities($_GEN_commun['info_menu']->gm_robot);
|
140 |
$GLOBALS['_PAPYRUS_']['page']['robot'] = htmlentities($_GEN_commun['info_menu']->gm_robot);
|
141 |
$GLOBALS['_PAPYRUS_']['page']['auteur'] = htmlentities($_GEN_commun['info_menu']->gm_auteur);
|
141 |
$GLOBALS['_PAPYRUS_']['page']['auteur'] = htmlentities($_GEN_commun['info_menu']->gm_auteur);
|
142 |
if (empty($pap_auteur)) {
|
142 |
if (empty($GLOBALS['_PAPYRUS_']['page']['auteur'])) {
|
143 |
$GLOBALS['_PAPYRUS_']['page']['auteur'] = htmlentities($_GEN_commun['info_site']->gs_auteur);
|
143 |
$GLOBALS['_PAPYRUS_']['page']['auteur'] = htmlentities($_GEN_commun['info_site']->gs_auteur);
|
144 |
}
|
144 |
}
|
145 |
$GLOBALS['_PAPYRUS_']['page']['mots_cles'] = htmlentities($_GEN_commun['info_menu']->gm_mots_cles);
|
145 |
$GLOBALS['_PAPYRUS_']['page']['mots_cles'] = htmlentities($_GEN_commun['info_menu']->gm_mots_cles);
|
146 |
if (empty($GLOBALS['_PAPYRUS_']['page']['mots_cles'])) {
|
146 |
if (empty($GLOBALS['_PAPYRUS_']['page']['mots_cles'])) {
|
147 |
$GLOBALS['_PAPYRUS_']['page']['auteur'] = htmlentities($_GEN_commun['info_site']->gs_mots_cles);
|
147 |
$GLOBALS['_PAPYRUS_']['page']['mots_cles'] = htmlentities($_GEN_commun['info_site']->gs_mots_cles);
|
148 |
}
|
148 |
}
|
149 |
$GLOBALS['_PAPYRUS_']['page']['description_libre'] = htmlentities($_GEN_commun['info_menu']->gm_description_libre);
|
149 |
$GLOBALS['_PAPYRUS_']['page']['description_libre'] = htmlentities($_GEN_commun['info_menu']->gm_description_libre);
|
150 |
if (empty($pap_description_libre)) {
|
150 |
if (empty($GLOBALS['_PAPYRUS_']['page']['description_libre'])) {
|
151 |
$GLOBALS['_PAPYRUS_']['page']['description_libre'] = htmlentities($_GEN_commun['info_site']->gs_description);
|
151 |
$GLOBALS['_PAPYRUS_']['page']['description_libre'] = htmlentities($_GEN_commun['info_site']->gs_description);
|
152 |
}
|
152 |
}
|
153 |
GEN_stockerMetaName('revisit-after', '15 days');
|
153 |
GEN_stockerMetaName('revisit-after', '15 days');
|
154 |
GEN_stockerMetaName('robots', $GLOBALS['_PAPYRUS_']['page']['robot']);
|
154 |
GEN_stockerMetaName('robots', $GLOBALS['_PAPYRUS_']['page']['robot']);
|
Line 366... |
Line 366... |
366 |
$_GEN_commun['sortie'] = $GLOBALS['_PAPYRUS_']['general']['contenu_squelette'];
|
366 |
$_GEN_commun['sortie'] = $GLOBALS['_PAPYRUS_']['general']['contenu_squelette'];
|
Line 367... |
Line 367... |
367 |
|
367 |
|
368 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
368 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
369 |
*
|
369 |
*
|
- |
|
370 |
* $Log: not supported by cvs2svn $
|
- |
|
371 |
* Revision 1.9 2004/12/06 19:39:40 jpm
|
- |
|
372 |
* Correction langue DC.
|
370 |
* $Log: not supported by cvs2svn $
|
373 |
*
|
371 |
* Revision 1.8 2004/11/26 19:02:07 jpm
|
374 |
* Revision 1.8 2004/11/26 19:02:07 jpm
|
372 |
* Comptabilisation du nombre d'appel de chaque applette dans le squelette.
|
375 |
* Comptabilisation du nombre d'appel de chaque applette dans le squelette.
|
373 |
*
|
376 |
*
|
374 |
* Revision 1.7 2004/11/24 18:33:29 jpm
|
377 |
* Revision 1.7 2004/11/24 18:33:29 jpm
|