{**************************************************************************} {* *} {* Copyright (C) 2003-2014 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} {* it under the terms of the GNU General Public License as published by *} {* the Free Software Foundation; either version 2 of the License, or *} {* (at your option) any later version. *} {* *} {* This program is distributed in the hope that it will be useful, *} {* but WITHOUT ANY WARRANTY; without even the implied warranty of *} {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *} {* GNU General Public License for more details. *} {* *} {* You should have received a copy of the GNU General Public License *} {* along with this program; if not, write to the Free Software *} {* Foundation, Inc., *} {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************}

{$nl->name} de {$issue->date|date_format:"%B %Y"}

{if !$art}

[liste] [visualiser]

{if $nl->automaticMailingEnabled() && ($issue->isEditable() || $issue->isPending())} {/if} {if $nl->criteria->hasFlag('promo')} {/if} {if $nl->criteria->hasFlag('axid')} {/if}
Propriétés de la newsletter
État {if $issue->isPending()} En attente d'envoi {if $nl->automaticMailingEnabled()} [{* *}{icon name=delete} Annuler l'envoi] {/if} {elseif $issue->isEditable()} En cours d'édition {if $nl->automaticMailingEnabled()} [{* *}{icon name=tick} Valider l'envoi] {/if} [{* *}{icon name=cross} Supprimer] {else} Envoyée {/if}
ID {$issue->id}
Nom {if $issue->isEditable()} (Ex : 2006-06 pour la NL de juin 2006) {else} {$issue->shortname} {/if}
Titre de l'email
Titre
Date {if $issue->isEditable()} {valid_date name="date" value=$issue->date from=0 to=60} {else} {$issue->date} {/if}
Intro de la lettre
(ou contenu pour les lettres exceptionnelles)

{icon name=information} Voir la documentation du wiki

{icon name=information} Dans le message, "<cher> <prenom>" sera remplacé par ce que chaque destinataire a défini dans son profil pour le paramètre "Comment t'appeler".

Signature de la lettre
Adresse de réponse (optionnelle)
Date d'envoi {if $issue->isEditable()} Le {valid_date name="send_before_date" value=$issue->getSendBeforeDate() from=0 to=15} vers {html_select_time prefix="send_before_time_" time=$issue->getSendBeforeTime() display_hours=true display_minutes=false display_seconds=false display_meridian=false use_24_hours=true} heures {else} Le {$issue->send_before|date_format:"%d/%m/%Y vers %Hh"} {/if}
Promotions {if $issue->isEditable()} {include file="include/select_promo.tpl" promo_data=$smarty.request egal1="egal1" egal2="egal2" promo1="promo1" promo2="promo2" edu_type="edu_type"} {else} {if t($smarty.request.promo1)} {if $smarty.request.egal1 eq "="} {$smarty.request.promo1} {elseif t($smarty.request.promo2)} {if $smarty.request.egal1 eq ">="} {$smarty.request.promo1} à {$smarty.request.promo2} {else} {$smarty.request.promo2} à {$smarty.request.promo1} {/if} {else} {if $smarty.request.egal1 eq ">="} après {$smarty.request.promo1} {else} avant {$smarty.request.promo1} {/if} {/if} {else} Toutes les promotions {/if} {if $smarty.request.edu_type eq #UserFilter::GRADE_ING#}(X){/if} {if $smarty.request.edu_type eq #UserFilter::GRADE_MST#}(Master){/if} {if $smarty.request.edu_type eq #UserFilter::GRADE_PHD#}(Docteur){/if} {/if}
Matricule AX {if $issue->isEditable()}
Entrer une liste de matricules AX (un par ligne)
Inverser la sélection (sélectionner dans l'intervalle de promotions, à l'exception des matricules indiqués) {else} {$smarty.request.axid} {/if}

{foreach from=$issue->arts item=arts key=cat} {foreach from=$arts item=art} {/foreach} {/foreach}
Créer un nouvel article… {icon name=add title="créer"}
{$issue->category($cat)|default:"[no category]"}
{$art->toText('%hash%','%login%')}
Pos: {$art->pos}
{icon name="page_edit" title="Editer"}


{icon name="delete" title="Supprimer"}

{if $ips_to_check|@count > 0} {foreach from=$ips_to_check item=ip_list key=title} {foreach from=$ip_list item=domain key=ip} {assign var=title value=''} {/foreach} {/foreach} {else} {/if}
Vérifier les url et adresses emails sur Spamhaus
{$title} {$domain}
{else}

[retour]

Version texte
{$art->toText()}
Version html
{$art->toHtml()|smarty:nodefaults}

Éditer un article
Sujet
Catégorie
Position
Contenu
Ajouts (emails, contacts, tarifs, site web…)
{icon name=information} Voir la documentation du wiki
{/if} {* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}