#426 : add an identification header in xnet mails too
[platal.git] / templates / search / index.tpl
index 8c9b080..9f19adc 100644 (file)
@@ -34,7 +34,7 @@
     {if $search_results_nb==0}Aucune{else}{$search_results_nb}{/if} réponse{if $search_results_nb>1}s{/if}.
   </h1>
 
-  {if $search_results_nb and $advanced and !$simple and $use_map}
+  {if $search_results_nb and $advanced and !$simple and $globals->geoloc->use_map}
   <p>
     [<a href='geoloc/?{$search_vars}'>Voir la recherche sur une carte</a>].
   </p>
@@ -82,7 +82,7 @@
   {/if}
   {/if}
 
-  {min_auth level='cookie'}
+  {if $smarty.session.auth ge AUTH_COOKIE}
   <br />
   {if $smarty.capture.list|smarty:nodefaults|display_lines > 20}
   {if $advanced}
@@ -95,7 +95,7 @@
   <p>
   <strong>Astuce:</strong>
   Si tu survoles une fiche, tu sauras quand elle a été mise à jour la dernière fois !</p>
-  {/min_auth}
+  {/if}
 {else}
   {if $advanced}
   {include file=search/adv.form.tpl}