I like to be complete
authorx2000habouzit <x2000habouzit>
Fri, 29 Oct 2004 02:11:05 +0000 (02:11 +0000)
committerx2000habouzit <x2000habouzit>
Fri, 29 Oct 2004 02:11:05 +0000 (02:11 +0000)
templates/fiche.tpl

index d78a393..8d3eebb 100644 (file)
@@ -17,7 +17,7 @@
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************
-        $Id: fiche.tpl,v 1.17 2004-10-16 14:54:50 x2000habouzit Exp $
+        $Id: fiche.tpl,v 1.18 2004-10-29 02:11:05 x2000habouzit Exp $
  ***************************************************************************}
 
 
 <div id="fiche">
 
 <div id="fiche_identite">
-  <div class="civilite">{$prenom} {if $epouse eq ""}{$nom}{else}{$epouse} ({$nom}){/if}
+  <div class="civilite">
+    {$prenom} {if $epouse eq ""}{$nom}{else}{$epouse} ({$nom}){/if}&nbsp;
     <a href="vcard.php/{$forlife}.vcf?x={$user_id}">
       <img src="images/vcard.png" alt="Afficher la carte de visite" title="Afficher la carte de visite"/>
-    </a>&nbsp;
+    </a>
     {if !$is_contact}
     <a href="javascript:x()"  onclick="popWin('mescontacts.php?action=ajouter&amp;user={$forlife}')">
       <img src="images/ajouter.gif" alt="Ajouter à mes contacts" title="Ajouter à mes contacts" />
-    </a>&nbsp;
+    </a>
+    {else}
+    <a href="javascript:x()"  onclick="popWin('mescontacts.php?action=retirer&amp;user={$forlife}')">
+      <img src="images/retirer.gif" alt="Retirer de mes contacts" title="Retirer de mes contacts" />
+    </a>
     {/if}
   </div>
   <div class='right' style="font-size: smaller; width:100%">(Fiche mise à jour le {$date|date_format:"%d %B %Y"})</div>