Re: [SMARTY] Assign a template to a variable....

From: Date: Tue, 28 May 2002 13:41:53 +0000
Subject: Re: [SMARTY] Assign a template to a variable....
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4414@lists.php.net to get a copy of this message
On Mon, 27 May 2002, Peter Bowyer wrote: > How about removable sections like PHPLib templates? > > {section name=foo loop=1 show=$show_foo} loop=1 is the default if omitted. > if ($form == TRUE) { > $smarty->assign('show_foo', 1) Assign true of false here, please. -Andrei http://www.gravitonic.com/ Some people sell razors. Other people sell razor blades. Microsoft sells shaving cream containing 5% hair growth hormone. -- sigwinch, posting to Kuro5hin

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