1 {**************************************************************************}
3 {* Copyright (C) 2003-2006 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
6 {* This program is free software; you can redistribute it and/or modify *}
7 {* it under the terms of the GNU General Public License as published by *}
8 {* the Free Software Foundation; either version 2 of the License, or *}
9 {* (at your option) any later version. *}
11 {* This program is distributed in the hope that it will be useful, *}
12 {* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13 {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14 {* GNU General Public License for more details. *}
16 {* You should have received a copy of the GNU General Public License *}
17 {* along with this program; if not, write to the Free Software *}
18 {* Foundation, Inc., *}
19 {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
21 {**************************************************************************}
24 {if $formulaire==0 and !$xorg_errors|count}
27 {include file='search.quick.form.tpl' show_js=1}
29 {include file=search.adv.links.tpl do_title=1 with_soundex=$with_soundex}
34 {if $search_results_nb==0}Aucune{else}{$search_results_nb}{/if} réponse{if $search_results_nb>1}s{/if}.
37 {if $search_results_nb and $advanced and !$simple and $use_map}
39 [<a href='geoloc/?{$search_vars}'>Voir la recherche sur une carte</a>].
43 {if $search_results_nb > 1}
46 {foreach from=$search_order_link item=tri}
47 [<a href='{$tri.url}'>
48 {if $tri.asc or $tri.desc}<strong>{/if}
50 {if $tri.desc}<img src='{rel}/images/up.png' alt='tri ascendant' />{/if}
51 {if $tri.asc}<img src='{rel}/images/dn.png' alt='tri descendant' />{/if}
52 {if $tri.asc or $tri.desc}</strong>{/if}
58 {if $search_results_nb}
59 <div class="contact-list" style="clear:both">
61 {iterate item=res from=$search_results}
62 {if $res.contact || $res.watch}
63 {include file=include/minifiche.tpl c=$res show_action="retirer"}
65 {include file=include/minifiche.tpl c=$res show_action="ajouter"}
69 {$smarty.capture.list|smarty:nodefaults}
72 {if $search_pages_nb > 1}
74 {foreach from=$search_pages_link item=l}
75 {if $l.i eq $search_page}
76 <span class="erreur">{$l.text}</span>
78 <a href="{$l.u}">{$l.text}</a>
85 {min_auth level='cookie'}
87 {if $smarty.capture.list|smarty:nodefaults|display_lines > 20}
89 {include file=search.adv.links.tpl do_title=1}
91 {include file='search.quick.form.tpl'}
96 <strong>Astuce:</strong>
97 Si tu survoles une fiche, tu sauras quand elle a été mise à jour la dernière fois !</p>
101 {include file="search.adv.form.tpl"}
103 {include file="search.quick.tpl"}
108 {* vim:set et sw=2 sts=2 sws=2: *}