Re[2]: Re: section title block

From: Date: Sun, 25 Feb 2001 20:04:52 +0000
Subject: Re[2]: Re: section title block
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-220@lists.php.net to get a copy of this message
Hello Andrei, Sunday, February 25, 2001, 6:22:22 PM, you wrote: AZ> At 01:20 PM 2/25/01 +0100, Joris Trooster wrote: >>I agree with Sergey. It would be great to have something like this (see >>below). Easy to understand for designers, much better than all the if >>statements. >> >>{section...} >>{sectionheader} >> //section header data goes here >>{sectionrows} >> //section row goes here >>{sectionfooter} >> //section footer data goes here >>{sectionelse} >>{/section} AZ> And what happens if you put something between {section..} and {sectionheader}? Look at my suggestions in the original letter: {section...} //section row goes here {section_header} //section header data goes here {section_footer} //section footer data goes here {sectionelse} {/section} OR {section...} {section_header} //section header data goes here {section_rows} //section row goes here {section_footer} //section footer data goes here {sectionelse} {/section} OR {section...} //section header data goes here {section_rows} //section row goes here {section_footer} //section footer data goes here {sectionelse} {/section} section_header and section_footer are ignored if there are no rows of course. AZ> I cannot promise this will get implemented because it would be very tough AZ> to do due to the way parsing is done. What is the problem? It seems very strait for me. AZ> -Andrei -- Best regards, Sergey mailto:esv@37.ru

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