spip_nursit/plugins/dist/squelettes/spipr-dist/inclure/petition.html

45 lines
2.5 KiB
HTML
Raw Permalink Normal View History

2023-06-01 15:30:12 +00:00
[(#REM) Signer la petition ]
#FORMULAIRE_SIGNATURE
[(#REM) Signatures de la petition ]
<B_signatures>
<div id="signatures">
[<div class="pagination">(#PAGINATION)</div>]
<table class="spip">
<caption><h2 class="h2">#GRAND_TOTAL <:signatures_petition:></h2></caption>
<thead>
<tr class="row_first">
<th class="signature-date"><a href='[(#SELF|parametre_url{tri,date_time}|parametre_url{tri_inverse,''})]#signatures' title="<:lien_trier_date:>"><:date:></a></th>
<th class="signature-nom"><a href='[(#SELF|parametre_url{tri,nom_email}|parametre_url{tri_inverse,''})]#signatures' title="<:lien_trier_nom:>"><:nom:></a></th>
[(#REM) Afficher la colonne des messages si autorises ]
<BOUCLE_signature-message-th(PETITIONS){id_article}{message=oui}>
<th class="signature-message"><:message:></th>
</BOUCLE_signature-message-th>
</tr>
</thead>
<tbody>
<BOUCLE_signatures(SIGNATURES) {id_article} {pagination #ENV{pagination, 15} } {recherche ?#ENV{recherche_signatures}} {!par #ENV{tri}}{par #ENV{tri_inverse}} {!par #ENV{tri,#ENV{tri_inverse}}|?{'',date_time}}>
<tr [class="(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})" ]id='id_signature#ID_SIGNATURE'>
<td class="signature-date">[(#DATE|affdate_jourcourt)]</td>
<td class="signature-nom"><strong class="#EDIT{qui}">#NOM</strong>[ <div class="small #EDIT{hyperlien}"><a href="(#URL_SITE)"[ title="(#NOM_SITE|attribut_html|couper{80})"] class="spip_out"><:site_web:></a></div>]</td>
[(#REM) Afficher la colonne des messages si autorises ]
<BOUCLE_signature-message-td(PETITIONS){id_article}{message=oui}> </BOUCLE_signature-message-td>
<td class="signature-message #EDIT{message}">[(#MESSAGE|PtoBR)]</td>
</B_signature-message-td>
</tr>
</BOUCLE_signatures>
</tbody>
</table>
[<div class="pagination">(#PAGINATION)</div>]
[(#REM) Afficher un moteur de recherche si plus de 30 signatures
ou s'il etait deja present au coup d'avant]
[(#ENV{recherche_signatures}|?{31,#_signatures:GRAND_TOTAL}|>{3}|oui)
<div class="formulaire_spip formulaire_recherche formulaire_recherche_signatures" id="formulaire_recherche_signatures">
<form method='get' action='#SELF'><div>[(#SELF|form_hidden)]
<label for="recherche_signatures"><:info_rechercher:></label> <input type="text" class="text" size="10" name="recherche_signatures" id="recherche_signatures" style='font-style: italic;' value=" <:entree_signature:>"/> <input type="submit" class="submit" value="<:info_rechercher:>" />
</div></form>
</div>
]
</div><!--#signatures-->
</B_signatures>