[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/content - zpt.py:1.4
Paul Everitt
paul@zope.com
Thu, 10 Apr 2003 05:35:00 -0400
Update of /cvs-repository/Zope3/src/zope/app/interfaces/content
In directory cvs.zope.org:/tmp/cvs-serv20235/app/interfaces/content
Modified Files:
zpt.py
Log Message:
Created new widget in the Rotterdam skin for editing the source of an
item, such as the ZPT source. Created a schema field called
SourceText (instead of Text). This is only used for Templated Page at
the moment.
Minor UI cleanups:
o Removed [Personalized Elements]
o Moved User label up to save space
o Fixed float on context inspectors (e.g. Metadata, Help, etc.)
=== Zope3/src/zope/app/interfaces/content/zpt.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/interfaces/content/zpt.py:1.3 Tue Mar 25 15:46:13 2003
+++ Zope3/src/zope/app/interfaces/content/zpt.py Thu Apr 10 05:34:29 2003
@@ -36,7 +36,7 @@
def getSource():
"""Get the source of the page template."""
- source = zope.schema.Text(
+ source = zope.schema.SourceText(
title=_(u"Source"),
description=_(u"""The source of the page template."""),
required=True)