3 * Plugin Acces Restreint
3.0 pour Spip
2.0
4 * Licence GPL (c)
2006-
2008 Cedric Morin
7 ]#SET{self,#SELF|parametre_url{debut_zones|tri,''}}
8 #FORMULAIRE_RECHERCHE_ECRIRE{#GET{self},ajax}
9 <div class=
"nettoyeur"></div>
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>]
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:>]
23 <span class='descriptif'
>#DESCRIPTIF
</span>
24 <span class='quoi'
>[(#PUBLIQUE|=={oui}|oui)
<:accesrestreint:publique:>[, (#PRIVEE|=={oui}|oui)]][ (#PRIVEE|=={oui}|oui)
<:accesrestreint:privee:>]
</span>
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>]
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>]
37 <h3><:accesrestreint:info_aucune_zone:></h3>