spip_nursit/plugins/dist/squelettes/z-dist/inclure/petition.html
2023-06-01 17:30:12 +02:00

45 lines
No EOL
2.5 KiB
HTML

[(#REM) Signer la petition ]
#FORMULAIRE_SIGNATURE
[(#REM) Signatures de la petition ]
<B_signatures>
<div id="signatures">
[<p class="pagination">(#PAGINATION)</p>]
<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>
[<p class="pagination">(#PAGINATION)</p>]
[(#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" 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>