Replace sectors by job terms in profile and search (job and mentoring).
[platal.git] / templates / include / trombi.tpl
index 29cc27a..b6cde5b 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2009 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -20,7 +20,7 @@
 {*                                                                        *}
 {**************************************************************************}
 
+
 <table cellpadding="8" cellspacing="2" style="width:100%;">
   {foreach from=$trombi_list item=p}
   {cycle values="1,2,3" assign="loop"}
         <img src="{$globals->baseurl}/photo/{$p.forlife}" width="110" alt=" [ PHOTO ] " />
       </a>
       {if $trombi_admin && hasPerm('admin') && !$urlmainsite}
-      <a href="admin/trombino/{$p.user_id}">
+      <a href="admin/trombino/{$p.uid}">
         {icon name=wrench title="[admin]"}</a>
       {/if}
       <br />
       <a href="{if $urlmainsite}{$urlmainsite}{/if}profile/{$p.forlife}" class="popup2">
-        {$p.prenom} {$p.nom}{if $trombi_show_promo} ({$p.promo}){/if}
+        {$p.name_display}{if $trombi_show_promo} ({$p.promo_display}){/if}
       </a>
     </td>
   {if $loop eq "3"}