X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fsearch%2Findex.tpl;h=c0619c48653d4b166c98f9f09e1d66a6a0f1ebc8;hb=a8ec822c26f2a4e1c46e22620f52a0c5550c6511;hp=93c46499d92f79248c54498aede6c25f05dbea26;hpb=92432704df1eccf5ca67be2127a2bdd21376a2bf;p=platal.git diff --git a/templates/search/index.tpl b/templates/search/index.tpl index 93c4649..c0619c4 100644 --- a/templates/search/index.tpl +++ b/templates/search/index.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2014 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -21,7 +21,7 @@ {**************************************************************************} -{if $formulaire eq 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,8 +29,8 @@ {include file=search/adv.links.tpl do_title=1 with_soundex=$with_soundex} {/if} {/if} - - {include file='core/plset.tpl'} + + {include core=plset.tpl} {if $search_pages_nb > 1}
@@ -44,18 +44,27 @@
{/if} + {if $search_results_nb eq 1}{literal} + + {/literal}{/if} + {if $smarty.session.auth ge AUTH_COOKIE}