File:  [Repository] / kupu / zope3 / field.py
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Thu Sep 15 13:06:01 2005 UTC (18 years, 9 months ago) by dwinter
Branches: first, MAIN
CVS tags: dwinter, HEAD
modifizierter kupu fuer webpages des instituts

    1: ##############################################################################
    2: #
    3: # Copyright (c) 2003-2005 Kupu Contributors. All rights reserved.
    4: #
    5: # This software is distributed under the terms of the Kupu
    6: # License. See LICENSE.txt for license text. For a list of Kupu
    7: # Contributors see CREDITS.txt.
    8: #
    9: ##############################################################################
   10: """HTMLBody field
   11: 
   12: $Id: field.py,v 1.1.1.1 2005/09/15 13:06:01 dwinter Exp $
   13: """
   14: 
   15: from zope.interface import implements
   16: from zope.schema import Bytes
   17: from zope.schema.fieldproperty import FieldProperty
   18: 
   19: from interfaces import IHTMLBody
   20: 
   21: class HTMLBody(Bytes):
   22:     implements(IHTMLBody)
   23: 
   24:     html2xhtml1 = FieldProperty(IHTMLBody['html2xhtml1'])

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>