Diff for /ECHO_content/VLPExtension.py between versions 1.7 and 1.8

version 1.7, 2004/06/08 17:04:39 version 1.8, 2004/06/08 17:17:07
Line 18  class VLP_essay(Folder): Line 18  class VLP_essay(Folder):
   
     meta_type="VLP_essay"      meta_type="VLP_essay"
   
       manage_options = Folder.manage_options+(
           {'label':'Main Config','action':'ConfigVLP_essayForm'},
                   )
   
       def ConfigVLP_essayForm(self):
           """Form for adding"""
           pt=PageTemplateFile('Products/ECHO_content/vlp/ChangeVLP_essay.zpt').__of__(self)
           return pt()
   
       def ChangeVLP_essay(self,title,label,description,RESPONSE=None):
           """Change vlp_essay"""
           self.title=title
           self.label=label
           self.description=description
   
           if RESPONSE is not None:
               RESPONSE.redirect('manage_main')
   
     def __init__(self,id,title,label):      def __init__(self,id,title,label):
         """init"""          """init"""
         self.id=id          self.id=id

Removed from v.1.7  
changed lines
  Added in v.1.8


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