* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: search.php,v 1.44 2004-11-04 13:54:50 x2000habouzit Exp $
+ $Id: search.php,v 1.45 2004-11-04 14:54:39 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
WHERE '.$fields->get_where_statement().'
ORDER BY '.(logged() && !empty($_REQUEST['mod_date_sort']) ? 'date DESC,' :'')
.implode(',',array_filter(array($fields->get_order_statement(),'u.promo DESC,NomSortKey,prenom'))).'
- LIMIT '.(isset($_REQUEST['lucky']) ? "1" : $offset->value.','.$globals->search_results_per_page);
+ LIMIT '.$offset->value.','.$globals->search_results_per_page;
$page->mysql_assign($sql, 'resultats', 'nb_resultats','nb_resultats_total');
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: search.quick.form.tpl,v 1.1 2004-11-04 13:50:45 x2000habouzit Exp $
+ $Id: search.quick.form.tpl,v 1.2 2004-11-04 14:54:41 x2000habouzit Exp $
***************************************************************************}
-<h1>Recherche simple</h1>
+<h1>Recherche simple dans l'annuaire</h1>
{if $error}<p class="error">{$error}</p>{/if}
<tr>
<td class='center' style="width: 78%">
<input type='text' name="quick" value="{$smarty.request.quick}" style="width: 100%" /><br />
- <input type="submit" value="Recherche Annuaire" /><input type="submit" name='lucky' value="J'ai de la chance" />
</td>
<td>
+ <input type="submit" value="Chercher" />
{min_auth level="cookie"}
- <a class='smaller' href="advanced_search.php">Recherche avancée</a>
+ <br /><a class='smaller' href="advanced_search.php">Recherche avancée</a>
{/min_auth}
</td>
</tr>