On Tue, 28 Oct 2003 suppressed wrote:
> Which could possibly be collapsed to ...
>
> $template->param(
> stuff => [
> {
> openlevel => 1,
> title => 'foo',
> url => 'foo.html',
> },
> {
> openlevel => 1,
> title => 'foo-1',
> url => 'foo-1.html',
> closelevel => 1,
> },
> {
> closelevel => 1,
> }
> ]
> );
>
> Is that what you were thinking of? I guess that this could then work in a
> single template.
Yes, exactly. Whether you use 'open/close' markers or an explicite
'depth' parameter is a matter of style.
-sam
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.