[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_control - synPropertiesForm.pt:

Shane Hathaway shane@cvs.zope.org
Wed, 20 Feb 2002 15:15:24 -0500

Update of /cvs-repository/CMF/CMFDefault/skins/zpt_control
In directory cvs.zope.org:/tmp/cvs-serv27999/CMFDefault/skins/zpt_control

Modified Files:
      Tag: cmf-pre-1_3-branch
Log Message:
Merged changes from head, with a small change: the types tool does not need
to be extended in such a complex way.  I took out the type_type registry and
the __bobo_traverse__ hook and replaced it with the original code with only
minor mods that give you the same extensibility without all the hacking.
(If anyone actually wants to use the extensibility, which I suspect no one
is actually interested in doing, I will happily provide instructions and
will create a corrected unit test.)

=== CMF/CMFDefault/skins/zpt_control/synPropertiesForm.pt 1.2 => ===
 		   tal:define="upd python: portal_syndication.getUpdatePeriod(here)"
 		   tal:repeat="item portal_syndication/buildUpdatePeriods"
-		   tal:attributes="value python: item[0]; selected python: item == upd"
+		   tal:attributes="value python: item[0]; selected python: item[0] == upd"
 		   tal:content="python: item[1]">Hourly