version 1.38, 2004/04/14 23:44:52
|
version 1.39, 2004/04/14 23:45:58
|
Line 195 class ECHO_layoutTemplate(ZopePageTempla
|
Line 195 class ECHO_layoutTemplate(ZopePageTempla
|
|
|
meta_type="ECHO_layoutTemplate" |
meta_type="ECHO_layoutTemplate" |
|
|
#manage_options=ZopePageTemplate.manage_options+( |
|
# {'label':'Set back to Standard','action':'changeECHO_layoutTemplateToStandardForm'}, |
|
# ) |
|
|
|
|
|
def __init__(self, id, text=None, content_type=None,EchoType=None): |
def __init__(self, id, text=None, content_type=None,EchoType=None): |
self.id = str(id) |
self.id = str(id) |
|
|
Line 212 class ECHO_layoutTemplate(ZopePageTempla
|
Line 207 class ECHO_layoutTemplate(ZopePageTempla
|
text = open(self._default_content_fn).read() |
text = open(self._default_content_fn).read() |
self.pt_edit(text, content_type) |
self.pt_edit(text, content_type) |
|
|
## def changeECHO_layoutTemplateToStandardForm(self): |
|
## """change form""" |
|
## pt=PageTemplateFile('Products/ECHO_content/zpt/changeECHO_pageTemplateWeightForm.zpt').__of__(self) |
|
## return pt() |
|
|
|
|
|
"""change form""" |
"""change form""" |
|
|