some tiny things
authorx2000habouzit <x2000habouzit>
Tue, 23 Nov 2004 10:07:28 +0000 (10:07 +0000)
committerx2000habouzit <x2000habouzit>
Tue, 23 Nov 2004 10:07:28 +0000 (10:07 +0000)
templates/search.quick.form.tpl
templates/search.quick.tpl

index 914b8ca..b339f51 100644 (file)
@@ -17,7 +17,7 @@
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************
-        $Id: search.quick.form.tpl,v 1.3 2004-11-13 12:17:55 x2000habouzit Exp $
+        $Id: search.quick.form.tpl,v 1.4 2004-11-23 10:07:28 x2000habouzit Exp $
  ***************************************************************************}
 
 <h1>Recherche simple dans l'annuaire</h1>
 <form action="{"search.php"|url}" method="get">
   <table class="bicol" cellspacing="0" cellpadding="4">
     <tr>
-      <td class='center' style="width: 78%">
+      <td style="width: 78%">
         <input type='text' name="quick" value="{$smarty.request.quick}" style="width: 100%" /><br />
+        {min_auth level='cookie'}
+        <input type='checkbox' name='mod_date_sort' {if $smarty.request.mod_date_sort}checked='checked'{/if} />
+        mettre les fiches modifiées récemment en premier
+        {/min_auth}
       </td>
       <td>
         <input type="submit" value="Chercher" />
index ef2754c..ae1c527 100644 (file)
@@ -17,7 +17,7 @@
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************
-        $Id: search.quick.tpl,v 1.2 2004-11-17 18:11:46 x2000habouzit Exp $
+        $Id: search.quick.tpl,v 1.3 2004-11-23 10:07:28 x2000habouzit Exp $
  ***************************************************************************}
 
 {include file="search.quick.form.tpl"}
@@ -37,8 +37,8 @@ mais elle accepte de plus la syntaxe suivante pour les <strong>promos</strong> :
   <li>&gt;1990 : signifie promos supérieures ou égales à 1990</li>
 </ul>
 <p>
-Ainsi, rechercher tous les "Pierre" sur les promos 1980 à 1990 et sur la promo 2000 se fait avec la recherche :
-[ Pierre 1980-1990 2000 ]
+Ainsi, rechercher tous les "Dupont" sur les promos 1980 à 1990 et sur la promo 2000 se fait avec la recherche :
+[ Dupont 1980-1990 2000 ]
 </p>
 
 <h2>Astuce pour les noms ...</h2>