X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fuseredit.mail.tpl;h=ad35662b9ae2aacf1c05210e0b5a1c04c19acc9c;hb=e33b29e5c75ec3dd8ddcc2fac2509f862bb18596;hp=2b737d646c5e03caa73f2d7d0e805797376de5d9;hpb=179afa7fa79902e11498314d37fe4dbf452b3617;p=platal.git diff --git a/templates/admin/useredit.mail.tpl b/templates/admin/useredit.mail.tpl index 2b737d6..ad35662 100644 --- a/templates/admin/useredit.mail.tpl +++ b/templates/admin/useredit.mail.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 *} @@ -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}