source: spip-zone/_plugins_/relecture/prive/squelettes/navigation/article-relecture.html @ 60741

Last change on this file since 60741 was 60741, checked in by eric@…, 8 years ago

Amélioration de la page d'accueil.
Meilleure découpage entre les traitements des fonctions inserer et instituer.
Renommage.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.7 KB
Line 
1[(#REM) <!-- Raccourci d'ouverture d'une relecture --> ]
2[(#AUTORISER{ouvrirrelecture, article, #ENV{id_article}})
3        #BOITE_OUVRIR{'',raccourcis}
4        [(#URL_ECRIRE{relecture_edit}
5                |parametre_url{new, oui}
6                |parametre_url{id_article, #ENV{id_article}}
7                |icone_horizontale{<:relecture:bouton_ouvrir_relecture:>,relecture-add-24.png})]
8        #BOITE_FERMER
9]
10
11[(#REM) <!-- Information sur la relecture ouverte --> ]
12<BOUCLE_relecture_ouverte(RELECTURES){id_article}{statut=ouverte}>
13[(#AUTORISER{voirrelectures, article, #ID_ARTICLE})
14        [(#SET{titre, <:relecture:titre_info_relecture_article:>})]
15        #BOITE_OUVRIR{#GET{titre}, simple, titrem}
16                [(#SET{date_ouverture, [(#DATE_OUVERTURE|affdate_court)]})]
17                [(#SET{rev_ouverture, #REVISION_OUVERTURE})]
18                [(#SET{date_fin_periode, [(#DATE_FIN_COMMENTAIRE|affdate_court)]})]
19                <p>
20                        <:relecture:info_relecture_ouverture{date=#GET{date_ouverture}, revision=#GET{rev_ouverture}}:>
21                </p>
22                <p>
23                        [(#DATE_FIN_COMMENTAIRE|<{#DATE}|non)<:relecture:info_relecture_periode_ouverte{date=#GET{date_fin_periode}}:>]
24                        [(#DATE_FIN_COMMENTAIRE|<{#DATE}|oui)<:relecture:info_relecture_periode_fermee{date=#GET{date_fin_periode}}:>]
25                </p>
26                [<p>(#ID_RELECTURE|relecture_informer_commentaires)</p>]
27
28        #BOITE_PIED
29        [(#AUTORISER{modifier, relecture, #ID_RELECTURE}|?{
30                [(#BOUTON_ACTION{<:relecture:bouton_configurer_relecture:>, #URL_ECRIRE{relecture, id_relecture=#ID_RELECTURE}, '', '', ''})],
31                [(#BOUTON_ACTION{<:relecture:bouton_voir_relecture:>, #URL_ECRIRE{relecture, id_relecture=#ID_RELECTURE}, '', '', ''})]}
32        )]
33        [(#AUTORISER{commenter, relecture, #ID_RELECTURE})
34                [(#BOUTON_ACTION{<:relecture:bouton_participer_relecture:>, #URL_ECRIRE{relecture_comment, id_relecture=#ID_RELECTURE}, '', '', ''})]
35        ]
36        #BOITE_FERMER
37]
38</BOUCLE_relecture_ouverte>
Note: See TracBrowser for help on using the repository browser.