Re: [SMARTY-DEV] nested ...templates?

From: Date: Fri, 12 Dec 2003 14:42:49 +0000
Subject: Re: [SMARTY-DEV] nested ...templates?
References: 1 2  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1981@lists.php.net to get a copy of this message
We can't do recursion with the tokenizer (unrolling bracket pairs), so these kind of things are out of the question. Maybe at some point we can move away from using preg_* for the parser, but that isn't too practical at the moment. Monte On Thu, 2003-12-11 at 20:02, Luna Kid wrote: > > It seems that the win-win situation is to get normal comments to nest > > properly. :) > > Umm, how about nesting templates properly?... ;-o > > {menu file={#menu_file#} } > > Well, that could only become actually useful if the > current attrib="value" syntax is extended to allow > "valueless" attributes, which could be replaced by > template-calls: > > {programlisting {$source_file} } > > Cheers, > Sz.

« previous php.smarty.dev (#1981) next »