Removes the red cross to reset contact search. Closes #1074
authorPascal Corpet <pascal.corpet@m4x.org>
Sat, 5 Jun 2010 12:09:00 +0000 (14:09 +0200)
committerPascal Corpet <pascal.corpet@m4x.org>
Sat, 5 Jun 2010 12:09:00 +0000 (14:09 +0200)
ChangeLog
templates/carnet/mescontacts.tpl

index f2a1676..b4da04f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,9 @@ New:
         - Centralises email management through an email combobox           -JAC
 
 Bug/Wish:
+    * Carnet:
+        - #1074: Removes the red cross to reset contact search             -Car
+
     * Core:
         - #1019: Allow 35 points passwords as announced                    -Car
         - #1059: Fix support of '?' in mail subjects                       -FRU
index 77a9bde..d8cd905 100644 (file)
@@ -87,7 +87,7 @@
              value="{$smarty.request.quick|default:'recherche dans tes contacts'}"
              onfocus="if (this.value == 'recherche dans tes contacts') this.value=''"
              onblur="if (this.value == '') this.value='recherche dans tes contacts'"/>
-      <a href="carnet/contacts">{icon name=cross title='Annuler la recherche'}</a>
+      {if $smarty.request.quick}<a href="carnet/contacts">{icon name=arrow_refresh title='Annuler la recherche'}</a>{/if}
   </div>
 </form>
 <p>