# <:petitions:titre_page_controle_petition:>[(#VAL{signatures}|bouton_spip_rss{#ARRAY{id_article,#ID_ARTICLE}})]

#SET{self,#SELF|parametre_url{id_article|debut_id_signature,''}} #SET{self,#SELF|parametre_url{ad_email|url_site|debut_id_signature|statut,''}} [(#SET{statut,[(#ENV{statut})]%})] [(#ENV{statut}|=={prop}|oui) #SET{prop,#ARRAY{0,publie,1,poubelle}} #SET{statut,'%'} ] <BOUCLE_repart(ARTICLES){id_article}> #BOITE_OUVRIR{'','note'} [(#CHEMIN_IMAGE{fermer-16.png}|balise_img|inserer_attribut{alt,<:petitions:tout_voir:>})]

<:petitions:signatures_article:> #TITRE

<BOUCLE_lapetition(PETITIONS){id_article}{0,1}> [(#AUTORISER{modererpetition,article,#ID_ARTICLE}) [(#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:>})] ] </BOUCLE_lapetition> #BOITE_FERMER </BOUCLE_repart> [
[(#ENV{ad_email}|ou{#ENV{url_site}}|ou{#ENV{id_signature}}) [(#CHEMIN{images/annuler-recherche.png}|balise_img|inserer_attribut{alt,<:petitions:tout_voir:>})]]
<:petitions:filtre:> (#ENV{ad_email}|sinon{#ENV{url_site}})
] [(#INCLURE{fond=prive/squelettes/inclure/boutons-filtres-statut-signature, env})] [

## <:resultats_recherche:> « (#ENV{recherche}) »

] #FORMULAIRE_RECHERCHE_ECRIRE{#GET{self},ajax} <B_signatures>

### [(#GRAND_TOTAL|singulier_ou_pluriel{petitions:une_signature,petitions:nombre_signatures}|sinon{<:petitions:aucune_signature:>})]

[(#TRI{id_signature,ID,ajax})] | [(#TRI{date_time,<:date:>,ajax})]

[

(#PAGINATION{prive})

]

<BOUCLE_signatures(SIGNATURES) {id_signature?} {id_article ?} {tri id_signature,inverse} {pagination #ENV{nb,10}} {statut LIKE #GET{statut}} {statut ?!IN #GET{prop}} {nom_email?} {ad_email?} {url_site?} {recherche?}>
- [(#INCLURE{fond=prive/modeles/signature,id_signature,self})]
</BOUCLE_signatures>

[

(#PAGINATION{prive})

] </B_signatures>

### <:petitions:aucune_signature:>