[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZMI - zmi.zcml:1.3
Stephan Richter
srichter@cbu.edu
Sat, 15 Jun 2002 05:10:09 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/ZMI
In directory cvs.zope.org:/tmp/cvs-serv12363
Modified Files:
zmi.zcml
Log Message:
I hooked up Sidei's stylesheets and icon. Cleaned up th eHTML and CSS a bit
too.
There was also a buglet in the TAL interpreter, where the message id was
sometimes None. This was due to a wrong usage of i18n:attributes, where
someone did:
<input name="Delete"
i18n:attributes="name string:delete_button">
whereby the right form is:
<input name="Delete"
tal:attributes="name string:delete_button"
i18n:attributes="name">
After I removed the wrong syntax no None was sent to translate anymore, but
just to make sure I left the code inside.
I think that an exception should be raised, if i18n:attributes is used
incorrectly like this, but that is really Fred and Barry's department.
=== Zope3/lib/python/Zope/App/ZMI/zmi.zcml 1.2 => 1.3 ===
allowed_interface=".ZMIViewUtility.IZMIViewUtility"
factory=".ZMIViewUtility." />
+
+ <browser:resource name="zopetopBasic.css"
+ file="www/zopetopBasic.css"/>
+ <browser:resource name="zopetopWidgets.css"
+ file="www/zopetopWidgets.css"/>
+ <browser:resource name="zopetopStructure.css"
+ file="www/zopetopStructure.css"/>
+
+ <browser:resource name="arrowUp.gif" file="www/arrowUp.gif"/>
<content class=".IGenericCreatorMarker.">
<security:require