X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Femails%2Fsend.tpl;h=99326de88c68f5a6a968cb5435c875a7d58a94f5;hb=51fb3b6facb76baf990d0407baf9be4c669fffa7;hp=74c5c71c2e30f4ba8f091773526231b43c7cd101;hpb=faefdbb72b58e3b1867fc7bbdfe8e872d7e8cbc0;p=platal.git diff --git a/templates/emails/send.tpl b/templates/emails/send.tpl index 74c5c71..99326de 100644 --- a/templates/emails/send.tpl +++ b/templates/emails/send.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -150,13 +150,20 @@ saveMessage(); return true; }); + $(document).ready( + function() { + // Remove empty options in select (they were added only for HTML + // compatibility). + $('#to_contacts option[value=""]').remove(); + $('#cc_contacts option[value=""]').remove(); + }); {/literal} //]]>

{icon name=information title="Envoi d'email"} Pour envoyer un email, tu peux soit le faire depuis l'interface - ci-dessous, soit utiliser notre serveur d'envoi SMTP. + ci-dessous, soit utiliser notre serveur d'envoi SMTP.

@@ -172,7 +179,7 @@ @@ -211,49 +218,60 @@

+ {if !$to_not_empty} + {* HTML compatibility *} + + {/if} + + {if !$to_not_empty} + {/if} +
Destinataires
- >> >>
- << << + >> >>
+ << <<
En copie
- >> >>
- << << + >> >>
+ << <<
- {foreach item=contact from=$contacts} - - {/foreach} {/if} @@ -262,8 +280,8 @@ Sujet : 
Tu peux utiliser des {icon name=information title="Syntaxe wiki"} marqueurs wiki pour formatter ton texte.
- - coche cette case pour envoyer l'email en texte brut, sans formattage +