X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fsearch%2Findex.tpl;h=99471bdbc805d77613cebdbccb6a13a508fc4ebe;hb=63f06a435ff8e9c058b1dee1eb97fff99606d490;hp=1404886216672490617c49ed8c2f646126559731;hpb=e336465e05bbca91fd0eb3f5b4c27f1391529f98;p=platal.git diff --git a/templates/search/index.tpl b/templates/search/index.tpl index 1404886..99471bd 100644 --- a/templates/search/index.tpl +++ b/templates/search/index.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -21,7 +21,7 @@ {**************************************************************************} -{if $formulaire==0 and !$xorg_errors|count} +{if $formulaire eq 0 and !$pl_errors} {if !$simple} {if !$advanced} {include file=search/quick.form.tpl show_js=1} @@ -29,45 +29,8 @@ {include file=search/adv.links.tpl do_title=1 with_soundex=$with_soundex} {/if} {/if} - -
- [Voir la recherche sur une carte]. -
- {/if} - {if $search_results_nb > 1} -@@ -80,21 +43,38 @@ {/foreach}
{/if} - {/if} + + {if $search_results_nb eq 1}{literal} + + {/literal}{/if} {if $smarty.session.auth ge AUTH_COOKIE} -- Astuce: - Si tu survoles une fiche, tu sauras quand elle a été mise à jour la dernière fois !
+ {/if} {else} {if $advanced} @@ -105,4 +85,4 @@ {/if} -{* vim:set et sw=2 sts=2 sws=2: *} +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}