Subversion Repositories Applications.papyrus

Rev

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

Rev 1366 Rev 1730
Line 30... Line 30...
30
 
30
 
31
// Le fait que vous puissiez accéder à cet en-tête signifie que vous avez 
31
// Le fait que vous puissiez accéder à cet en-tête signifie que vous avez 
32
// pris connaissance de la licence CeCILL, et que vous en avez accepté les
32
// pris connaissance de la licence CeCILL, et que vous en avez accepté les
33
// termes.
33
// termes.
34
// ----
34
// ----
35
// CVS : $Id: pap_rendu.inc.php,v 1.40 2007-04-20 14:08:24 neiluj Exp $
35
// CVS : $Id: pap_rendu.inc.php,v 1.41 2007-11-27 14:02:55 alexandre_tb Exp $
36
/**
36
/**
37
* Rendu : programme traitant l'url demandée et retournant la page compressé au navigateur.
37
* Rendu : programme traitant l'url demandée et retournant la page compressé au navigateur.
38
*
38
*
39
* Ce programme contient la partie collectant les informations sur la page demandée par le navigateur client.
39
* Ce programme contient la partie collectant les informations sur la page demandée par le navigateur client.
Line 46... Line 46...
46
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
46
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
47
//Autres auteurs :
47
//Autres auteurs :
48
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
48
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
49
*@author        Laurent COUDOUNEAU <laurent.coudouneau@ema.fr>
49
*@author        Laurent COUDOUNEAU <laurent.coudouneau@ema.fr>
50
*@copyright     Tela-Botanica 2000-2004
50
*@copyright     Tela-Botanica 2000-2004
51
*@version       $Revision: 1.40 $ $Date: 2007-04-20 14:08:24 $
51
*@version       $Revision: 1.41 $ $Date: 2007-11-27 14:02:55 $
52
// +------------------------------------------------------------------------------------------------------+
52
// +------------------------------------------------------------------------------------------------------+
53
*/
53
*/
Line 54... Line 54...
54
 
54
 
Line 215... Line 215...
215
	}
215
	}
216
}
216
}
217
else {
217
else {
218
	$GLOBALS['_PAPYRUS_']['page']['titre']='';
218
	$GLOBALS['_PAPYRUS_']['page']['titre']='';
219
}	
219
}	
220
 
-
 
221
 
-
 
222
$GLOBALS['_PAPYRUS_']['rendu']['TITRE_PAGE'] = $GLOBALS['_PAPYRUS_']['page']['titre'];
220
$GLOBALS['_PAPYRUS_']['rendu']['TITRE_PAGE'] = $GLOBALS['_PAPYRUS_']['page']['titre'];
Line 223... Line 221...
223
 
221
 
224
// Construction des infos sur le site
222
// Construction des infos sur le site
225
$GLOBALS['_PAPYRUS_']['page']['nom_site'] = htmlentities($GLOBALS['_GEN_commun'][$type_site]->gs_nom);
223
$GLOBALS['_PAPYRUS_']['page']['nom_site'] = htmlentities($GLOBALS['_GEN_commun'][$type_site]->gs_nom);
226
$GLOBALS['_PAPYRUS_']['rendu']['SITE_NOM'] = $GLOBALS['_PAPYRUS_']['page']['nom_site'];
224
$GLOBALS['_PAPYRUS_']['rendu']['SITE_NOM'] = $GLOBALS['_PAPYRUS_']['page']['nom_site'];
227
$GLOBALS['_PAPYRUS_']['page']['langue_site'] = htmlentities($GLOBALS['_GEN_commun']['i18n']);
225
$GLOBALS['_PAPYRUS_']['page']['langue_site'] = htmlentities($GLOBALS['_GEN_commun']['i18n']);
228
$GLOBALS['_PAPYRUS_']['rendu']['SITE_LANGUE'] = $GLOBALS['_PAPYRUS_']['page']['langue_site'];
226
$GLOBALS['_PAPYRUS_']['rendu']['SITE_LANGUE'] = $GLOBALS['_PAPYRUS_']['page']['langue_site'];
229
$GLOBALS['_PAPYRUS_']['page']['code_alpha_site'] = htmlentities($GLOBALS['_GEN_commun'][$type_site]->gs_code_alpha);
227
$GLOBALS['_PAPYRUS_']['page']['code_alpha_site'] = htmlentities($GLOBALS['_GEN_commun'][$type_site]->gs_code_alpha);
Line -... Line 228...
-
 
228
$GLOBALS['_PAPYRUS_']['rendu']['SITE_CODE_ALPHA'] = $GLOBALS['_PAPYRUS_']['page']['code_alpha_site'];
-
 
229
 
-
 
230
// Construction des infos sur le menu pour générer les balises
-
 
231
$GLOBALS['_PAPYRUS_']['rendu']['MENU_ID'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_id_menu);
-
 
232
$GLOBALS['_PAPYRUS_']['rendu']['MENU_CODE_ALPHA'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_code_alpha);
230
$GLOBALS['_PAPYRUS_']['rendu']['SITE_CODE_ALPHA'] = $GLOBALS['_PAPYRUS_']['page']['code_alpha_site'];
233
$GLOBALS['_PAPYRUS_']['rendu']['MENU_CODE_NUM'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_code_num);
231
 
234
 
232
//Construction des infos sur le contexte d'affichage de la page
235
//Construction des infos sur le contexte d'affichage de la page
233
$une_url = new Net_URL();
236
$une_url = new Net_URL();
234
$une_url->addQueryString("site",$GLOBALS['_GEN_commun']['url_site']);
237
$une_url->addQueryString("site",$GLOBALS['_GEN_commun']['url_site']);
Line 524... Line 527...
524
$GLOBALS['_GEN_commun']['sortie'] = $GLOBALS['_PAPYRUS_']['general']['contenu_squelette'];
527
$GLOBALS['_GEN_commun']['sortie'] = $GLOBALS['_PAPYRUS_']['general']['contenu_squelette'];
Line 525... Line 528...
525
 
528
 
526
/* +--Fin du code ---------------------------------------------------------------------------------------+
529
/* +--Fin du code ---------------------------------------------------------------------------------------+
527
*
530
*
-
 
531
* $Log: not supported by cvs2svn $
-
 
532
* Revision 1.40.4.1  2007-11-27 14:01:10  alexandre_tb
-
 
533
* Ajout de balise Papyrus concernant le menu.
-
 
534
*
-
 
535
* Revision 1.40  2007/04/20 14:08:24  neiluj
-
 
536
* correction bug
528
* $Log: not supported by cvs2svn $
537
*
529
* Revision 1.39  2007/04/19 16:54:52  ddelon
538
* Revision 1.39  2007/04/19 16:54:52  ddelon
530
* backport mulitlinguisme
539
* backport mulitlinguisme
531
*
540
*
532
* Revision 1.38  2007/04/19 15:34:35  neiluj
541
* Revision 1.38  2007/04/19 15:34:35  neiluj