Shorten the quick search fields, needs to be weighed against the current qucik search...
authorOlivier Le Floch <olivier.le-floch@polytechnique.org>
Wed, 4 Mar 2009 00:27:05 +0000 (01:27 +0100)
committerOlivier Le Floch <olivier.le-floch@polytechnique.org>
Wed, 4 Mar 2009 00:46:01 +0000 (01:46 +0100)
Signed-off-by: Olivier Le Floch <olivier.le-floch@polytechnique.org>
templates/skin/common.title.header.tpl

index e86eca0..ad75c91 100644 (file)
                 {$globals->core->NbIns|number_format} polytechniciens sur le web
                 <form action="search" method="get">
                     <div>
-                        <input type="text" size="30" name="quick" id="quick" class="quick_search"
+                        <input type="text" size="20" name="quick" id="quick" class="quick_search"
                                value="{$smarty.request.quick|default:"Recherche dans l'annuaire"}"
                                onfocus="if (this.value === 'Recherche dans l\'annuaire') this.value=''"
                                onblur="if (this.value === '') this.value='{$smarty.request.quick|default:"Recherche dans l'annuaire"|escape:javascript}'"/>
-                        <button type="submit" onclick="if ($('#quick').val() === 'Recherche dans l\'annuaire') $('#quick').val('')">Rechercher</button>
+                        <button type="submit" onclick="if ($('#quick').val() === 'Recherche dans l\'annuaire') $('#quick').val('')">OK</button>
                     </div>
                 </form>
                 {if $smarty.session.auth gt AUTH_PUBLIC && $smarty.session.notifs}