ppl enames are clickable + Changelog
authorx2000habouzit <x2000habouzit>
Mon, 25 Oct 2004 11:54:59 +0000 (11:54 +0000)
committerx2000habouzit <x2000habouzit>
Mon, 25 Oct 2004 11:54:59 +0000 (11:54 +0000)
ChangeLog
templates/include/minifiche.tpl
templates/include/minifiche_pvt.tpl

index 8078721..2de86ff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,13 +16,11 @@ Changes :
                - Brand New NewsLetter module.                                                                          -MC
                - Convert old archive to new model.                                                                     -FAL
 
-       * Search :
-               - dead members and non subsribed people are grayed.                                     -MC
-               - dead members now have the date of death printed.                                      -MC
-               - better things done for married women.                                                         -MC
-               - Mobile is know printed too.                                                                           -MC
-       
        * Search+Contacts :
+               - better things done for married women.                                                         -MC
+               - deceased members and non-subscribers special treatments.                      -MC
+               - Mobile is now printed too.                                                                            -MC
+               - People names are clickable.                                                                           -MC
                - Unified template.                                                                                                     -JS
 
        * Skins:
index b167ba3..7cd1ad3 100644 (file)
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************
-        $Id: minifiche.tpl,v 1.2 2004-10-24 15:52:48 x2000habouzit Exp $
+        $Id: minifiche.tpl,v 1.3 2004-10-25 11:55:00 x2000habouzit Exp $
  ***************************************************************************}
 
 
 <div class="contact" {min_auth level='cookie'}title="fiche mise à jour le {$c.date|date_format:"%d %b %Y"}"{/min_auth}>
   <div class="nom">
-    {if $c.epouse}{$c.epouse} {$c.prenom}<br />(née {$c.nom}){else}{$c.nom} {$c.prenom}{/if}
+    {min_auth level="cookie"}
+    {if !$c.dcd && $inscrit}
+    <a href="javascript:x()" onclick="popWin('fiche.php?user={$c.forlife}','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=800,height=500')">
+    {/if}
+    {/min_auth}
+      {if $c.epouse}{$c.epouse} {$c.prenom}<br />(née {$c.nom}){else}{$c.nom} {$c.prenom}{/if}
+    {min_auth level="cookie"}
+    {if !$c.dcd && $inscrit}
+    </a>
+    {/if}
+    {/min_auth}
   </div>
   <div class="appli">
     {strip}
index c6f2971..833292f 100644 (file)
@@ -17,7 +17,7 @@
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************
-        $Id: minifiche_pvt.tpl,v 1.3 2004-10-24 15:52:48 x2000habouzit Exp $
+        $Id: minifiche_pvt.tpl,v 1.4 2004-10-25 11:55:00 x2000habouzit Exp $
  ***************************************************************************}
 
 
@@ -30,7 +30,8 @@
       <img src="images/vcard.png" alt="Afficher la carte de visite" title="Afficher la carte de visite" />
     </a>
     <a href="mescontacts.php?action={$show_action}&amp;user={$c.forlife}">
-      <img src="images/{$show_action}.gif" alt="{if $show_action eq "ajouter"}Ajouter à mes{else}Retirer de mes{/if} contacts" title="{if $show_action eq "ajouter"}Ajouter à mes{else}Retirer de mes{/if} contacts" />
+      <img src="images/{$show_action}.gif" alt="{if $show_action eq "ajouter"}Ajouter à mes{else}Retirer de mes{/if} contacts"
+        title="{if $show_action eq "ajouter"}Ajouter à mes{else}Retirer de mes{/if} contacts" />
     </a>
     {if $c.dcd neq 1}
     {perms level='admin'}