From 23a046a349a8b547ddc053aa4abb616e94e9ddf7 Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Sat, 13 Nov 2004 12:16:45 +0000 Subject: [PATCH] closes FS#197 --- templates/search.tpl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/templates/search.tpl b/templates/search.tpl index 9bdd705..19655dc 100644 --- a/templates/search.tpl +++ b/templates/search.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: search.tpl,v 1.27 2004-11-13 11:46:31 x2000habouzit Exp $ + $Id: search.tpl,v 1.28 2004-11-13 12:16:45 x2000habouzit Exp $ ***************************************************************************} {dynamic} @@ -72,7 +72,13 @@ {min_auth level='cookie'}
- {if $advanced && $smarty.capture.list|smarty:nodefaults|display_lines > 20}{include file=search.adv.links.tpl do_title=1}{/if} + {if $smarty.capture.list|smarty:nodefaults|display_lines > 20} + {if $advanced} + {include file=search.adv.links.tpl do_title=1} + {else} + {include file='search.quick.form.tpl'} + {/if} + {/if}

Astuce: -- 2.1.4