version 1.211, 2005/02/08 21:32:36
|
version 1.212, 2005/02/10 16:17:52
|
Line 153 class ECHO_layoutTemplate(ZopePageTempla
|
Line 153 class ECHO_layoutTemplate(ZopePageTempla
|
|
|
self.ZBindings_edit(self._default_bindings) |
self.ZBindings_edit(self._default_bindings) |
if text is None: |
if text is None: |
self._default_content_fn = os.path.join(package_home(globals()), |
self._default_content_fn = os.path.join(package_home(globals()),'zpt','ECHO_%s_template_standard.zpt'%EchoType) |
'zpt/ECHO_%s_template_standard.zpt'%EchoType) |
|
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) |
|
|