ajout d'un lien vers la modification du profil dans sa propre fiche, bug 406
authorx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 4 Jun 2006 15:30:11 +0000 (15:30 +0000)
committerx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 4 Jun 2006 15:30:11 +0000 (15:30 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@290 839d8a87-29fc-0310-9880-83ba4fa771e5

ChangeLog
templates/fiche.tpl

index 75c4c8c..06046a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,9 @@ Bug/Wish :
     * Core :
         - #411: Count chars in events proposals to make them smaller.       -Car
         
+    * Profile :
+        - #406: Direct link in owner's fiche to edit it.                    -Car
+
     * Newsletter :
         - #410: In Html newsletter add a link to go back to summary.        -Car
 
index 26865cb..f1b2994 100644 (file)
@@ -32,6 +32,10 @@ function chgMainWinLoc( strPage ) {
 </script>
 {/literal}
 
+{if $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">