From 15e1e76a17ede0efcaca2ddf5ffed1c6de458a90 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Mon, 15 Jun 2009 22:40:15 +0200 Subject: [PATCH] Only displays the OK button when there is some text typed in the search box. --- templates/skin/common.title.header.tpl | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/templates/skin/common.title.header.tpl b/templates/skin/common.title.header.tpl index ad75c91..39b9f51 100644 --- a/templates/skin/common.title.header.tpl +++ b/templates/skin/common.title.header.tpl @@ -34,9 +34,14 @@
- + onfocus="if (this.value === 'Recherche dans l\'annuaire') this.value=''; + $('#quick_button').show()" + onblur="if (this.value === '') this.value='{$smarty.request.quick|default:"Recherche dans l'annuaire"|escape:javascript}' + $('#quick_button').hide()"/> +
{if $smarty.session.auth gt AUTH_PUBLIC && $smarty.session.notifs} -- 2.1.4