X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fnewsletter%2Fedit.tpl;h=90ae27f0cdc0d92fdd4fc66a54a2fbbbc93dd84f;hb=105427e9fd39bad5e5fa972528d77032e2cd4b93;hp=dbe7e38a515115ada66663f627f788491f7ccc41;hpb=8269d2d652f539cd06117bac1e51f4e2182520b4;p=platal.git diff --git a/templates/newsletter/edit.tpl b/templates/newsletter/edit.tpl index dbe7e38..90ae27f 100644 --- a/templates/newsletter/edit.tpl +++ b/templates/newsletter/edit.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -21,29 +21,56 @@ {**************************************************************************}

- Lettre de Polytechnique.org de {$nl->_date|date_format:"%B %Y"} + {$nl->name} de {$issue->date|date_format:"%B %Y"}

{if !$art}

-[liste] -[visualiser] +[liste] +[visualiser] +

-
+ + + + + @@ -51,16 +78,20 @@ Nom @@ -68,28 +99,101 @@ Titre + + + + + {if $nl->automaticMailingEnabled() && ($issue->isEditable() || $issue->isPending())} + + + + + {/if} + {if $issue->isEditable()} + {if $nl->criteria->hasFlag('promo')} + + + + + {/if} + {if $nl->criteria->hasFlag('axid')} + + + + + {/if} + {/if}
- Propriétés de la newsletter + 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 - {$nl->_id} + {$issue->id}
- - (Ex : 2006-06 pour la NL de juin 2006) + {if $issue->isEditable()} + + (Ex : 2006-06 pour la NL de juin 2006) + {else} + {$issue->shortname} + {/if}
- Titre du mail + Titre de l'email - +
- +
- Date d'envoi + 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)
- +
- Intro de la lettre + Signature de la lettre - +
+ Date d'envoi + + {if $issue->isEditable()} + Le {valid_date name="send_before_date" value=$issue->getSendBeforeDate() from=3 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 + + + + +  et  + + +
Matricule AX + +
+ 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) +
- +
@@ -100,41 +204,75 @@ - - {foreach from=$nl->_arts item=arts key=cat} + {foreach from=$issue->arts item=arts key=cat} {foreach from=$arts item=art} - {/foreach} {/foreach}
- Créer un nouvel article ... + Créer un nouvel article… - [créer] + + {icon name=add title="créer"}
- {$nl->_cats[$cat]|default:"[no cat]"} + {$issue->category($cat)|default:"[no category]"}
-
{$art->toText($smarty.session.prenom,$smarty.session.nom,$smarty.session.femme)|smarty:nodefaults}
+
{$art->toText('%hash%','%login%')}
- Pos: {$art->_pos}
- [edit]
- [delete] +
+ 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] +[retour]

-{if !$art->check()}

article trop long !

{/if} @@ -152,11 +290,11 @@
- +
Version texte
@@ -166,12 +304,12 @@ - + @@ -179,7 +317,7 @@ @@ -189,11 +327,17 @@ - + + + + +
- Editer un article + Éditer un article
CatégorieCatégorie
Position - +
Ajouts (emails, contacts, tarifs, site web, ...)Ajouts (emails, contacts, tarifs, site web…)
+ {icon name=information} Voir la documentation du wiki +
@@ -206,4 +350,4 @@ {/if} -{* vim:set et sw=2 sts=2 sws=2: *} +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}