source: spip-zone/_core_/plugins/petitions/prive/squelettes/contenu/controler_petition.html @ 47838

Last change on this file since 47838 was 47838, checked in by cedric@…, 10 years ago

chaine de langue, defaut html (boutons actions dans un <p>), deplacement du fil rss, et class grostitre

File size: 2.5 KB
Line 
1<h1 class="grostitre"><:petitions:titre_page_controle_petition:>[(#VAL{signatures}|bouton_spip_rss{#ARRAY{id_article,#ID_ARTICLE}})]</h1>
2#SET{self,#SELF|parametre_url{id_article|debut_id_signature,''}}
3
4#SET{self,#SELF|parametre_url{ad_email|url_site|debut_id_signature|statut,''}}
5
6[(#SET{statut,[(#ENV{statut})]%})]
7
8[(#ENV{statut}|=={prop}|oui)
9        #SET{prop,#ARRAY{0,publie,1,poubelle}}
10        #SET{statut,'%'}
11]
12
13<BOUCLE_repart(ARTICLES){id_article}>
14#BOITE_OUVRIR{'','note'}
15<a class='annule_filtre' href='[(#GET{self}|parametre_url{id_article,''})]' title="<:petitions:tout_voir|attribut_html:>">[(#CHEMIN_IMAGE{fermer-16.png}|balise_img|inserer_attribut{alt,<:petitions:tout_voir:>})]</a>
16<p><:petitions:signatures_article:> <a href='[(#ID_ARTICLE|generer_url_entite{article})]'>#TITRE</a></p>
17<BOUCLE_lapetition(PETITIONS){id_article}{0,1}>
18        [(#BOUTON_ACTION{<:petitions:icone_supprimer_signatures:>,#URL_ACTION_AUTEUR{traiter_lot_signature,supprimer,#SELF}|parametre_url{id_petition,#ID_PETITION,'&'},'ajax',<:petitions:alerte_confirmer_suppression_signatures:>})]
19</BOUCLE_lapetition>
20#BOITE_FERMER
21</BOUCLE_repart>
22
23[<div class='source'>
24[(#ENV{ad_email}|ou{#ENV{url_site}}|ou{#ENV{id_signature}})
25<a class='annule_filtre ajax' href='#GET{self}' title="<:petitions:tout_voir|attribut_html:>">[(#CHEMIN{images/annuler-recherche.png}|balise_img|inserer_attribut{alt,<:petitions:tout_voir:>})]</a>]
26<div class='par'><:petitions:filtre:> (#ENV{ad_email}|sinon{#ENV{url_site}})</div>
27</div>]
28
29[(#INCLURE{fond=prive/squelettes/inclure/boutons-filtres-statut-signature, env})]
30[<h2><:resultats_recherche:> &#171;&nbsp;(#ENV{recherche})&nbsp;&#187;</h2>]
31#FORMULAIRE_RECHERCHE_ECRIRE{#GET{self},ajax}
32
33
34<B_signatures>
35<h3>[(#GRAND_TOTAL|singulier_ou_pluriel{petitions:une_signature,petitions:nombre_signatures}|sinon{<:petitions:aucune_signature:>})]</h3>
36
37[<p class='pagination'>(#PAGINATION{prive})</p>]
38<ul class='liste-items signatures'>
39<BOUCLE_signatures(SIGNATURES)
40        {id_signature?}
41        {id_article ?}
42        {!par id_signature}
43        {pagination 10}
44        {statut LIKE #GET{statut}}
45        {statut ?!IN #GET{prop}}
46        {nom_email?}
47        {ad_email?}
48        {url_site?}
49        {recherche?}>
50
51<li class="item signature statut_[(#STATUT|match{^(publie|poubelle)$}|?{#STATUT,prop})][ (#COMPTEUR_BOUCLE|alterner{'','odd'})]" id='signature#ID_SIGNATURE' data-id="#ID_SIGNATURE">
52[(#INCLURE{fond=prive/modeles/signature,id_signature,self})]
53</li>
54</BOUCLE_signatures>
55</ul>
56[<p class='pagination'>(#PAGINATION{prive})</p>]
57</B_signatures>
58
59<h3><:petitions:aucune_signature:></h3>
60
61<//B_signatures>
Note: See TracBrowser for help on using the repository browser.