X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fsearch%2Findex.tpl;h=5470feebb2095cd334a69efb2662844698843755;hb=7c8b692c4bc04cdac02c74f29a988f9f9f4ee398;hp=2a25ee67c44cee55342ee3af13a044653f570502;hpb=8c4a0c30c699f190cb7906746e22f67014df3368;p=platal.git diff --git a/templates/search/index.tpl b/templates/search/index.tpl index 2a25ee6..5470fee 100644 --- a/templates/search/index.tpl +++ b/templates/search/index.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2011 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} @@ -30,7 +30,7 @@ {/if} {/if} - {include file='core/plset.tpl'} + {include core=plset.tpl} {if $search_pages_nb > 1}
@@ -44,29 +44,27 @@
{/if} + {if $search_results_nb eq 1}{literal} + + {/literal}{/if} + {if $smarty.session.auth ge AUTH_COOKIE} -