print
[auf_bulletin.git] / tpl / article.html
CommitLineData
314c311a 1<CONTENT VERSION="1.0" LANG="fr" CHARSET="utf-8"/>
2
3<USE MACROFILE="macros_base.html" />
4<USE MACROFILE="macros_site.html" />
5<USE MACROFILE="macros_meta.html" />
6
7<!--[ Afficher le texte intégral ? ]-->
8<IF COND="[#DATEPUBLI] LE today() OR [#LODELUSER.RIGHTS] GE 5">
9 <LET VAR="texte_accessible">true</LET>
10</IF>
11
12<!--[ Filtre media activé ? ]-->
13<LET VAR="filtremedia"><?php echo (int) C::get('filtremedia', 'cfg'); ?></LET>
14
15<!--[ Dimensions des images et des média (largeur calculée d'un P.texte ) ]-->
16<LET VAR="mediasize">480</LET>
17<LET VAR="imagesize">[#MEDIASIZE]</LET>
18<IF COND="[#OPTIONS.METADONNEESSITE.IMAGEHABILLEE] AND [#IMAGEHABILLEE]">
19 <LET VAR="imagesize">180</LET>
20 <LET VAR="textclass">habillage</LET>
21</IF>
22
23<!--[ Liste d'ID : article courant et ses traductions ]-->
24<LET ARRAY="relations_article_courant[]" GLOBAL="1">[%ID]</LET>
25
26<MACRO NAME="OUVRIR_HTML" />
27<MACRO NAME="INSERER_METADONNEES_ARTICLE" />
28<MACRO NAME="INSERER_SYNDICATION" />
29<MACRO NAME="INSERER_FEUILLE_DE_STYLES" />
30<link rel="stylesheet" type="text/css" href="js/fancybox/jquery.fancybox-1.3.1.css" media="screen" />
31<link rel="stylesheet" type="text/css" href="css/image.css" media="screen" />
32<MACRO NAME="PRELUDE" />
33
34 <div id="docHeader">
35
36 <!--[ Titre ]-->
37 <h1 id="docTitle">
38 <span class="text">
39 <IF COND="[#TEXTE_ACCESSIBLE]">
40 [#TITRE|cleanCallNotes]
41 <ELSE/>
42 [#TITRE|removenotes]
43 </IF>
44 </span>
45 </h1>
46
47 <!--[ Sous-titre ]-->
48 <IF COND="[#SOUSTITRE]">
49 <div id="docSubtitle">
50 <IF COND="[#TEXTE_ACCESSIBLE]">
51 [#SOUSTITRE|cleanCallNotes]
52 <ELSE/>
53 [#SOUSTITRE|removenotes]
54 </IF>
55 </div>
56 </IF>
57
58 <!--[ Titres alternatifs ]-->
59 <IF COND="[#ALTERTITRE]">
60 <div id="docAltertitle">
61 <IF COND="[#TEXTE_ACCESSIBLE]">
62 [#ALTERTITRE|cleanCallNotes|replace('r2r:ml', 'div')]
63 <ELSE/>
64 [#ALTERTITRE|removenotes|replace('r2r:ml', 'div')]
65 </IF>
66 </div>
67 </IF>
68
69 <!--[ Auteurs ]-->
70 <FUNC NAME="LISTER_PERSONNES" TYPE="auteur" WRAP_ID="docAuthor" />
71
72 <!--[ Traducteurs ]-->
73 <FUNC NAME="LISTER_PERSONNES" TYPE="traducteur" WRAP_ID="docTranslator" PREPEND="TRADUCTEUR] " />
74
75 <!--[ Pagination ]-->
76 <IF COND="[#PAGINATION]">
77 <div id="docPagination">
78 p. [#PAGINATION]
79 </div>
80 </IF>
81
82 <!--[ Notice bibliographique oeuvre commentée ]-->
83 <IF COND="[#NOTICEBIBLIOOEUVRE]">
84 <div id="docReference">
85 <strong><br />R&eacute;f&eacute;rence de l'oeuvre:</strong>
86 <br />[#NOTICEBIBLIOOEUVRE|cleanCallNotes]
87 </div>
88 </IF>
89
90 <!--[ Traductions ]-->
91 <IF COND="[%RELATIONS_TRADUCTION] AND [#TYPE] NE 'informations' AND [#TYPE] NE 'actualite'">
92 <LOOP NAME="articleTraductions"
93 SELECT="id, titre, langue, IF(id IN (SELECT id2 FROM relations WHERE nature = 'traduction'), 1, 0) AS original"
94 TABLE="textes, relations"
95 WHERE="(id2 = [#ID] AND id1 = textes.identity)
96 OR (id1 = [#ID] AND id2 = textes.identity)
97 OR (id2 = (SELECT id2 FROM relations WHERE id1 = [#ID] AND nature = 'traduction' LIMIT 1)) AND id1 != [#ID] AND id1 = textes.identity"
98 WHERE="nature = 'traduction'"
99 ORDER="original DESC">
100
101 <BEFORE><dl id="docTranslations"></BEFORE>
102 <DO>
103 <LET ARRAY="relations_article_courant[]" GLOBAL="1">[#ID]</LET>
104 <IF COND="[#COUNT] EQ 1">
105 <IF COND="[#ORIGINAL]">
106 <LET VAR="has_original" GLOBAL="1">true</LET>
107 <dt>ARTICLE TRADUCTION DE</dt>
108 <ELSE/>
109 <dt>ARTICLE TRADUCTIONS</dt>
110 </IF>
111 <ELSEIF COND="[#COUNT] EQ 2 AND [%HAS_ORIGINAL]"/>
112 <dt>ARTICLE TRADUCTIONS AUTRES</dt>
113 </IF>
114 <dd class="title<IF COND="[#LANGUE] EQ [#SITELANG]"> sitelang</IF><IF COND="![#ORIGINAL]"> traduction</IF>">
115 <a href="[#ID|makeurlwithid]">[#TITRE]</a>
116 </dd>
117 </DO>
118 <AFTER></dl></AFTER>
119 </LOOP>
120 </IF>
121 </div><!-- #docHeader -->
752f5dfe 122
123 <div>
124 <script>var pfHeaderImgUrl = '';var pfHeaderTagline = '';var pfdisableClickToDel = 0;var pfBtVersion='1';(function(){var js, pf;pf = document.createElement('script');pf.type = 'text/javascript';if('https:' == document.location.protocol){js='https://pf-cdn.printfriendly.com/ssl/main.js'}else{js='http://cdn.printfriendly.com/printfriendly.js'}pf.src=js;document.getElementsByTagName('head')[0].appendChild(pf)})();</script><a href="http://www.printfriendly.com" style="color:#6D9F00;text-decoration:none;" class="printfriendly" onclick="window.print();return false;" title="Printer Friendly and PDF"><img style="border:none;" src="http://cdn.printfriendly.com/button-print-gry20.png" alt="Print Friendly and PDF"/></a>
125 </div>
314c311a 126
127 <div id="docBody">
128
129 <!--[ Raccourcis ]-->
130 <IF COND="[#TYPE] NE 'informations' AND [#TYPE] NE 'actualite'">
131 <div id="shortcuts">
132 <IF COND="[#RESUME]"><a href="#abstract">RESUME</a>&nbsp;| </IF>
133 <LOOP NAME="hasEntries" TABLE="relations, entries, entrytypes" SELECT="COUNT(entries.id)" WHERE="nature = 'E' AND id1 = [#ID] AND id2 = entries.id AND class != 'indexavances'">
134 <IF COND="[#NBRESULTATS] GT 0">
135 <LET VAR="hasentries" GLOBAL="1">1</LET>
136 <a href="#entries">INDEX</a>&nbsp;|&#32;
137 </IF>
138 </LOOP>
139 <IF COND="[#TEXTE] AND [#TEXTE_ACCESSIBLE]">
140 <LOOP NAME="toc" TEXT="[#TEXTE]">
141 <AFTER><a href="#toc">PLAN</a>&nbsp;| </AFTER>
142 </LOOP>
143 </IF>
144 <IF COND="[#ERRATUM]"><a href="#errata">ERRATA</a>&nbsp;| </IF>
145 <IF COND="[#NDLR]"><a href="#ndlr">NDLR</a>&nbsp;| </IF>
146 <IF COND="[#NDLA]"><a href="#ndla">NDLA</a>&nbsp;| </IF>
147 <IF COND="[#HISTORIQUE]"><a href="#history">HISTORIQUE</a>&nbsp;| </IF>
148 <IF COND="[#TEXTE_ACCESSIBLE]">
149 <IF COND="[#TEXTE] OR [#ALTERFICHIER]"><a href="#text">TEXTE</a>&nbsp;| </IF>
150 <IF COND="[#BIBLIOGRAPHIE]"><a href="#bibliography">BIBLIOGRAPHIE</a>&nbsp;| </IF>
151 <IF COND="[#ANNEXE]"><a href="#annexe">ANNEXE</a>&nbsp;| </IF>
152 <LOOP NAME="hasDocannexe" SELECT="COUNT(id)" TABLE="entities" WHERE="idparent = [#ID] AND type LIKE '%annexe'">
153 <IF COND="[#NBRESULTS]">
154 <LET VAR="hasdocannexes" GLOBAL="1">1</LET>
155 <a href="#annexes">DOC ANNEXES</a>&nbsp;|&#32;
156 </IF>
157 </LOOP>
158 <IF COND="[#NOTESBASPAGE]"><a href="#notes">NOTES</a>&nbsp;| </IF>
159 <IF COND="[#NOTEFIN]"><a href="#note">NOTEFIN</a>&nbsp;| </IF>
160 <ELSEIF COND="[#TEXTE]"/>
161 <a href="#text">TEXTE EXTRAIT</a>&nbsp;|&#32;
162 </IF>
163 <a href="#quotation">CITATION</a>
164 <LOOP NAME="hasAuthors" TABLE="auteurs" SELECT="COUNT(idperson)" WHERE="iddocument = [#ID] AND type = 'auteur'">
165 <IF COND="[#NBRESULTS]">
166 <LET VAR="hasauthors" GLOBAL="1">1</LET>
167 &nbsp;| <a href="#authors"><IF COND="[#NBRESULTS] GT 1">AUTEURS<ELSE/>AUTEUR</IF></a>
168 </IF>
169 </LOOP>
170 <!--&nbsp;| <a href="/pdf.php?id=[#ID]">TELECHARGER LE PDF</a>-->
171 </div>
172 <ELSE/>
173 <LOOP NAME="hasDocannexe2" SELECT="COUNT(id)" TABLE="entities" WHERE="idparent = [#ID] AND type LIKE '%annexe'">
174 <IF COND="[#NBRESULTS]">
175 <LET VAR="hasdocannexes" GLOBAL="1">1</LET>
176 </IF>
177 </LOOP>
178 </IF>
179
180
181 <!--[ Résumés ]-->
182 <IF COND="[#RESUME]">
183 <div id="abstract" class="section">
184 <h2 class="section">
185 <span class="text"><IF COND="[#RESUME|substr_count('<r2r:ml')] GT 1">RESUMES<ELSE/>RESUME</IF></span>
186 </h2>
187 <FUNC NAME="ML_ONGLETS" TAB_TEXTE="[#RESUME]" TAB_ID="abstract" />
188 <MACRO NAME="BOUTON_HAUT_DE_PAGE" />
189 </div><!-- #abstract -->
190 </IF>
191
192 <!--[ Entrées d'index]-->
193 <IF COND="[%HASENTRIES]">
194 <LOOP NAME="docEntriesTypes" TABLE="relations, entries, entrytypes" SELECT="DISTINCT(idtype), title, altertitle" WHERE="id1 = '[#ID]' AND id2 = entries.id AND entries.idtype = entrytypes.id AND entrytypes.class = 'indexes'" ORDER="entrytypes.rank">
195 <BEFORE>
196 <div id="entries" class="section">
197 <h2 class="section">
198 <span class="text">ENTREES INDEX</span>
199 </h2>
200 </BEFORE>
201 <DO>
202 <LOOP NAME="docEntries" TABLE="entries" SELECT="id, g_name" WHERE="idtype = '[#IDTYPE]' AND iddocument = '[#ID]'" ORDER="rank">
203 <BEFORE>
204 <div class="index">
205 <h3>
206 <FUNC NAME="ML_TITLE" />&#160;:
207 </h3>
208 </BEFORE>
209 <DOFIRST><a href="[#ID|makeurlwithid]">[#G_NAME]</a></DOFIRST>
210 <DO>, <a href="[#ID|makeurlwithid]">[#G_NAME]</a></DO>
211 <AFTER>
212 </div>
213 </AFTER>
214 </LOOP>
215 </DO>
216 <AFTER>
217 <MACRO NAME="BOUTON_HAUT_DE_PAGE" />
218 </div><!-- #entries -->
219 </AFTER>
220 </LOOP>
221 </IF>
222
223 <!--[ TOC ]-->
224 <IF COND="[#TEXTE] AND [#TEXTE_ACCESSIBLE]">
225 <LOOP NAME="toc" TEXT="[#TEXTE]">
226 <BEFORE>
227 <div id="toc" class="section">
228 <h2 class="section">
229 <span class="text">Plan</span>
230 </h2>
231 </BEFORE>
232 <DO>
233 <div class="tocSection[#NIVEAU]">
234 <a href="#tocto[#TOCID]" id="tocfrom[#TOCID]">[#TITRE|removenotes]</a>
235 </div>
236 </DO>
237 <AFTER>
238 <MACRO NAME="BOUTON_HAUT_DE_PAGE" />
239 </div><!-- #toc -->
240 </AFTER>
241 </LOOP>
242 </IF>
243
244 <IF COND="[#ADDENDUM] OR [#DEDICACE] OR [#EPIGRAPHE] OR [#NDLR] OR [#NDLA] OR [#HISTORIQUE]">
245
246 <div id="docAddendum" class="section">
247
248 <!--[ Errata ]-->
249 <IF COND="[#ADDENDUM]">
250 <div id="errata">
251 <h2 class="section">
252 <span class="text">ERRATA</span>
253 </h2>
254 [#ADDENDUM|cleanCallNotes|tocss]
255 </div>
256 </IF>
257
258 <!--[ Dédicace ]-->
259 <IF COND="[#DEDICACE]">
260 <div id="dedication">
261 <h2 class="section">
262 <span class="text">DEDICACE</span>
263 </h2>
264 [#DEDICACE|cleanCallNotes|tocss]
265 </div>
266 </IF>
267
268 <!--[ Épigraphe ]-->
269 <IF COND="[#EPIGRAPHE]">
270 <div id="epigraph">
271 <h2 class="section">
272 <span class="text">EPIGRAPHE</span>
273 </h2>
274 [#EPIGRAPHE|cleanCallNotes|tocss]
275 </div>
276 </IF>
277
278 <!--[ NDLR ]-->
279 <IF COND="[#NDLR]">
280 <div id="ndlr">
281 <h2 class="section">
282 <span class="text">NDLR]</span>
283 </h2>
284 [#NDLR|cleanCallNotes|tocss]
285 </div>
286 </IF>
287
288 <!--[ NDLA ]-->
289 <IF COND="[#NDLA]">
290 <div id="ndla">
291 <h2 class="section">
292 <span class="text">NDLA]</span>
293 </h2>
294 [#NDLA|cleanCallNotes|tocss]
295 </div>
296 </IF>
297
298 <!--[ Historique ]-->
299 <IF COND="[#HISTORIQUE]">
300 <div id="history">
301 <h2 class="section">
302 <span class="text">HISTORIQUE]</span>
303 </h2>
304 [#HISTORIQUE|cleanCallNotes|tocss]
305 </div>
306 </IF>
307
308 </div><!-- #docAddendum -->
309
310 </IF>
311
312 <!--[ Texte ]-->
313 <IF COND="[#TEXTE] OR [#ALTERFICHIER]">
314
315 <div id="text" class="section<IF COND="![#TEXTE_ACCESSIBLE]"> excerpt</IF>">
316
317 <!--[ Titre section ]-->
318 <IF COND="[#TYPE] NE 'informations' AND [#TYPE] NE 'actualite'">
319 <h2 class="section">
320 <span class="text"><IF COND="[#TEXTE_ACCESSIBLE]">Texte int&eacute;gral<ELSE/>Texte extrait</IF></span>
321 </h2>
322 </IF>
323
324 <!--[ Widgets ]-->
325 <IF COND="([#TEXTE] AND [#TEXTE_ACCESSIBLE]) AND ([#TYPE] NE 'informations' AND [#TYPE] NE 'actualite')">
326 <div id="widgets" class="withTextSize">
327 <IF COND="[#OPTIONS.METADONNEESSITE.PDF]">
328 <LET VAR="type_pdf">pdf</LET>
329 <LET VAR="info_pdf">PDF</LET>
330 <IF COND="[#ALTERFICHIER]">
331 <?php
332 $context['filesize'] = @filesize($context['alterfichier']);
333 if(!file_exists('./docannexe/file/'.$context['id'].'/pdf_cover_page.pdf'))
334 @file_get_contents('./pdf/'.$context['id']);
335 $context['filesize'] += @filesize('./docannexe/file/'.$context['id'].'/pdf_cover_page.pdf') + 20000;
336 ?>
337 <IF COND="![#OPTIONS.METADONNEESSITE.PDF_ELECTRONIQUE]"><LET VAR="type_pdf">facsimile</LET></IF>
338 <LET VAR="info_pdf">PDF [#FILESIZE|nicefilesize]</LET>
339 </IF>
340 <a id="wDownload" href="./pdf/[#ID]" title="TELECHARGER_PDF]" class="[#TYPE_PDF]">
341 <span class="fileinfo">[#INFO_PDF]</span>
342 </a>&#32;
343 <ELSEIF COND="[#ALTERFICHIER]"/>
344 <a id="wDownload" href="[#ID|makeurlwithfile]" title="TELECHARGER_PDF]" class="facsimile">
345 <span class="fileinfo">PDF [#ALTERFICHIER|nicefilesize]</span>
346 </a>&#32;
347 </IF>
348 <ELSE/>
349 <div id="widgets">
350 </IF>
351 </div><!-- #widgets -->
352
353 <!--[ Avertissement texte différé ]-->
354 <IF COND="[#DATEPUBLI] GT today()">
355 <div id="textDeferred">
356 <p>
357 <strong<IF COND="[#LODELUSER.RIGHTS] GE 10"> class="alert"</IF>>
358 <IF COND="[#LODELUSER.RIGHTS] EQ 5">
359 AVERTISSEMENT_TEXTE_INTEGRAL_LIBRE_ACCES
360 <ELSE/>
361 AVERTISSEMENT_TEXTE_INTEGRAL
362 </IF> [#DATEPUBLI|formateddate('%B %Y')].
363 </strong>
364 </p>
365 </div><!-- #textDeferred -->
366 </IF>
367
368 <IF COND="[#TEXTE_ACCESSIBLE]">
369
370 <IF COND="[#TEXTE]">
371
372 <!--[ Bloc redimensionnable ]-->
373 <div class="text wResizable [#TEXTCLASS]">
374
375 <!--[ Image d'accroche ]-->
376 <LOOP NAME="docAccroche" TABLE="fichiers" WHERE="type = 'imageaccroche' AND idparent = [#ID]" ORDER="rank" LIMIT="0,1">
377 <IF COND="[#VIGNETTE]">
378 <LET VAR="accroche">[#VIGNETTE|vignette(200)]</LET>
379 <ELSE/>
380 <LET VAR="accroche">[#DOCUMENT|vignette(200)]</LET>
381 </IF>
382 <div id="docImage">
383 <a href="[#ID|makeurlwithid]">
384 <img alt="[#TITRE|textebrut]" src="[#ACCROCHE|trim]" [#ACCROCHE|sizeattributs] />AFFICHER_ACCROCHE]
385 </a>
386 <IF COND="[#CREDITS]">
387 <br />CREDITS]&#160;: [#CREDITS]
388 </IF>
389 </div>
390 </LOOP>
391
392 <!--[ Texte intégral ]-->
393 <IF COND="[#FILTREMEDIA]">
394 <IF COND="[#TYPE] NE 'informations' AND [#TYPE] NE 'actualite'">
395 [#TEXTE|tocable|paranumber('texte')]
396 <ELSE/>
397 [#TEXTE|tocable|paranumber('texte')]
398 </IF>
399 <ELSE/>
400 <IF COND="[#TYPE] NE 'informations' AND [#TYPE] NE 'actualite'">
401 [#TEXTE|tocable|paranumber('texte')]
402 <ELSE/>
403 [#TEXTE|tocable|paranumber('texte')]
404 </IF>
405 </IF>
406
407 </div><!-- .text wResizable -->
408
409 <ELSEIF COND="[#ALTERFICHIER]" />
410 <div class="text facsimile">
411 <IF COND="[#OPTIONS.METADONNEESSITE.PDF]">
412 <a href="./pdf/[#ID]" title="[#TITRE|removenotes|textebrut|htmlspecialchars(ENT_COMPAT, 'UTF-8')]">
413 <ELSE/>
414 <a href="[#ID|makeurlwithfile]" title="[#TITRE|removenotes|textebrut|htmlspecialchars(ENT_COMPAT, 'UTF-8')]">
415 </IF>
416 t&eacute;l&eacute;charger
417 </a> | <span class="fileinfo">PDF&#160;&#8211; [#ALTERFICHIER|nicefilesize]</span>
418 </div><!-- .text facsimile -->
419
420 </IF>
421
422 <ELSEIF COND="[#TEXTE]"/>
423
424 <!--[ Plan + aperçu du texte intégral ]-->
425
426 <LOOP NAME="toc" TEXT="[#TEXTE]">
427 <BEFORE>
428 <div id="toc">
429 <h3 class="section">
430 <span class="text">Plan</span>
431 </h3>
432 </BEFORE>
433 <DO>
434 <div class="tocSection[#NIVEAU]">
435 [#TITRE|removenotes]
436 </div>
437 </DO>
438 <AFTER>
439 </div><!-- #toc -->
440 </AFTER>
441 </LOOP>
442
443 <h3 class="section">
444 <span class="text">TEXTE_APERCU]</span>
445 </h3>
446 <div class="text">
447 <IF COND="[#FILTREMEDIA]">
448 [#TEXTE|removenotes|restoreTableMargin|tocable|tocss('heading')|zoom([#MEDIASIZE], [#IMAGESIZE])|embedMedia([#MEDIASIZE])|cuttext(1000, true)]
449 <ELSE/>
450 [#TEXTE|removenotes|restoreTableMargin|tocable|tocss('heading')|zoom([#MEDIASIZE], [#IMAGESIZE])|cuttext(1000, true)]
451 </IF>
452 </div><!-- .text -->
453
454 </IF>
455
456 <IF COND="[#TYPE] NE 'informations' AND [#TYPE] NE 'actualite'">
457 <MACRO NAME="BOUTON_HAUT_DE_PAGE" />
458 </IF>
459
460 </div><!-- #text -->
461
462 <IF COND="[#TEXTE_ACCESSIBLE]">
463
464 <!--[ Bibliographie ]-->
465 <IF COND="[#BIBLIOGRAPHIE]">
466 <div id="bibliography" class="section">
467 <h2 class="section">
468 <span class="text">BIBLIOGRAPHIE</span>
469 </h2>
470 <div class="text">
471 [#BIBLIOGRAPHIE|cleanCallNotes|tocss]
472 </div>
473 <MACRO NAME="BOUTON_HAUT_DE_PAGE" />
474 </div><!-- #bibliography -->
475 </IF>
476
477 <!--[ Annexe ]-->
478 <IF COND="[#ANNEXE]">
479 <div id="annexe" class="section">
480 <h2 class="section">
481 <span class="text">ANNEXE]</span>
482 </h2>
483 <div class="text">
484 <!--[ Pas d'images en habillage dans les annexes ]-->
485 <LET VAR="imagehabillee">0</LET>
486 <IF COND="[#FILTREMEDIA]">
487 [#ANNEXE|cleanCallNotes|restoreTableMargin|tocss|zoom([#MEDIASIZE])|embedMedia([#MEDIASIZE])]
488 <ELSE/>
489 [#ANNEXE|cleanCallNotes|restoreTableMargin|tocss|zoom([#MEDIASIZE])]
490 </IF>
491 </div>
492 <MACRO NAME="BOUTON_HAUT_DE_PAGE" />
493 </div><!-- #annexe -->
494 </IF>
495
496 <!--[ Documents annexes ]-->
497 <IF COND="[%HASDOCANNEXES]">
498 <FUNC NAME="AFFICHER_DOCUMENTS_ANNEXES" WRAP_ID="annexes" WRAP_CLASS="section" />
499 </IF>
500
501 <!--[ Notes]-->
502 <IF COND="[#NOTESBASPAGE]">
503 <div id="notes" class="section">
504 <h2 class="section">
505 <span class="text">Notes</span>
506 </h2>
507 [#NOTESBASPAGE]
508 <MACRO NAME="BOUTON_HAUT_DE_PAGE" />
509 </div><!-- #notes -->
510 </IF>
511
512 <!--[ Note de fin]-->
513 <IF COND="[#NOTEFIN]">
514 <div id="note" class="section">
515 <h2 class="section">
516 <span class="text">NOTEFIN]</span>
517 </h2>
518 [#NOTEFIN]
519 <MACRO NAME="BOUTON_HAUT_DE_PAGE" />
520 </div><!-- #note -->
521 </IF>
522
523 </IF>
524
525 </IF>
526
527 <IF COND="[#TYPE] NE 'informations' AND [#TYPE] NE 'actualite'">
528
529 <!--[ Table des illustrations ]-->
530 <IF COND="[#TEXTE_ACCESSIBLE]">
531 <LOOP NAME="foreach" ARRAY="[#IMAGES]">
532 <BEFORE>
533 <div id="illustrations" class="section">
534 <h2 class="section">
535 <span class="text">TABLE_DES_ILLUSTRATIONS]</span>
536 </h2>
537 <table id="docImages">
538 </BEFORE>
539 <DO>
540 <LET VAR="rowspan">3</LET>
541 <IF COND="[#VALUE.TITRE]"><LET VAR="rowspan">[#ROWSPAN|lmath('+', 1)]</LET></IF>
542 <IF COND="[#VALUE.LEGENDE]"><LET VAR="rowspan">[#ROWSPAN|lmath('+', 1)]</LET></IF>
543 <IF COND="[#VALUE.CREDITS]"><LET VAR="rowspan">[#ROWSPAN|lmath('+', 1)]</LET></IF>
544 <tbody>
545 <tr class="image">
546 <th colspan="2" rowspan="[#ROWSPAN]"><img alt="" src="[#KEY|vignette(64)]" /></th>
547 </tr>
548 <IF COND="[#VALUE.TITRE]">
549 <tr class="titre">
550 <th scope="row">ILLUSTRATION_TITRE]</th>
551 <td>[#VALUE.TITRE]</td>
552 </tr>
553 </IF>
554 <IF COND="[#VALUE.LEGENDE]">
555 <tr class="legende">
556 <th scope="row">ILLUSTRATION_LEGENDE]</th>
557 <td>[#VALUE.LEGENDE]</td>
558 </tr>
559 </IF>
560 <IF COND="[#VALUE.CREDITS]">
561 <tr class="credits">
562 <th scope="row">ILLUSTRATION_CREDITS]</th>
563 <td>[#VALUE.CREDITS]</td>
564 </tr>
565 </IF>
566 <tr class="source">
567 <LET VAR="source">[#SITEINFOS.URL]/[#KEY|htmlspecialchars(ENT_COMPAT, 'UTF-8')]</LET>
568 <th scope="row"><abbr title="Uniform Resource Locator" lang="en" xml:lang="en">URL</abbr></th>
569 <td><a href="[#KEY|htmlspecialchars(ENT_COMPAT, 'UTF-8')]">[#SOURCE|breakslashes]</a></td>
570 </tr>
571 <tr class="info">
572 <th scope="row">ILLUSTRATION_FICHIER]</th>
573 <td>image/[#VALUE.MIME], [#VALUE.POIDS]</td>
574 </tr>
575 </tbody>
576 </DO>
577 <AFTER>
578 </table>
579 <MACRO NAME="BOUTON_HAUT_DE_PAGE" />
580 </div><!-- #illustrations -->
581 </AFTER>
582 </LOOP>
583 </IF>
584
585 <!--[ Pour citer ]-->
586 <div id="quotation" class="section">
587 <h2 class="section">
588 <span class="text">Pour citer</span>
589 </h2>
590 <IF COND="[#NOTICEBIBLIO]">
591 <h3>
592 REFERENCE PAPIER
593 </h3>
594 <p>
595 [#NOTICEBIBLIO]
596 </p>
597 </IF>
598 <p>
599 <FUNC NAME="LISTER_PERSONNES" TYPE="auteur" APPEND=", " />[#TITRE|removenotes] <br /><FUNC NAME="PARU_DANS" /><br />Mise en ligne le: [#DATEPUBLI|humandate], consult&eacute; le: <?php echo strftime('%d %B %Y');?>
600 </p>
601 <MACRO NAME="BOUTON_HAUT_DE_PAGE" />
602 </div><!-- #quotation -->
603
604 <!--[ Auteurs ]-->
605 <IF COND="[%HASAUTHORS]">
606 <LOOP NAME="getPersonsOrdered" SELECT="persons.id" TABLE="relations, persons" WHERE="id1 = '[%ID]' AND id2 = persons.id AND nature = 'G' AND type = 'auteur'" ORDER="degree">
607 <BEFORE>
608 <div id="authors" class="section">
609 <h2 class="section">
610 <span class="text"><IF COND="[#NBRESULTATS] GT 1">Auteurs<ELSE/>Auteur</IF></span>
611 </h2>
612 </BEFORE>
613 <DO>
614 <LOOP NAME="authors" SELECT="idperson,nomfamille,prenom,description" TABLE="auteurs" WHERE="id = '[#ID]' AND iddocument='[%ID]'">
615 <h3>
616 <a href="[#IDPERSON|makeurlwithid]">[#PRENOM] <span class="familyName">[#NOMFAMILLE]</span></a>
617 </h3>
618 <IF COND="[#DESCRIPTION]">
619 <IF COND="false SNE [#DESCRIPTION|strpos('<p')]">
620 [#DESCRIPTION]
621 <ELSE/>
622 <p class="description">
623 [#DESCRIPTION]
624 </p>
625 </IF>
626 </IF>
627 <LET VAR="limit">6</LET>
628 <LOOP NAME="byThisAuthor"
629 SELECT="id,datepubli,langue,LEFT(texte,1) AS texte,LEFT(alterfichier,1) AS alterfichier,documentcliquable,titre,soustitre"
630 TABLE="textes"
631 WHERE="idperson = '[#IDPERSON]' AND type NOT IN ('informations', 'actualite') AND id NOT IN ([%RELATIONS_ARTICLE_COURANT|join(',')])"
632 ORDER="datepubli DESC"
633 LIMIT="[#LIMIT|lmath('+', 1)]">
634 <BEFORE>
635 <h4>
636 Du m&ecirc;me auteur
637 </h4>
638 <ul class="documents">
639 </BEFORE>
640 <DO>
641 <IF COND="[#COUNT] LE [#LIMIT]">
642 <li>
643 <MACRO NAME="AFFICHER_LIGNE_DOCUMENT" />
644 <div class="in">
645 Paru dans <FUNC NAME="PARU_DANS" />
646 </div>
647 </li>
648 </IF>
649 </DO>
650 <AFTER>
651 <IF COND="[#NBRESULTS] GT [#LIMIT]">
652 <li>
653 <a class="more" href="[#IDPERSON|makeurlwithid]">Tous les textes</a>
654 </li>
655 </IF>
656 </ul>
657 </AFTER>
658 </LOOP>
659 </LOOP>
660 </DO>
661 <AFTER>
662 <MACRO NAME="BOUTON_HAUT_DE_PAGE" />
663 </div><!-- #authors -->
664 </AFTER>
665 </LOOP>
666 </IF>
667
668 <!--[ Licence ]-->
669 <LOOP NAME="license" SELECT="indexavances.*" TABLE="relations, indexavances" WHERE="id1 = [#ID] AND id2 = indexavances.identry AND nature = 'E'">
670 <BEFORE>
671 <div id="license" class="section">
672 <h2 class="section">
673 <span class="text">LICENCE]</span>
674 </h2>
675 </BEFORE>
676 <DO>
677 <IF COND="[#DESCRIPTION]">
678 <h3>
679 [#NOM]
680 </h3>
681 <IF COND="[#ICONE]">
682 <IF COND="[#URL]">
683 <a href="[#URL|htmlspecialchars(ENT_COMPAT, 'UTF-8')]">
684 <img id="licenseIcon" alt="[#NOM|textebrut|htmlspecialchars(ENT_COMPAT, 'UTF-8')]" src="[#ICONE]" [#ICONE|sizeattributs] />
685 </a>
686 <ELSE/>
687 <img id="licenseIcon" alt="[#NOM|textebrut|htmlspecialchars(ENT_COMPAT, 'UTF-8')]" src="[#ICONE]" [#ICONE|sizeattributs] />
688 </IF>
689 </IF>
690 [#DESCRIPTION]
691 <ELSE/>
692 <p>
693 [#NOM]
694 </p>
695 </IF>
696 </DO>
697 <AFTER>
698 <MACRO NAME="BOUTON_HAUT_DE_PAGE" />
699 </div><!-- #license -->
700 </AFTER>
701 <ALTERNATIVE>
702 <IF COND="[#OPTIONS.METADONNEESSITE.DROITSAUTEUR]">
703 <div id="license" class="section">
704 <h2 class="section">
705 <span class="text">LICENCE]</span>
706 </h2>
707 <p>
708 [#OPTIONS.METADONNEESSITE.DROITSAUTEUR]
709 </p>
710 <MACRO NAME="BOUTON_HAUT_DE_PAGE" />
711 </div><!-- #license -->
712 </IF>
713 </ALTERNATIVE>
714 </LOOP>
715
716 </IF>
717
718 <IF COND="[#TYPE] NE 'informations' AND [#TYPE] NE 'actualite'">
719
720 <!--[ Le texte contient plus de 10 images : indicateur de chargement ]-->
721 <LET VAR="imagecount">[#IMAGES|count]</LET>
722 <IF COND="[#OPTIONS.METADONNEESSITE.IMAGEHABILLEE] AND [#IMAGEHABILLEE] AND [#IMAGECOUNT] GT 10">
723 <div id="loading">
724 ZOOM CHARGEMENT
725 <p><small>ZOOMIMAGE_CHARGEMENT_IMAGES|sprintf([#IMAGECOUNT])]</small></p>
726 <!-- ZOOMIMAGE_CHARGEMENT_IMAGES] --><!--[ Force la génération de la variable ]-->
727 </div>
728 </IF>
729
730 </IF>
731
732 </div><!-- #docBody -->
733
734
735<MACRO NAME="CONCLUSION" />
736<MACRO NAME="INSERER_JAVASCRIPT" />
737<!--[
738Les autres scripts sont appelés depuis un template
739pour avoir accès aux traductions Lodel. ]-->
740<USE TEMPLATEFILE="article.js" />
741<MACRO NAME="FERMER_HTML" />