--- MPIWGWeb/Attic/MPIWGTemplate.py 2009/04/16 15:55:19 1.1.2.8 +++ MPIWGWeb/Attic/MPIWGTemplate.py 2012/01/09 07:33:31 1.1.2.10 @@ -9,6 +9,17 @@ from OFS.Folder import Folder from AccessControl import ClassSecurityInfo from MPIWGHelper import * +# dummy definitions for backwards compatibility +import MPIWGFeature + +class MPIWGFeature(MPIWGFeature.MPIWGFeature): + """deprecated! use class in MPIWGFeature.py""" + +import MPIWGFolder + +class MPIWGFolder(MPIWGFolder.MPIWGFolder): + """deprecated! use class in MPIWGFolder.py""" + class MPIWGTemplate(ZopePageTemplate): @@ -53,7 +64,7 @@ class MPIWGTemplate(ZopePageTemplate): getSection = getSection getSubSection = getSubSection - def harvest_page(self): + def harvest_page(self,mode="normal"): """harvest main""" try: return self.pt_render() @@ -109,4 +120,4 @@ def manage_addMPIWGTemplate(self, MPIWGT REQUEST.RESPONSE.redirect(u+'/manage_main') return '' - \ No newline at end of file +