Re: [SMARTY] {section} feature request

From: Date: Wed, 26 Jun 2002 15:28:01 +0000
Subject: Re: [SMARTY] {section} feature request
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5032@lists.php.net to get a copy of this message
Hi, Roman Neuhauser wrote:
Background: we here found ourselves typing this far too often: {if sizeof($FOO)} ... printed once ... {section loop=$FOO name=x} ... printed many times ... {/section} ... printed once ... {/if}
{section loop=$FOO name=x} ... printed once ... {sectionbody} ... printed many times ... {/sectionbody} ... printed once ... {/section}
I hope you *do* realize that your proposed solution is actually more characters than your original code? :) Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl

« previous php.smarty.general (#5032) next »