On Tue, 28 Oct 2003 [EMAIL PROTECTED] 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/[EMAIL PROTECTED]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to