From 6eec435583ae2baf7ddfe975ccf726a9ac50c264 Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Fri, 22 Oct 2004 12:05:46 +0000 Subject: [PATCH] mobile bug --- ChangeLog | 1 + include/search.classes.inc.php | 4 ++-- templates/search.result.private.tpl | 10 ++++++++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 15ae55d..8a41e68 100644 --- 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) : diff --git a/include/search.classes.inc.php b/include/search.classes.inc.php index 09c853d..67a5d89 100644 --- a/include/search.classes.inc.php +++ b/include/search.classes.inc.php @@ -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, diff --git a/templates/search.result.private.tpl b/templates/search.result.private.tpl index 832a7db..a74185a 100644 --- a/templates/search.result.private.tpl +++ b/templates/search.result.private.tpl @@ -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 $ ***************************************************************************}
@@ -54,7 +54,7 @@ {/if} {else}
- {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} {if $result.nat} @@ -68,6 +68,12 @@ {/if} + {if $result.mobile} + + + + + {/if} {if $result.pays || $result.ville || $result.region} -- 2.1.4
{$result.web}
Mobile:{$result.mobile}
GĂ©ographie: