[PLUGINS] +acces restreint
[ptitvelo/web/www.git] / www / plugins / accesrestreint_3_5 / prive / squelettes / inclure / acces_restreint.html
1 [(#REM)
2 /**
3 * Plugin Acces Restreint 3.0 pour Spip 2.0
4 * Licence GPL (c) 2006-2008 Cedric Morin
5 *
6 */
7 ]#SET{self,#SELF|parametre_url{debut_zones|tri,''}}
8 #FORMULAIRE_RECHERCHE_ECRIRE{#GET{self},ajax}
9 <div class="nettoyeur"></div>
10 <B_zones>
11 <p class='pagination'>[(#PAGINATION) | ]<a href='[(#GET{self}|parametre_url{tri,titre})]'><:accesrestreint:par_titre:></a>
12 [(#ENV{publique}|non)| <a href='[(#GET{self}|parametre_url{publique,oui})]'><:accesrestreint:publique:></a>]
13 [(#ENV{publique}|ou{#ENV{privee}}|oui)| <a href='[(#GET{self}|parametre_url{publique|privee,''})]'><:accesrestreint:toutes:></a>]
14 [(#ENV{privee}|non)| <a href='[(#GET{self}|parametre_url{privee,oui})]'><:accesrestreint:privee:></a>]
15 </p>
16
17 <ul class='liste-items zones'>
18 <BOUCLE_zones(ZONES){par #ENV{tri,id_zone}}{publique==#ENV{publique,.*}}{privee==#ENV{privee,.*}}{pagination 10}{recherche ?}>
19 <li class='item zone[ (#ID_ZONE|accesrestreint_acces_zone|?{ok,interdit})][ (#EXPOSE)]'><h3>#TITRE</h3>
20 <span class='contenu'>[(#ID_ZONE|accesrestreint_liste_contenu_zone_rub|count) <:accesrestreint:rubriques:>, ]
21 [(#ID_ZONE|accesrestreint_liste_contenu_zone_auteur|count) <:accesrestreint:auteurs:>]
22 </span>
23 <span class='descriptif'>#DESCRIPTIF</span>
24 <span class='quoi'>[(#PUBLIQUE|=={oui}|oui)<:accesrestreint:publique:>[, (#PRIVEE|=={oui}|oui)]][ (#PRIVEE|=={oui}|oui)<:accesrestreint:privee:>]</span>
25 <div class='actions'>
26 [(#AUTORISER{supprimer,zone,#ID_ZONE})<span class='lien_supprimer'>[(#BOUTON_ACTION{<:accesrestreint:icone_supprimer_zone:>,#URL_ACTION_AUTEUR{supprimer_zone,#ID_ZONE,#SELF},ajax,<:accesrestreint:confirmer_supprimer_zone:>})]</span>]
27 [| (#AUTORISER{modifier,zone,#ID_ZONE}) <span class='lien_modifier'><a href='[(#URL_ECRIRE{zone_edit,id_zone=#ID_ZONE}|parametre_url{redirect,#SELF})]'><:bouton_modifier:></a></span>]
28 </div>
29 </li>
30 </BOUCLE_zones>
31 </ul>
32 </B_zones>
33 <p class='pagination'>[(#ENV{publique}|non)| <a href='[(#GET{self}|parametre_url{publique,oui})]'><:accesrestreint:publique:></a>]
34 [(#ENV{publique}|ou{#ENV{privee}}|oui)| <a href='[(#GET{self}|parametre_url{publique|privee,''})]'><:accesrestreint:toutes:></a>]
35 [(#ENV{privee}|non)| <a href='[(#GET{self}|parametre_url{privee,oui})]'><:accesrestreint:privee:></a>]
36 </p>
37 <h3><:accesrestreint:info_aucune_zone:></h3>
38
39 <//B_zones>