Improves search display.
authorStéphane Jacob <sj@m4x.org>
Mon, 22 Jun 2009 19:56:03 +0000 (21:56 +0200)
committerStéphane Jacob <sj@m4x.org>
Sat, 27 Jun 2009 09:41:32 +0000 (11:41 +0200)
templates/search/adv.form.tpl
templates/search/quick.form.tpl

index 2fcc841..b600cf1 100644 (file)
     });
 -->
 {/literal}</script>
+<p class="center">[<a href="search">Revenir à la recherche simple</a>]</p>
 <form id="recherche" action="search/adv" method="get">
   <table class="bicol" cellpadding="3" summary="Recherche">
     <tr>
       <th colspan="2">
-        Recherche avancée [<a href="search">Revenir à la Recherche simple</a>]
+        Recherche avancée
       </th>
     </tr>
     <tr>
index d6693ec..d04b0da 100644 (file)
       </td>
     </tr>
     <tr class="noprint">
-      <td style="width: 60%">
+      <td style="width: 70%">
         <input type="checkbox" name="with_soundex" id="with_soundex" value="1" {if $smarty.request.with_soundex}checked="checked"{/if} /> <label for="with_soundex">Activer la recherche par proximité sonore.</label>
         <br /><input type='checkbox' name='order' id="order" value='date_mod' {if $smarty.request.order eq "date_mod"}checked='checked'{/if} /> <label for="order">Mettre les fiches modifiées récemment en premier.</label>
         <br /><input type='checkbox' name='nonins' id="nonins" {if $smarty.request.nonins}checked='checked'{/if} value='1' /> <label for="nonins">Chercher uniquement des non inscrits.</label>
       </td>
+      <td class="right">
+        <br /><input type="submit" value="Chercher" />
+      </td>
     {else}
     <tr class="noprint">
       <td style="width: 60%">
         <input type='text' name="quick" value="{$smarty.request.quick}" style="width: 98%" /><br />
       </td>
-    {/if}
       <td class="right">
-        [<a href="search/adv">Recherche avancée</a>]
-        <br /><br /><input type="submit" value="Chercher" />
+        <input type="submit" value="Chercher" />
       </td>
+    {/if}
     </tr>
   </table>
 </form>
-
-<br />
+{if $smarty.session.auth ge AUTH_COOKIE}
+<p class="center">[<a href="search/adv">Effectuer une recherche avancée</a>]</p>
+{/if}
 
 {if $show_js}
 {literal}