mobile bug
authorx2000habouzit <x2000habouzit>
Fri, 22 Oct 2004 12:05:46 +0000 (12:05 +0000)
committerx2000habouzit <x2000habouzit>
Fri, 22 Oct 2004 12:05:46 +0000 (12:05 +0000)
ChangeLog
include/search.classes.inc.php
templates/search.result.private.tpl

index 15ae55d..8a41e68 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,7 @@ Changes :
        * Search :
                - dead members and non subsribed people are grayed.                                     -MC
                - better things done for married women.                                                         -MC
+               - Mobile is know printed too.                                                                           -MC
 
 Fixes (from 0.9.0 branch) :
 
index 09c853d..67a5d89 100644 (file)
@@ -18,7 +18,7 @@
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************
-        $Id: search.classes.inc.php,v 1.22 2004-10-21 12:24:20 x2000habouzit Exp $
+        $Id: search.classes.inc.php,v 1.23 2004-10-22 12:05:47 x2000habouzit Exp $
  ***************************************************************************/
 
 require_once("xorg.misc.inc.php");
@@ -27,7 +27,7 @@ require_once("xorg.misc.inc.php");
  * Variables globales pour l'affichage des rĂ©sultats de la recherche
  */
 $globals->search_result_fields = '
-                u.epouse,u.date,u.web,
+                u.epouse,u.date,u.web,u.mobile,
                 ad0.text AS app0text, ad0.url AS app0url, ai0.type AS app0type,
                 ad1.text AS app1text, ad1.url AS app1url, ai1.type AS app1type,
                 e.entreprise, es.label AS secteur, ef.fonction_fr AS fonction,
index 832a7db..a74185a 100644 (file)
@@ -17,7 +17,7 @@
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************
-        $Id: search.result.private.tpl,v 1.18 2004-10-21 12:24:21 x2000habouzit Exp $
+        $Id: search.result.private.tpl,v 1.19 2004-10-22 12:05:47 x2000habouzit Exp $
  ***************************************************************************}
 
 <div class="bits">
@@ -54,7 +54,7 @@
 {/if}
 {else}
 <div class="long">
-  {if $result.nat || $result.web || $result.pays || $result.ville || $result.region || $result.entreprise}
+  {if $result.nat || $result.web || $result.mobile || $result.pays || $result.ville || $result.region || $result.entreprise}
   <table cellspacing="0" cellpadding="0">
     {if $result.nat}
     <tr>
       <td class="rt"><a href="{$result.web}">{$result.web}</a></td>
     </tr>
     {/if}
+    {if $result.mobile}
+    <tr>
+      <td class="lt">Mobile:</td>
+      <td class="rt">{$result.mobile}</td>
+    </tr>
+    {/if}
     {if $result.pays || $result.ville || $result.region}
     <tr>
       <td class="lt">GĂ©ographie:</td>