[ Index ]
 

Code source de Kupu-1.3.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/zope3/ -> field.py (source)

   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 9879 2005-03-18 12:04:00Z yuppie $
  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'])


Généré le : Sun Feb 25 15:30:41 2007 par Balluche grâce à PHPXref 0.7