1 | [(#REM) |
---|
2 | Un cache plus court, pour la boucle syndic_articles |
---|
3 | ]#CACHE{3600} |
---|
4 | <BOUCLE_principale(RUBRIQUES) {id_rubrique}> |
---|
5 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
6 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG" lang="#LANG" dir="#LANG_DIR"> |
---|
7 | <head> |
---|
8 | <title>[(#TITRE|textebrut) - ][(#NOM_SITE_SPIP|textebrut)]</title> |
---|
9 | [<meta name="description" content="(#INTRODUCTION{150}|textebrut)" />] |
---|
10 | [<link rel="canonical" href="(#URL_RUBRIQUE|url_absolue)" />] |
---|
11 | <INCLURE{fond=inclure/head} /> |
---|
12 | [(#REM) Lien vers le flux RSS des articles la rubrique ] |
---|
13 | <link rel="alternate" type="application/rss+xml" title="<:syndiquer_rubrique:>" href="[(#URL_PAGE{backend}|parametre_url{id_rubrique,#ID_RUBRIQUE})]" /> |
---|
14 | </head> |
---|
15 | |
---|
16 | <body class="page_rubrique"> |
---|
17 | <div class="page"> |
---|
18 | |
---|
19 | [(#REM) Entete de la page ] |
---|
20 | <INCLURE{fond=inclure/header} /> |
---|
21 | <INCLURE{fond=inclure/nav,env} /> |
---|
22 | #FORMULAIRE_RECHERCHE |
---|
23 | |
---|
24 | [(#REM) Contenu principal : contenu de la rubrique ] |
---|
25 | <div class="wrapper"> |
---|
26 | <div class="content" id="content"> |
---|
27 | |
---|
28 | [(#REM) Fil d'Ariane ] |
---|
29 | <div class="breadcrumb"><a href="#URL_SITE_SPIP/"><:accueil_site:></a><BOUCLE_ariane(HIERARCHIE){id_rubrique}> > <a href="#URL_RUBRIQUE">[(#TITRE|couper{80})]</a></BOUCLE_ariane>[ > <strong class="on">(#TITRE|couper{80})</strong>]</div> |
---|
30 | |
---|
31 | <div class="cartouche"> |
---|
32 | [(#LOGO_RUBRIQUE|image_reduire{200,200})] |
---|
33 | <h1 class="#EDIT{titre}">#TITRE</h1> |
---|
34 | [<p><small><:dernier_ajout:> : (#DATE|affdate_jourcourt).</small></p>] |
---|
35 | </div> |
---|
36 | |
---|
37 | [<div class="#EDIT{texte} chapo">(#TEXTE)</div>] |
---|
38 | |
---|
39 | [(#REM) Articles de la rubrique ] |
---|
40 | <B_articles> |
---|
41 | <div class="menu articles"> |
---|
42 | #ANCRE_PAGINATION |
---|
43 | <h2><:articles_rubrique:></h2> |
---|
44 | <ul> |
---|
45 | <BOUCLE_articles(ARTICLES) {id_rubrique} {par date}{inverse} {pagination}> |
---|
46 | <li> |
---|
47 | [(#LOGO_ARTICLE{#URL_ARTICLE}|image_reduire{150,100})] |
---|
48 | <h3><a href="#URL_ARTICLE">#TITRE</a></h3> |
---|
49 | <small>[(#DATE|affdate_jourcourt)][, <:par_auteur:> (#LESAUTEURS)]</small> |
---|
50 | </li> |
---|
51 | </BOUCLE_articles> |
---|
52 | </ul> |
---|
53 | [<p class="pagination">(#PAGINATION)</p>] |
---|
54 | </div> |
---|
55 | </B_articles> |
---|
56 | |
---|
57 | [(#REM) Si aucun article, affiche un plan de la rubrique ] |
---|
58 | <B_sous_rubriques> |
---|
59 | <div class="menu rubriques"> |
---|
60 | <h2><:sous_rubriques:></h2> |
---|
61 | <ul> |
---|
62 | <BOUCLE_sous_rubriques(RUBRIQUES) {id_parent} {par num titre, titre}> |
---|
63 | <li> |
---|
64 | <a href="#URL_RUBRIQUE">[(#TITRE)]</a> |
---|
65 | |
---|
66 | [(#REM) Une boucle recursive pour le mini plan] |
---|
67 | <B_miniplan> |
---|
68 | <ul> |
---|
69 | <BOUCLE_miniplan(RUBRIQUES) {id_parent} {par num titre, titre}> |
---|
70 | <li> |
---|
71 | <a href="#URL_RUBRIQUE">[(#TITRE)]</a> |
---|
72 | <BOUCLE_m2(BOUCLE_miniplan)></BOUCLE_m2> |
---|
73 | </li> |
---|
74 | </BOUCLE_miniplan> |
---|
75 | </ul> |
---|
76 | </B_miniplan> |
---|
77 | |
---|
78 | </li> |
---|
79 | </BOUCLE_sous_rubriques> |
---|
80 | </ul> |
---|
81 | </div> |
---|
82 | </B_sous_rubriques> |
---|
83 | |
---|
84 | <//B_articles>[(#REM) supprimer pour toujours avoir le miniplan] |
---|
85 | |
---|
86 | |
---|
87 | [(#REM) Documents joints a la rubrique ] |
---|
88 | <B_documents_joints> |
---|
89 | <div class="menu" id="documents_joints"> |
---|
90 | <h2><:titre_documents_joints:></h2> |
---|
91 | <ul> |
---|
92 | <BOUCLE_documents_joints(DOCUMENTS) {id_rubrique} {mode=document} {par num titre, date} {doublons}> |
---|
93 | <li> |
---|
94 | <strong><a href="#URL_DOCUMENT" title="<:bouton_download:>" type="#MIME_TYPE">[(#TITRE|sinon{<:info_document:>})]</a></strong> |
---|
95 | <small>(#TYPE_DOCUMENT[ – (#TAILLE|taille_en_octets)])</small> |
---|
96 | #DESCRIPTIF |
---|
97 | </li> |
---|
98 | </BOUCLE_documents_joints> |
---|
99 | </ul> |
---|
100 | </div> |
---|
101 | </B_documents_joints> |
---|
102 | |
---|
103 | [(#REM) Breves du secteur ] |
---|
104 | <B_breves> |
---|
105 | <div class="menu"> |
---|
106 | #ANCRE_PAGINATION |
---|
107 | <h2><:breves:></h2> |
---|
108 | <ul> |
---|
109 | <BOUCLE_breves(BREVES) {id_rubrique} {par date}{inverse} {pagination 5}> |
---|
110 | <li>[(#DATE|affdate_jourcourt) – ]<a href="#URL_BREVE">#TITRE</a></li> |
---|
111 | </BOUCLE_breves> |
---|
112 | </ul> |
---|
113 | [<p class="pagination">(#PAGINATION)</p>] |
---|
114 | </div> |
---|
115 | </B_breves> |
---|
116 | |
---|
117 | [(#REM) Sites de la rubrique ] |
---|
118 | <B_sites> |
---|
119 | <div class="menu"> |
---|
120 | <h2><:sur_web:></h2> |
---|
121 | <ul> |
---|
122 | <BOUCLE_sites(SITES) {id_rubrique} {par nom_site}> |
---|
123 | <li> |
---|
124 | <a href="[(#ID_SYNDIC|generer_url_entite{site,'','',#CONNECT})]">#NOM_SITE</a> |
---|
125 | <B_syndic> |
---|
126 | <ul> |
---|
127 | <BOUCLE_syndic(SYNDIC_ARTICLES) {id_syndic} {age<180} {par date}{inverse} {0,3}> |
---|
128 | <li><a href="#URL_ARTICLE" class="spip_out">#TITRE</a></li> |
---|
129 | </BOUCLE_syndic> |
---|
130 | </ul> |
---|
131 | </B_syndic> |
---|
132 | </li> |
---|
133 | </BOUCLE_sites> |
---|
134 | </ul> |
---|
135 | </div> |
---|
136 | </B_sites> |
---|
137 | |
---|
138 | [(#REM) Proposer un site ] |
---|
139 | #FORMULAIRE_SITE |
---|
140 | |
---|
141 | [<div class="notes"><h2><:info_notes:></h2>(#NOTES)</div>] |
---|
142 | |
---|
143 | </div><!--.content--> |
---|
144 | </div><!--.wrapper--> |
---|
145 | |
---|
146 | [(#REM) Menu de navigation laterale ] |
---|
147 | <div class="aside"> |
---|
148 | |
---|
149 | [(#REM) Menu de navigation par rubriques ] |
---|
150 | <INCLURE{fond=inclure/rubriques, id_rubrique} />[(#REM) Menu de navigation laterale ] |
---|
151 | |
---|
152 | |
---|
153 | [(#REM) Menu de navigation mots-cles ] |
---|
154 | <B_mots> |
---|
155 | <div class="menu"> |
---|
156 | <h2><:mots_clefs:></h2> |
---|
157 | <ul> |
---|
158 | <BOUCLE_mots(MOTS) {id_rubrique} {par titre}> |
---|
159 | <li><a href="#URL_MOT" rel="tag">#TITRE</a></li> |
---|
160 | </BOUCLE_mots> |
---|
161 | </ul> |
---|
162 | </div> |
---|
163 | </B_mots> |
---|
164 | |
---|
165 | </div><!--.aside--> |
---|
166 | |
---|
167 | [(#REM) Pied de page ] |
---|
168 | <INCLURE{fond=inclure/footer, skel=#SQUELETTE} /> |
---|
169 | |
---|
170 | </div><!--.page--> |
---|
171 | </body> |
---|
172 | </html> |
---|
173 | </BOUCLE_principale>[(#INCLURE{fond=404, erreur=<:aucune_rubrique:>})] |
---|
174 | <//B_principale> |
---|