source: spip-zone/_plugins_/mailsubscribers/trunk/prive/squelettes/contenu/mailsubscribers.html @ 90367

Last change on this file since 90367 was 90367, checked in by cedric@…, 6 years ago

pas d'onglet pour les subscribers a la poubelle

File size: 1.4 KB
Line 
1[(#AUTORISER{voir,mailsubscriber}|sinon_interdire_acces)]
2<h1 class="grostitre"><:mailsubscriber:titre_mailsubscribers:></h1>
3
4#SET{self,#SELF|parametre_url{debut_mailsubscribers,''}}
5[(#SET{listes,[(#ENV{liste,''}|trim|?{[(^|,)(#ENV{liste})($|,)],'.*'})]})]
6
7<div class='onglets_simple clearfix'>
8<ul class="statut statut_mailsubscribers">
9<li>[(#GET{self}|parametre_url{statut,''}|lien_ou_expose{<:mailsubscriber:mailsubscribers_tous:>,#ENV{statut,''}|=={''},ajax})]</li>
10
11        <BOUCLE_st(POUR){tableau #LISTE{valide,prepa,prop,refuse,poubelle}}>
12        <BOUCLE_cpt_1(MAILSUBSCRIBERS){id_mailsubscriber?}{email?}{statut=#VALEUR}{statut<>poubelle}{listes==#GET{listes}}{recherche?} />
13        [(#TOTAL_BOUCLE|oui) <li class='#VALEUR'>[(#GET{self}|parametre_url{statut,#VALEUR}|lien_ou_expose{#VAL{mailsubscriber:mailsubscribers_#VALEUR}|_T|concat{' (',#TOTAL_BOUCLE,')'},#ENV{statut,''}|=={#VALEUR},'ajax'})]</li>]<//B_cpt_1>
14        </BOUCLE_st>
15
16        </ul>
17</div>
18
19#FORMULAIRE_RECHERCHE_ECRIRE{#SELF,ajax}
20<div class="nettoyeur"></div>
21
22<INCLURE{fond=prive/objets/liste/mailsubscribers, par=email, env, ajax, sinon=<:mailsubscriber:info_aucun_mailsubscriber:>}>
23
24[(#AUTORISER{creer,mailsubscriber})
25        [(#URL_ECRIRE{mailsubscriber_edit,new=oui}|icone_verticale{<:mailsubscriber:icone_creer_mailsubscriber:>,mailsubscriber,new,right})]
26]
27
28[(#ENV{importer,''}|oui)
29<div class="nettoyeur"></div>
30<div class="ajax">
31        #FORMULAIRE_IMPORTER_MAILSUBSCRIBERS
32</div>
33]
Note: See TracBrowser for help on using the repository browser.