* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: search.php,v 1.26 2004-10-14 11:47:06 x2000habouzit Exp $
+ $Id: search.php,v 1.27 2004-10-14 11:58:26 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
$page->assign('offsets',range(0,$nbpages));
$page->assign('url_args',$fields->get_url());
$page->assign('with_soundex',$with_soundex);
+ $page->assign('mod_date_sort',$mod_date_sort);
$page->assign('offset',$offset->value);
$page->assign('perpage',$globals->search_results_per_page);
$page->assign('is_admin',has_perms());
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: search.tpl,v 1.15 2004-10-12 21:55:42 x2000habouzit Exp $
+ $Id: search.tpl,v 1.16 2004-10-14 11:58:26 x2000habouzit Exp $
***************************************************************************}
{dynamic}
</td>
<td class="right titre">
{if $with_soundex==0}
- [<a href="{$smarty.server.PHP_SELF}?with_soundex=1&rechercher=1&{$url_args}">
+ [<a href="{$smarty.server.PHP_SELF}?with_soundex=1&rechercher=1&{$url_args}&mod_date_sort={$mod_date_sort}">
Recherche par proximité sonore</a>]
{/if}
[<a href="{$smarty.server.PHP_SELF}">Nouvelle recherche</a>]
{if $perpage < $nb_resultats_total}
<p>
{if $offset!=0}
- <a href="{$smarty.server.PHP_SELF}?with_soundex={$with_soundex}&rechercher=1&{$url_args}&offset={$offset-$perpage}">
+ <a href="{$smarty.server.PHP_SELF}?with_soundex={$with_soundex}&rechercher=1&{$url_args}&offset={$offset-$perpage}&mod_date_sort={$mod_date_sort}">
Précédent
</a>
{/if}
{section name=offset loop=$offsets}
{if $offset!=$smarty.section.offset.index*$perpage}
- <a href="{$smarty.server.PHP_SELF}?with_soundex={$with_soundex}&rechercher=1&{$url_args}&offset={$smarty.section.offset.index*$perpage}">
+ <a href="{$smarty.server.PHP_SELF}?with_soundex={$with_soundex}&rechercher=1&{$url_args}&offset={$smarty.section.offset.index*$perpage}&mod_date_sort={$mod_date_sort}">
{$smarty.section.offset.index+1}
</a>
{else}
{/section}
{if $offset < $nb_resultats_total-$perpage}
- <a href="{$smarty.server.PHP_SELF}?with_soundex={$with_soundex}&rechercher=1&{$url_args}&offset={$offset+$perpage}">
+ <a href="{$smarty.server.PHP_SELF}?with_soundex={$with_soundex}&rechercher=1&{$url_args}&offset={$offset+$perpage}&mod_date_sort={$mod_date_sort}">
Suivant
</a>