source: spip-zone/_plugins_/mailsubscribers/trunk/prive/objets/contenu/mailsubscriber.html @ 113049

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

mise en forme des envois pour un subscriber

File size: 2.4 KB
Line 
1<BOUCLE_mailsubscriber(MAILSUBSCRIBERS){id_mailsubscriber}{statut?}>
2
3[<div class="champ contenu_email[ (#EMAIL*|strlen|?{'',vide})]">
4        <div class='label'><:mailsubscriber:label_email:> : </div>
5        <span dir='#LANG_DIR' class='#EDIT{email} email'>(#EMAIL)</span>
6</div>]
7
8[<div class="champ contenu_nom[ (#NOM*|strlen|?{'',vide})]">
9        <div class='label'><:mailsubscriber:label_nom:> : </div>
10        <span dir='#LANG_DIR' class='#EDIT{nom} nom'>(#NOM)</span>
11</div>]
12
13[<div class="champ contenu_lang[ (#LANG*|strlen|?{'',vide})]">
14        <div class='label'><:mailsubscriber:label_lang:> : </div>
15        <span dir='#LANG_DIR' class='#EDIT{lang} lang'>(#LANG|traduire_nom_langue)</span>
16</div>]
17
18#SET{segments_possibles,''}
19<B_sub>
20<div class="liste-objets mailsubscriptions">
21<table class="spip">
22        <thead>
23        <tr>
24                <th><:mailsubscriber:label_listes:></th>
25                <th></th>
26                <th><:mailsubscriber:label_inscription:></th>
27        </tr>
28        </thead>
29        <tbody>
30<BOUCLE_sub(mailsubscriptions){id_mailsubscriber}{par id_mailsubscribinglist,id_segment}>
31        [(#GET{segments_possibles}|non)
32                [(#ID_MAILSUBSCRIBINGLIST|unique{segments_possibles}|oui)
33                        [(#AUTORISER{segmenter,mailsubscribinglist,#ID_MAILSUBSCRIBINGLIST}) #SET{segments_possibles,' '}]
34                ]
35        ]
36        <tr>
37                <td><a href="[(#ID_MAILSUBSCRIBINGLIST|generer_url_entite{mailsubscribinglist})]">[(#INFO_IDENTIFIANT{mailsubscribinglist,#ID_MAILSUBSCRIBINGLIST}|mailsubscribers_titre_segment{#ID_SEGMENT})]</a>[ \(<tt>(#ID_SEGMENT|non|?{#INFO_IDENTIFIANT{mailsubscribinglist,#ID_MAILSUBSCRIBINGLIST}})</tt>\)]</td>
38                <td></td>
39                <td>[(#STATUT|puce_statut{mailsubscriber}) ][(#VAL{mailsubscriber}|statut_titre{#STATUT})]</td>
40        </tr>
41</BOUCLE_sub>
42        </tbody>
43</table>
44</div>
45</B_sub>
46
47[(#ID_MAILSUBSCRIBER|mailsubscriber_afficher_informations_liees{#EMAIL*}) #SET{segments_possibles,' '}]
48[(#GET{segments_possibles})
49        <div class="center">
50        [(#BOUTON_ACTION{<:mailsubscriber:bouton_actualiser_segments:>,#URL_ACTION_AUTEUR{actualiser_segments_mailsubscriber,#ID_MAILSUBSCRIBER,#SELF}})]
51        </div>
52]
53[<div class="champ contenu_optin[ (#OPTIN*|strlen|?{'',vide})]">
54        <div class='label'><:mailsubscriber:label_optin:> : </div>
55        <span dir='#LANG_DIR' class='#EDIT{optin} optin'><pre>(#OPTIN|nl2br)</pre></span>
56</div>]
57
58
59<h3>Envois</h3>
60
61<div class="dest_un_destinataire">
62<INCLURE{fond=prive/objets/liste/mailshots_destinataires,email=#ENV{email}|sinon{#EMAIL},nb=100,par=date,env,sinon=<:mailshot:info_aucun_envoi:>}>
63</div>
64
65</BOUCLE_mailsubscriber>
Note: See TracBrowser for help on using the repository browser.