[Zope] Could Someone Clean This DTML Up?
beno
zope@thewebsons.com
Sun, 05 Jan 2003 18:16:22 -0400
Hi;
Here's my code. I know there are all sorts of errors. But I'm not sure
where in the documentation to find the corrections (other than somewhere in
the Zope Book). Your help would be appreciated.
<dtml-let lang="REQUEST.get('HTTP_ACCEPT_LANGUAGE')">
<dtml-in expr="context.objectsInTheFolder">
<dtml-if expr="&dtml-id==&dtml-lang">
<dtml-let approved="&dtml-lang">
<dtml-else>
<dtml-let approved="en-us">
</dtml-if>
</dtml-in>
</dtml-let>
TIA,
beno