X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fuseredit.mail.tpl;h=ad35662b9ae2aacf1c05210e0b5a1c04c19acc9c;hb=c67b874fd8d442bfded35295a819e7ce11a2d6dc;hp=d1e423b9a3ef4b69fbff9dd4f39d458fb040c183;hpb=b71f7275d0abe31614da74e05524ac08033bbe18;p=platal.git diff --git a/templates/admin/useredit.mail.tpl b/templates/admin/useredit.mail.tpl index d1e423b..ad35662 100644 --- a/templates/admin/useredit.mail.tpl +++ b/templates/admin/useredit.mail.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -24,21 +24,18 @@ {if $mail_part eq 'head'} {from full=#from#} {to addr=#to#} -{subject text="INTERVENTION de $user"} +{subject text="INTERVENTION de $admin"} {elseif $mail_part eq 'wiki'} -Le profil du camarade {$old.prenom} {$old.nom} ({$old.promo}) a été édité.\\ + +Le compte de l'utilisateur {$hruid} a été édité.\\ Les champs suivants ont été changés : -{foreach from=$old item=value key=field} -{if $value neq $new[$field]} -* '''{$field}''' : {$value} -> {$new[$field]} -{/if} +{foreach from=$diff item=values key=field} +* '''{$field}''' : {$values.0} -> {$values.1} {/foreach} Et ceux qui n'ont pas changé : -{foreach from=$old item=value key=field} -{if $value eq $new[$field]} +{foreach from=$oldValues item=value key=field} * '''{$field}''' : {$value} -{/if} {/foreach} {/if}