From c75602836d816c1797bbf62e93b8fcaa53a62154 Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Tue, 2 Nov 2004 07:19:07 +0000 Subject: [PATCH] closes FS#166 --- ChangeLog | 9 ++++++--- templates/search.tpl | 6 +++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index e4786cd..3acb5e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,17 +8,20 @@ Changes : - First instance of the plugin class : class Trombi. (FS#135) -MC - Now only use iso3166 countries, no more `nationalites`. -MC + * Contacts : + - Trombino of the contacts is available ! (FS#138) -MC + * Lists : - Refusal message is shown on mail moderation page. (FS#138) -MC + * Search : + - Hide SoundEX search when neither name nor second name selected. -MC + * Search+Contacts : - Homeland is now a flag. (FS#124) -MC - Women now have a • (no more dirty gender icons). (FS#122) -MC - Nicer icons. -MC - * Contacts : - - Trombino of the contacts is available ! (FS#138) -MC - Fixes (from 0.9.1 branch) : * Lists : diff --git a/templates/search.tpl b/templates/search.tpl index cb10219..9521846 100644 --- a/templates/search.tpl +++ b/templates/search.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: search.tpl,v 1.22 2004-11-02 06:51:31 x2000habouzit Exp $ + $Id: search.tpl,v 1.23 2004-11-02 07:19:07 x2000habouzit Exp $ ***************************************************************************} {dynamic} @@ -34,7 +34,7 @@ {if $nb_resultats_total==0}Aucune{else}{$nb_resultats_total}{/if} réponse{if $nb_resultats_total>1}s{/if}. - {if $with_soundex==0} + {if $with_soundex==0 && ($smarty.request.prenom || $smarty.request.nom)} [ Recherche par proximité sonore]  {/if} @@ -60,7 +60,7 @@ {if $nb_resultats_total==0}Aucune{else}{$nb_resultats_total}{/if} réponse{if $nb_resultats_total>1}s{/if}. - {if $with_soundex==0} + {if $with_soundex==0 && ($smarty.request.prenom || $smarty.request.nom)} [ Recherche par proximité sonore]  {/if} -- 2.1.4