[Zope-dev] Re: ZPatterns.. Property sheets... once and for all. ;-)

Steve Alexander steve@cat-box.net
Thu, 24 Aug 2000 19:30:19 +0100


Steve, 

Ok, it is a bug in manage_tabs.

Here's a proper fix:

  <dtml-if manage_options>
  <dtml-with "_(option=manage_options[a_])">
  <dtml-if "option.has_key('help')">
  <td align="right" valign="top">
  <dtml-var "HelpSys.button(HelpSys, REQUEST, 
      product=option['help'][0],
      topic=option['help'][1])">
  </td>
  </dtml-if></dtml-with></dtml-if>

Replace the <dtml-comment> with <dtml-if manage_options> and
</dtml-comment> with </dtml-if>.

I'm putting this in the Collector.

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net