source: spip-zone/_squelettes_/gribouille/afficher_revisions.html

Last change on this file was 36485, checked in by cedric@…, 12 years ago

versions plutot que spip_versions qui court-circuitera le changement de prefixe

File size: 678 bytes
Line 
1
2<BOUCLE_revision(versions){id_version=#ENV{id_version}}{id_article}>
3<h2>Version #ID_VERSION <span style="color:gray;">&mdash;
4[(#DATE|date_relative),]
5[(#ID_AUTEUR|affiche_auteur_diff)] [-- (#TITRE_VERSION)]</span>
6</h2>
7
8
9[<blockquote>(#ID_ARTICLE|affiche_diff{#ID_VERSION}|safehtml)</blockquote>]
10
11
12</BOUCLE_revision>
13
14<hr />
15<ul>
16<BOUCLE_rev(versions){id_article}{par date}{inverse}{pagination 40}>
17[(#SET{a,[(#ENV{id_version}|=={#ID_VERSION}|?{span,a})]})]
18<li><[(#GET{a})]
19        href="[(#SELF|parametre_url{id_version,#ID_VERSION})]">#DATE</#GET{a}>
20        <span style="color:gray;">&mdash; [(#ID_AUTEUR|affiche_auteur_diff)] [-- (#TITRE_VERSION)]</span>
21        </li>
22</BOUCLE_rev>
23</ul>
Note: See TracBrowser for help on using the repository browser.