r13404 - ArchGenXML/trunk/src/archgenxml/templates
"Philipp Auersperg" <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.archetypes.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: zworkb
Date: Mon Jan 10 07:56:31 2011
New Revision: 13404
Modified:
ArchGenXML/trunk/src/archgenxml/templates/field.pydtml
Log:
remove i18n import
Modified: ArchGenXML/trunk/src/archgenxml/templates/field.pydtml
==============================================================================
--- ArchGenXML/trunk/src/archgenxml/templates/field.pydtml (original)
+++ ArchGenXML/trunk/src/archgenxml/templates/field.pydtml Mon Jan 10 07:56:31 2011
@@ -12,10 +12,7 @@
from Products.Archetypes.Widget import *
from Products.Archetypes.Field import *
from Products.Archetypes.Schema import Schema
-try:
- from Products.generator import i18n
-except ImportError:
- from Products.Archetypes.generator import i18n
+
<dtml-if "klass.hasAttributeWithTaggedValue('vocabulary:type','ATVocabularyManager')">
from Products.ATVocabularyManager.namedvocabulary import NamedVocabulary
</dtml-if>
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl