| 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.38 2007-04-19 15:34:35 neiluj Exp $
|
35 |
// CVS : $Id: pap_rendu.inc.php,v 1.39 2007-04-19 16:54:52 ddelon 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.38 $ $Date: 2007-04-19 15:34:35 $
|
51 |
*@version $Revision: 1.39 $ $Date: 2007-04-19 16:54:52 $
|
| 52 |
// +------------------------------------------------------------------------------------------------------+
|
52 |
// +------------------------------------------------------------------------------------------------------+
|
| 53 |
*/
|
53 |
*/
|
| Line 54... |
Line 54... |
| 54 |
|
54 |
|
| Line 117... |
Line 117... |
| 117 |
for ($i = 0; $i < count($tab_fichier_squelette); $i++) {
|
117 |
for ($i = 0; $i < count($tab_fichier_squelette); $i++) {
|
| 118 |
$contenu_squelette .= $tab_fichier_squelette[$i];
|
118 |
$contenu_squelette .= $tab_fichier_squelette[$i];
|
| 119 |
}
|
119 |
}
|
| 120 |
*/
|
120 |
*/
|
| 121 |
// Lecture du fichier de squelette XHTML en PHP 4.3
|
121 |
// Lecture du fichier de squelette XHTML en PHP 4.3
|
| - |
|
122 |
|
| - |
|
123 |
|
| - |
|
124 |
|
| - |
|
125 |
|
| - |
|
126 |
// +------------------------------------------------------------------------------------------------------+
|
| - |
|
127 |
// Gestion des traductions
|
| - |
|
128 |
|
| - |
|
129 |
// Si le r<E9>sultat de la n<E9>gociation de l'internationalisation donne une langue diff<E9>rente
|
| - |
|
130 |
// de celle du site principal, nous r<E9>cup<E9>rons les <E9>ventuelles valeurs traduite pour le site.
|
| - |
|
131 |
|
| - |
|
132 |
|
| - |
|
133 |
$id_langue = $GLOBALS['_GEN_commun']['i18n'];
|
| - |
|
134 |
|
| - |
|
135 |
if (isset($id_langue) && ($id_langue!='')) {
|
| - |
|
136 |
$langue_test=$id_langue;
|
| - |
|
137 |
} else {
|
| - |
|
138 |
$langue_test=GEN_I18N_ID_DEFAUT;
|
| - |
|
139 |
}
|
| - |
|
140 |
|
| - |
|
141 |
$requete = 'SELECT * '.
|
| - |
|
142 |
'FROM gen_site '.
|
| - |
|
143 |
'WHERE gs_ce_i18n = "'.$langue_test.'" '.
|
| - |
|
144 |
// 'WHERE gs_ce_i18n = "'.$_GEN_commun['i18n'].'" '.
|
| - |
|
145 |
'AND gs_code_num = "'.$GLOBALS['_GEN_commun']['info_site']->gs_code_num.'"';
|
| - |
|
146 |
$resultat = $db->query($requete);
|
| - |
|
147 |
(DB::isError($resultat)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : '';
|
| - |
|
148 |
|
| - |
|
149 |
// Nous cr<E9><E9>ons l'entr<E9>e 'traduction_info_site' dans _GEN_commun que si nous avons bien trouv<E9> une
|
| - |
|
150 |
// traduction pour le site. Il faut donc tester l'existence de cette entr<E9>e avant de l'utiliser.
|
| - |
|
151 |
|
| - |
|
152 |
|
| - |
|
153 |
if ($resultat->numRows() > 0) {
|
| - |
|
154 |
$GLOBALS['_GEN_commun']['traduction_info_site'] = $resultat->fetchRow(DB_FETCHMODE_OBJECT);
|
| - |
|
155 |
}
|
| - |
|
156 |
$resultat->free();
|
| - |
|
157 |
|
| - |
|
158 |
// Si le r<E9>sultat de la n<E9>gociation de l'internationalisation donne une langue diff<E9>rente
|
| - |
|
159 |
// de celle du menu, nous r<E9>cup<E9>rons les <E9>ventuelles valeurs traduite pour le menu.
|
| - |
|
160 |
|
| - |
|
161 |
// R<E9>cup<E9>ration des informations sur la traduction du menu
|
| - |
|
162 |
$requete = 'SELECT * '.
|
| - |
|
163 |
'FROM gen_menu '.
|
| - |
|
164 |
'WHERE gm_ce_i18n = "'.$langue_test.'" '.
|
| - |
|
165 |
// 'WHERE gm_ce_i18n = "'.$_GEN_commun['i18n'].'" '.
|
| - |
|
166 |
'AND gm_code_num = "'.$GLOBALS['_GEN_commun']['info_menu']->gm_code_num.'"';
|
| - |
|
167 |
|
| - |
|
168 |
$resultat = $db->query($requete);
|
| - |
|
169 |
(DB::isError($resultat)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : '';
|
| - |
|
170 |
|
| - |
|
171 |
// Nous cr<E9><E9>ons l'entr<E9>e 'traduction_info_menu' dans _GEN_commun que si nous avons bien trouv<E9> une
|
| - |
|
172 |
// traduction pour le menu. Il faut donc tester l'existence de cette entr<E9>e avant de l'utiliser.
|
| - |
|
173 |
if ($resultat->numRows() > 0) {
|
| - |
|
174 |
$_GEN_commun['traduction_info_menu'] = $resultat->fetchRow(DB_FETCHMODE_OBJECT);
|
| - |
|
175 |
}
|
| - |
|
176 |
$resultat->free();
|
| - |
|
177 |
|
| - |
|
178 |
|
| - |
|
179 |
if (isset($GLOBALS['_GEN_commun']['traduction_info_site'])) {
|
| - |
|
180 |
$type_site='traduction_info_site';
|
| - |
|
181 |
}
|
| - |
|
182 |
else {
|
| - |
|
183 |
$type_site='info_site';
|
| - |
|
184 |
}
|
| - |
|
185 |
|
| - |
|
186 |
if (isset($GLOBALS['_GEN_commun']['traduction_info_menu'])) {
|
| - |
|
187 |
$type_menu='traduction_info_menu';
|
| - |
|
188 |
}
|
| - |
|
189 |
else {
|
| - |
|
190 |
$type_menu='info_menu';
|
| - |
|
191 |
}
|
| - |
|
192 |
|
| - |
|
193 |
|
| 122 |
$GLOBALS['_PAPYRUS_']['general']['contenu_squelette'] = file_get_contents($GLOBALS['_PAPYRUS_']['general']['chemin_squelette']);
|
194 |
$GLOBALS['_PAPYRUS_']['general']['contenu_squelette'] = file_get_contents($GLOBALS['_PAPYRUS_']['general']['chemin_squelette']);
|
| Line 123... |
Line 195... |
| 123 |
|
195 |
|
| 124 |
// +------------------------------------------------------------------------------------------------------+
|
196 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 125... |
Line 197... |
| 125 |
// Recherche des informations pour la complétion de l'entête du squelette de la page demandée.
|
197 |
// Recherche des informations pour la complétion de l'entête du squelette de la page demandée.
|
| 126 |
|
198 |
|
| 127 |
if (isset($GLOBALS['_GEN_commun']['info_menu'])) {
|
199 |
if (isset($GLOBALS['_GEN_commun'][$type_menu])) {
|
| 128 |
// Construction du titre.
|
200 |
// Construction du titre.
|
| 129 |
if (! empty($GLOBALS['_GEN_commun']['info_menu']->gm_titre)) {
|
201 |
if (! empty($GLOBALS['_GEN_commun'][$type_menu]->gm_titre)) {
|
| 130 |
$GLOBALS['_PAPYRUS_']['page']['titre'] = htmlentities($GLOBALS['_GEN_commun']['info_menu']->gm_titre);
|
202 |
$GLOBALS['_PAPYRUS_']['page']['titre'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_titre);
|
| 131 |
} else if (! empty($GLOBALS['_GEN_commun']['info_menu']->gm_titre_alternatif)) {
|
203 |
} else if (! empty($GLOBALS['_GEN_commun']['info_menu']->gm_titre_alternatif)) {
|
| 132 |
$GLOBALS['_PAPYRUS_']['page']['titre'] = htmlentities($GLOBALS['_GEN_commun']['info_menu']->gm_titre_alternatif);
|
204 |
$GLOBALS['_PAPYRUS_']['page']['titre'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_titre_alternatif);
|
| 133 |
} else {
|
205 |
} else {
|
| 134 |
$GLOBALS['_PAPYRUS_']['page']['titre'] = htmlentities($GLOBALS['_GEN_commun']['info_menu']->gm_nom);
|
- |
|
| 135 |
}
|
206 |
$GLOBALS['_PAPYRUS_']['page']['titre'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_nom);
|
| 136 |
|
207 |
}
|
| 137 |
}
|
208 |
}
|
| 138 |
else {
|
209 |
else {
|
| Line 139... |
Line 210... |
| 139 |
$GLOBALS['_PAPYRUS_']['page']['titre']='';
|
210 |
$GLOBALS['_PAPYRUS_']['page']['titre']='';
|
| Line 140... |
Line 211... |
| 140 |
}
|
211 |
}
|
| 141 |
|
212 |
|
| 142 |
|
213 |
|
| 143 |
$GLOBALS['_PAPYRUS_']['rendu']['TITRE_PAGE'] = $GLOBALS['_PAPYRUS_']['page']['titre'];
|
214 |
$GLOBALS['_PAPYRUS_']['rendu']['TITRE_PAGE'] = $GLOBALS['_PAPYRUS_']['page']['titre'];
|
| 144 |
|
215 |
|
| 145 |
// Construction des infos sur le site
|
216 |
// Construction des infos sur le site
|
| 146 |
$GLOBALS['_PAPYRUS_']['page']['nom_site'] = htmlentities($GLOBALS['_GEN_commun']['info_site']->gs_nom);
|
217 |
$GLOBALS['_PAPYRUS_']['page']['nom_site'] = htmlentities($GLOBALS['_GEN_commun'][$type_site]->gs_nom);
|
| Line 147... |
Line 218... |
| 147 |
$GLOBALS['_PAPYRUS_']['rendu']['SITE_NOM'] = $GLOBALS['_PAPYRUS_']['page']['nom_site'];
|
218 |
$GLOBALS['_PAPYRUS_']['rendu']['SITE_NOM'] = $GLOBALS['_PAPYRUS_']['page']['nom_site'];
|
| 148 |
$GLOBALS['_PAPYRUS_']['page']['langue_site'] = htmlentities($GLOBALS['_GEN_commun']['i18n']);
|
219 |
$GLOBALS['_PAPYRUS_']['page']['langue_site'] = htmlentities($GLOBALS['_GEN_commun']['i18n']);
|
| 149 |
$GLOBALS['_PAPYRUS_']['rendu']['SITE_LANGUE'] = $GLOBALS['_PAPYRUS_']['page']['langue_site'];
|
220 |
$GLOBALS['_PAPYRUS_']['rendu']['SITE_LANGUE'] = $GLOBALS['_PAPYRUS_']['page']['langue_site'];
|
| 150 |
$GLOBALS['_PAPYRUS_']['page']['code_alpha_site'] = htmlentities($GLOBALS['_GEN_commun']['info_site']->gs_code_alpha);
|
221 |
$GLOBALS['_PAPYRUS_']['page']['code_alpha_site'] = htmlentities($GLOBALS['_GEN_commun'][$type_site]->gs_code_alpha);
|
| 151 |
$GLOBALS['_PAPYRUS_']['rendu']['SITE_CODE_ALPHA'] = $GLOBALS['_PAPYRUS_']['page']['code_alpha_site'];
|
222 |
$GLOBALS['_PAPYRUS_']['rendu']['SITE_CODE_ALPHA'] = $GLOBALS['_PAPYRUS_']['page']['code_alpha_site'];
|
| Line 152... |
Line 223... |
| 152 |
|
223 |
|
| 153 |
//Construction des infos sur le contexte d'affichage de la page
|
224 |
//Construction des infos sur le contexte d'affichage de la page
|
| 154 |
$une_url = new Net_URL();
|
225 |
$une_url = new Net_URL();
|
| 155 |
$une_url->addQueryString("site",$_GEN_commun['url_site']);
|
226 |
$une_url->addQueryString("site",$GLOBALS['_GEN_commun']['url_site']);
|
| 156 |
$une_url->removeQueryString("langue");
|
227 |
$une_url->removeQueryString("langue");
|
| 157 |
$GLOBALS['_PAPYRUS_']['rendu']['PAGE_URL'] = $une_url->getUrl();
|
228 |
$GLOBALS['_PAPYRUS_']['rendu']['PAGE_URL'] = $une_url->getUrl();
|
| 158 |
|
229 |
|
| 159 |
|
230 |
|
| 160 |
// Construction des Meta "http-equiv".
|
231 |
// Construction des Meta "http-equiv".
|
| 161 |
$_GEN_commun['meta_http_equiv'] = array();
|
232 |
$_GEN_commun['meta_http_equiv'] = array();
|
| Line 162... |
Line 233... |
| 162 |
$GLOBALS['_PAPYRUS_']['page']['jeu_de_caracteres'] = htmlentities(strtoupper($_GEN_commun['info_i18n']->gi_jeu_de_caracteres));
|
233 |
$GLOBALS['_PAPYRUS_']['page']['jeu_de_caracteres'] = htmlentities(strtoupper($_GEN_commun['info_i18n']->gi_jeu_de_caracteres));
|
| 163 |
$GLOBALS['_PAPYRUS_']['rendu']['SITE_JEU_DE_CARACTERES'] = $GLOBALS['_PAPYRUS_']['page']['jeu_de_caracteres'];
|
234 |
$GLOBALS['_PAPYRUS_']['rendu']['SITE_JEU_DE_CARACTERES'] = $GLOBALS['_PAPYRUS_']['page']['jeu_de_caracteres'];
|
| 164 |
$GLOBALS['_PAPYRUS_']['page']['langue'] = htmlentities($_GEN_commun['info_i18n_langue']->gil_id_langue);
|
235 |
$GLOBALS['_PAPYRUS_']['page']['langue'] = htmlentities($GLOBALS['_GEN_commun']['info_i18n_langue']->gil_id_langue);
|
| 165 |
$GLOBALS['_PAPYRUS_']['rendu']['SITE_LANGUE'] = $GLOBALS['_PAPYRUS_']['page']['langue'];
|
236 |
$GLOBALS['_PAPYRUS_']['rendu']['SITE_LANGUE'] = $GLOBALS['_PAPYRUS_']['page']['langue'];
|
| 166 |
GEN_stockerMetaHttpEquiv('Content-Type', 'text/html; charset='.$GLOBALS['_PAPYRUS_']['page']['jeu_de_caracteres']);
|
237 |
GEN_stockerMetaHttpEquiv('Content-Type', 'text/html; charset='.$GLOBALS['_PAPYRUS_']['page']['jeu_de_caracteres']);
|
| 167 |
GEN_stockerMetaHttpEquiv('Content-style-type', 'text/css');
|
238 |
GEN_stockerMetaHttpEquiv('Content-style-type', 'text/css');
|
| 168 |
GEN_stockerMetaHttpEquiv('Content-script-type', 'text/javascript');
|
239 |
GEN_stockerMetaHttpEquiv('Content-script-type', 'text/javascript');
|
| 169 |
GEN_stockerMetaHttpEquiv('Content-language', $GLOBALS['_PAPYRUS_']['page']['langue']);
|
240 |
GEN_stockerMetaHttpEquiv('Content-language', $GLOBALS['_PAPYRUS_']['page']['langue']);
|
| 170 |
|
241 |
|
| 171 |
// Construction des Meta "name".
|
242 |
// Construction des Meta "name".
|
| Line 172... |
Line 243... |
| 172 |
$_GEN_commun['meta_name'] = array();
|
243 |
$GLOBALS['_GEN_commun']['meta_name'] = array();
|
| 173 |
if (isset($GLOBALS['_GEN_commun']['info_menu'])) {
|
244 |
if (isset($GLOBALS['_GEN_commun'][$type_menu])) {
|
| 174 |
$GLOBALS['_PAPYRUS_']['page']['robot'] = htmlentities($_GEN_commun['info_menu']->gm_robot);
|
245 |
$GLOBALS['_PAPYRUS_']['page']['robot'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_robot);
|
| 175 |
$GLOBALS['_PAPYRUS_']['page']['auteur'] = htmlentities($_GEN_commun['info_menu']->gm_auteur);
|
246 |
$GLOBALS['_PAPYRUS_']['page']['auteur'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_auteur);
|
| 176 |
}
|
247 |
}
|
| 177 |
else {
|
248 |
else {
|
| 178 |
$GLOBALS['_PAPYRUS_']['page']['robot'] = '';
|
249 |
$GLOBALS['_PAPYRUS_']['page']['robot'] = '';
|
| 179 |
$GLOBALS['_PAPYRUS_']['page']['auteur'] = '';
|
250 |
$GLOBALS['_PAPYRUS_']['page']['auteur'] = '';
|
| 180 |
}
|
251 |
}
|
| 181 |
|
252 |
|
| 182 |
if (empty($GLOBALS['_PAPYRUS_']['page']['auteur'])) {
|
253 |
if (empty($GLOBALS['_PAPYRUS_']['page']['auteur'])) {
|
| 183 |
$GLOBALS['_PAPYRUS_']['page']['auteur'] = htmlentities($_GEN_commun['info_site']->gs_auteur);
|
254 |
$GLOBALS['_PAPYRUS_']['page']['auteur'] = htmlentities($GLOBALS['_GEN_commun'][$type_site]->gs_auteur);
|
| 184 |
}
|
255 |
}
|
| 185 |
if (isset($GLOBALS['_GEN_commun']['info_menu'])) {
|
256 |
if (isset($GLOBALS['_GEN_commun']['info_menu'])) {
|
| 186 |
$GLOBALS['_PAPYRUS_']['page']['mots_cles'] = htmlentities($_GEN_commun['info_menu']->gm_mots_cles);
|
257 |
$GLOBALS['_PAPYRUS_']['page']['mots_cles'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_mots_cles);
|
| Line 187... |
Line 258... |
| 187 |
}
|
258 |
}
|
| 188 |
if (empty($GLOBALS['_PAPYRUS_']['page']['mots_cles'])) {
|
259 |
if (empty($GLOBALS['_PAPYRUS_']['page']['mots_cles'])) {
|
| Line 203... |
Line 274... |
| 203 |
GEN_stockerMetaName('description', $GLOBALS['_PAPYRUS_']['page']['description_libre']);
|
274 |
GEN_stockerMetaName('description', $GLOBALS['_PAPYRUS_']['page']['description_libre']);
|
| Line 204... |
Line 275... |
| 204 |
|
275 |
|
| Line 205... |
Line 276... |
| 205 |
// Construction des Meta Meta "name" du Dublin Core.
|
276 |
// Construction des Meta Meta "name" du Dublin Core.
|
| 206 |
|
277 |
|
| 207 |
if (isset($GLOBALS['_GEN_commun']['info_menu'])) {
|
278 |
if (isset($GLOBALS['_GEN_commun']['info_menu'])) {
|
| 208 |
$GLOBALS['_PAPYRUS_']['page']['titre_alternatif'] = htmlentities($_GEN_commun['info_menu']->gm_titre_alternatif);
|
279 |
$GLOBALS['_PAPYRUS_']['page']['titre_alternatif'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_titre_alternatif);
|
| 209 |
$GLOBALS['_PAPYRUS_']['page']['auteur'] = htmlentities($_GEN_commun['info_menu']->gm_auteur);
|
280 |
$GLOBALS['_PAPYRUS_']['page']['auteur'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_auteur);
|
| 210 |
$GLOBALS['_PAPYRUS_']['page']['description_resume'] = htmlentities($_GEN_commun['info_menu']->gm_description_resume);
|
281 |
$GLOBALS['_PAPYRUS_']['page']['description_resume'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_description_resume);
|
| 211 |
$GLOBALS['_PAPYRUS_']['page']['description_table_matieres'] = htmlentities($_GEN_commun['info_menu']->gm_description_table_matieres);
|
282 |
$GLOBALS['_PAPYRUS_']['page']['description_table_matieres'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_description_table_matieres);
|
| 212 |
$GLOBALS['_PAPYRUS_']['page']['publieur'] = htmlentities($_GEN_commun['info_menu']->gm_editeur);
|
283 |
$GLOBALS['_PAPYRUS_']['page']['publieur'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_editeur);
|
| 213 |
$GLOBALS['_PAPYRUS_']['page']['contributeur'] = htmlentities($_GEN_commun['info_menu']->gm_contributeur);
|
284 |
$GLOBALS['_PAPYRUS_']['page']['contributeur'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_contributeur);
|
| 214 |
$GLOBALS['_PAPYRUS_']['page']['date_creation'] = htmlentities($_GEN_commun['info_menu']->gm_date_creation);
|
285 |
$GLOBALS['_PAPYRUS_']['page']['date_creation'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_date_creation);
|
| 215 |
$GLOBALS['_PAPYRUS_']['page']['date_soumission'] = htmlentities($_GEN_commun['info_menu']->gm_date_soumission);
|
286 |
$GLOBALS['_PAPYRUS_']['page']['date_soumission'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_date_soumission);
|
| 216 |
$GLOBALS['_PAPYRUS_']['page']['date_acceptation'] = htmlentities($_GEN_commun['info_menu']->gm_date_acceptation);
|
287 |
$GLOBALS['_PAPYRUS_']['page']['date_acceptation'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_date_acceptation);
|
| 217 |
$GLOBALS['_PAPYRUS_']['page']['periode_validite'] = htmlentities($_GEN_commun['info_menu']->gm_date_debut_validite);
|
288 |
$GLOBALS['_PAPYRUS_']['page']['periode_validite'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_date_debut_validite);
|
| 218 |
$GLOBALS['_PAPYRUS_']['page']['date_copyright'] = htmlentities($_GEN_commun['info_menu']->gm_date_copyright);
|
289 |
$GLOBALS['_PAPYRUS_']['page']['date_copyright'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_date_copyright);
|
| 219 |
$GLOBALS['_PAPYRUS_']['page']['source'] = htmlentities($_GEN_commun['info_menu']->gm_source);
|
290 |
$GLOBALS['_PAPYRUS_']['page']['source'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_source);
|
| 220 |
}
|
291 |
}
|
| 221 |
else {
|
292 |
else {
|
| 222 |
$GLOBALS['_PAPYRUS_']['page']['titre_alternatif'] = '';
|
293 |
$GLOBALS['_PAPYRUS_']['page']['titre_alternatif'] = '';
|
| Line 231... |
Line 302... |
| 231 |
$GLOBALS['_PAPYRUS_']['page']['periode_validite'] = '';
|
302 |
$GLOBALS['_PAPYRUS_']['page']['periode_validite'] = '';
|
| 232 |
$GLOBALS['_PAPYRUS_']['page']['date_copyright'] = '';
|
303 |
$GLOBALS['_PAPYRUS_']['page']['date_copyright'] = '';
|
| 233 |
$GLOBALS['_PAPYRUS_']['page']['source'] = '';
|
304 |
$GLOBALS['_PAPYRUS_']['page']['source'] = '';
|
| 234 |
}
|
305 |
}
|
| Line 235... |
Line 306... |
| 235 |
|
306 |
|
| 236 |
if ((isset($_GEN_commun['info_i18n_pays'])) && ($_GEN_commun['info_i18n_pays']->gip_id_pays != '')) {
|
307 |
if ((isset($GLOBALS['_GEN_commun']['info_i18n_pays'])) && ($GLOBALS['_GEN_commun']['info_i18n_pays']->gip_id_pays != '')) {
|
| 237 |
$GLOBALS['_PAPYRUS_']['page']['langue_rfc_3066'] = $GLOBALS['_PAPYRUS_']['page']['langue'].'-'.htmlentities($_GEN_commun['info_i18n_pays']->gip_id_pays);
|
308 |
$GLOBALS['_PAPYRUS_']['page']['langue_rfc_3066'] = $GLOBALS['_PAPYRUS_']['page']['langue'].'-'.htmlentities($GLOBALS['_GEN_commun']['info_i18n_pays']->gip_id_pays);
|
| 238 |
} else {
|
309 |
} else {
|
| 239 |
$GLOBALS['_PAPYRUS_']['page']['langue_rfc_3066'] = $GLOBALS['_PAPYRUS_']['page']['langue'];
|
310 |
$GLOBALS['_PAPYRUS_']['page']['langue_rfc_3066'] = $GLOBALS['_PAPYRUS_']['page']['langue'];
|
| 240 |
}
|
311 |
}
|
| 241 |
if (isset($GLOBALS['_GEN_commun']['info_menu'])) {
|
312 |
if (isset($GLOBALS['_GEN_commun']['info_menu'])) {
|
| 242 |
$GLOBALS['_PAPYRUS_']['page']['type_portee_spatiale'] = htmlentities($_GEN_commun['info_menu']->gm_ce_type_portee_spatiale);
|
313 |
$GLOBALS['_PAPYRUS_']['page']['type_portee_spatiale'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_ce_type_portee_spatiale);
|
| 243 |
$GLOBALS['_PAPYRUS_']['page']['portee_spatiale'] = htmlentities($_GEN_commun['info_menu']->gm_portee_spatiale);
|
314 |
$GLOBALS['_PAPYRUS_']['page']['portee_spatiale'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_portee_spatiale);
|
| 244 |
$GLOBALS['_PAPYRUS_']['page']['type_portee_temporelle'] = htmlentities($_GEN_commun['info_menu']->gm_ce_type_portee_temporelle);
|
315 |
$GLOBALS['_PAPYRUS_']['page']['type_portee_temporelle'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_ce_type_portee_temporelle);
|
| 245 |
$GLOBALS['_PAPYRUS_']['page']['portee_temporelle'] = htmlentities($_GEN_commun['info_menu']->gm_portee_temporelle);
|
316 |
$GLOBALS['_PAPYRUS_']['page']['portee_temporelle'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_portee_temporelle);
|
| 246 |
$GLOBALS['_PAPYRUS_']['page']['licence'] = htmlentities($_GEN_commun['info_menu']->gm_licence);
|
317 |
$GLOBALS['_PAPYRUS_']['page']['licence'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_licence);
|
| 247 |
$GLOBALS['_PAPYRUS_']['page']['public'] = htmlentities($_GEN_commun['info_menu']->gm_public);
|
318 |
$GLOBALS['_PAPYRUS_']['page']['public'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_public);
|
| 248 |
$GLOBALS['_PAPYRUS_']['page']['public_niveau'] = htmlentities($_GEN_commun['info_menu']->gm_public_niveau);
|
319 |
$GLOBALS['_PAPYRUS_']['page']['public_niveau'] = htmlentities($GLOBALS['_GEN_commun'][$type_menu]->gm_public_niveau);
|
| 249 |
}
|
320 |
}
|
| 250 |
else {
|
321 |
else {
|
| 251 |
$GLOBALS['_PAPYRUS_']['page']['type_portee_spatiale'] = '';
|
322 |
$GLOBALS['_PAPYRUS_']['page']['type_portee_spatiale'] = '';
|
| 252 |
$GLOBALS['_PAPYRUS_']['page']['portee_spatiale'] = '';
|
323 |
$GLOBALS['_PAPYRUS_']['page']['portee_spatiale'] = '';
|
| Line 445... |
Line 516... |
| 445 |
$GLOBALS['_GEN_commun']['sortie'] = $GLOBALS['_PAPYRUS_']['general']['contenu_squelette'];
|
516 |
$GLOBALS['_GEN_commun']['sortie'] = $GLOBALS['_PAPYRUS_']['general']['contenu_squelette'];
|
| Line 446... |
Line 517... |
| 446 |
|
517 |
|
| 447 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
518 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
| 448 |
*
|
519 |
*
|
| - |
|
520 |
* $Log: not supported by cvs2svn $
|
| - |
|
521 |
* Revision 1.38 2007/04/19 15:34:35 neiluj
|
| - |
|
522 |
* préparration release (livraison) "Narmer" - v0.25
|
| 449 |
* $Log: not supported by cvs2svn $
|
523 |
*
|
| 450 |
* Revision 1.37 2007/04/13 09:41:09 neiluj
|
524 |
* Revision 1.37 2007/04/13 09:41:09 neiluj
|
| 451 |
* réparration cvs
|
525 |
* réparration cvs
|
| 452 |
*
|
526 |
*
|
| 453 |
* Revision 1.36 2006/12/13 17:17:41 jp_milcent
|
527 |
* Revision 1.36 2006/12/13 17:17:41 jp_milcent
|