[(#SET{defaut_tri,#ARRAY{ id_mailshot,-1, sujet,1, date,-1 }})] #SET{autoreload,''} #SET{stats,#ARRAY} #ANCRE_PAGINATION
[] [(#REM) Pour les stats totales, ne tenir compte que des envois legit ] [(#STATUT|in_array{#LISTE{cancel,poubelle,archive}}|non) #SET{stats,#GET{stats}|array_merge{#ARRAY{current,#CURRENT|plus{#GET{stats/current,0}},total,#TOTAL|plus{#GET{stats/total,0}},failed,#FAILED|plus{#GET{stats/failed,0}}}}} ] [(#STATUT|=={processing}|oui)#SET{autoreload,' '}] [(#REM) S'il y a plus d'1 envoi, on affiche le total ] [(#TOTAL_BOUCLE|>{1}|oui) ]
(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{mailshot:info_1_mailshot,mailshot:info_nb_mailshots}})
[(#TRI{statut,#,ajax})] [(#TRI{id_mailshot,<:info_numero_abbreviation:>,ajax})] [(#TRI{sujet,<:mailshot:label_sujet:>,ajax})] [(#TRI{date_start,<:date:>,ajax})] <:mailshot:label_listes:> %
[(#STATUT|mailshot_puce_statut{mailshot,#ID_MAILSHOT})] <:mailshot:info_mailshot_no{id=#ID_MAILSHOT}:> [(#SUJET|couper{160})] [\[<:mailshot:lien_voir_newsletter:>\]] [(#DATE_START|intval|?{#DATE_START,#DATE}|affdate_jourcourt)] [(#LISTES|mailshot_affiche_nom_liste)] [(#CURRENT|mailshot_afficher_avancement{#TOTAL,#FAILED})] [(#AUTORISER{instituer,mailshot,#ID_MAILSHOT}|oui) [(#STATUT|in_array{#LISTE{processing}}|oui) [(#BOUTON_ACTION{#CHEMIN_IMAGE{mailshot-pause-16.png}|balise_img{<:mailshot:label_control_pause:>},#URL_ACTION_AUTEUR{instituer_objet,mailshot-#ID_MAILSHOT-pause,#SELF},'ajax btn_secondaire btn_mini','',<:mailshot:label_control_pause:>})] ][(#STATUT|in_array{#LISTE{pause}}|oui) [(#BOUTON_ACTION{#CHEMIN_IMAGE{mailshot-play-16.png}|balise_img{<:mailshot:label_control_play:>},#URL_ACTION_AUTEUR{instituer_objet,mailshot-#ID_MAILSHOT-processing,#SELF},'ajax btn_secondaire btn_mini','',<:mailshot:label_control_play:>})] ][(#STATUT|in_array{#LISTE{pause,processing}}|oui) [(#BOUTON_ACTION{#CHEMIN_IMAGE{mailshot-stop-16.png}|balise_img{<:mailshot:label_control_stop:>},#URL_ACTION_AUTEUR{instituer_objet,mailshot-#ID_MAILSHOT-cancel,#SELF},'ajax btn_secondaire btn_mini','',<:mailshot:label_control_stop:>})] ][(#STATUT|in_array{#LISTE{init}}|oui) [(#BOUTON_ACTION{#CHEMIN_IMAGE{supprimer-16.png}|balise_img{<:mailshot:info_annuler_envoi:>},#URL_ACTION_AUTEUR{instituer_objet,mailshot-#ID_MAILSHOT-cancel,#SELF},'ajax btn_danger btn_mini','',<:mailshot:info_annuler_envoi:>})] ] ]
[(#GET{stats/current}|mailshot_afficher_avancement{#GET{stats/total},#GET{stats/failed}})]
[]
[
(#ENV*{sinon,''})
] [(#GET{autoreload}|oui)#SET{uniqid,r#EVAL{time()}|uniqid} ]