[Zope-CMF] small bug (fix) in folder_contents and actions_box

marc lindahl marc@bowery.com
Mon, 10 Sep 2001 15:25:52 -0400


Line 73 of folder_contents.dtml should read:

           getIcon="_.hasattr(obj, 'getIcon') and obj.getIcon(1)"


the change is geticon(1) which returns just the icon, path relative to the
portal, since later on the portal-url is contatenated... otherwise you get
the portal root in there twice.


Same thing, line 42 of actions_box.dtml:

   <dtml-let getIcon="_.hasattr(obj, 'getIcon') and obj.getIcon(1)"


There might be other places too...