Variable 'bestalias' in referent search was in fact a 'forlife'.
authorVincent Zanotti <vincent.zanotti@polytechnique.org>
Fri, 13 Jun 2008 12:53:04 +0000 (14:53 +0200)
committerVincent Zanotti <vincent.zanotti@polytechnique.org>
Fri, 13 Jun 2008 12:56:53 +0000 (14:56 +0200)
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
include/userset.inc.php
templates/include/plview.referent.tpl

index 3829090..a35cded 100644 (file)
@@ -231,7 +231,7 @@ class MentorView extends MultipageView
     public function fields()
     {
         return "m.uid, u.prenom, u.nom, u.promo,
-                a.alias AS bestalias, m.expertise, mp.pid,
+                a.alias AS forlife, m.expertise, mp.pid,
                 ms.secteur, ms.ss_secteur";
     }
 
index 14606ed..94225b4 100644 (file)
@@ -31,9 +31,9 @@
     </div> 
     <div class="bits" style="width: 40%;"> 
       <span class='smaller'> 
-      <a href="profile/{$p.bestalias}" class="popup2"> 
+      <a href="profile/{$p.forlife}" class="popup2">
         {icon name=user_suit title="Voir sa fiche"}</a> - 
-        <a href="referent/{$p.bestalias}" class="popup2">Voir sa fiche référent</a> 
+        <a href="referent/{$p.forlife}" class="popup2">Voir sa fiche référent</a>
       </span> 
     </div> 
     <div class="long">