X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Femails%2Fsend.tpl;h=a0d501aa6f56129544bbe276b10e3c55135d9c8e;hb=f74509fbb4f06820dc3d028e3ffd2145f151b013;hp=bfd0f4b0e421787101ee35e650eb81cd007a02c9;hpb=0c8cd507ad27b70c20e9f056b77fc286ee88e04f;p=platal.git diff --git a/templates/emails/send.tpl b/templates/emails/send.tpl index bfd0f4b..a0d501a 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,22 +150,33 @@ 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(); + }); + + $(document).ready(function() { + $("[name='to']").focus(); + }); {/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.

{xsrf_token_field} - + - + - + - + - + {/if} @@ -283,7 +305,7 @@ {$smarty.request.contenu} {if !$smarty.request.contenu} -- -{$smarty.session.prenom} {$smarty.session.nom} +{$smarty.session.user->full_name} {/if}
Destinataires
de : @@ -176,19 +187,19 @@ {/if}' />
à :
copie :
copie cachée : @@ -211,49 +222,60 @@

+ {if !$to_not_empty} + {* HTML compatibility *} + + {/if} + + {if !$to_not_empty} + {/if} +
Destinataires
- >> >>
- << << + >> >>
+ << <<
En copie
- >> >>
- << << + >> >>
+ << <<
- {foreach item=contact from=$contacts} - - {/foreach}