[Zope] A better way...

Arnaud Lecat lecat@hexanet.fr
Thu, 23 Sep 1999 10:18:11 +0200


Hi... here's a piece of code...

<dtml-with expr="PARENTS[_.len(PARENTS)-2]">
<dtml-if "navigate_filter('donav','yes',_.None)">
<TABLE BORDER=1 CELLPADDING=0 CELLSPACING=0 width="130">
<dtml-in "navigate_filter('donav','yes',_.None)" skip_unauthorized=1>
    <TR><TD>Folder : <dtml-var title></TD></TR>
</dtml-in>
</TABLE>
</dtml-if>
</dtml-with>

I'm sure there's a better way to do for grouping the dtml-if and dtml-in
in this case...

Any idea ?

--
       >> WinErr: 080 Clavier introuvable - Veuillez appuyer
          sur n'importe quelle touche pour continuer. <<


Arnaud LECAT >> Email: lecat@hexanet.fr >> WWW
page:www.hexanet.fr/~lecat

                    HEXANET >> http://www.hexanet.fr

                Z.A. Farman sud - 9 rue Roland Coffignot
                 BP 415 - 51689 Reims Cedex 2 - France
     phone: (33) 03 26 79 30 05             Fax: (33) 03 26 79 30 06