bugs 396, 416 et 417 : interface de gestion des spams dans les ML + admin peuvent...
[platal.git] / templates / fiche.tpl
index 26865cb..07ddc86 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2004 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2006 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -32,6 +32,10 @@ function chgMainWinLoc( strPage ) {
 </script>
 {/literal}
 
+{if $logged and $x.forlife eq $smarty.session.forlife}
+[<a href="javascript:x()" onclick="chgMainWinLoc('{rel}/profil.php')">Modifier ma fiche</a>]
+{/if}
+
 <table id="fiche" cellpadding="0" cellspacing="0">
   <tr>
     <td id="fiche_identite">