version 1.289, 2007/07/19 11:02:28
|
version 1.290, 2007/07/19 14:13:13
|
Line 200 class ECHO_locale(ZopePageTemplate):
|
Line 200 class ECHO_locale(ZopePageTemplate):
|
self.title=title |
self.title=title |
self.label=label |
self.label=label |
if text: |
if text: |
|
if content_type is None: |
|
content_type = self.content_type |
self.pt_edit(text, content_type) |
self.pt_edit(text, content_type) |
self.id=id |
self.id=id |
|
|
Line 218 class ECHO_locale(ZopePageTemplate):
|
Line 220 class ECHO_locale(ZopePageTemplate):
|
self.title=title |
self.title=title |
self.label=label |
self.label=label |
if not text is None: |
if not text is None: |
|
if content_type is None: |
|
content_type = self.content_type |
self.pt_edit(text, content_type) |
self.pt_edit(text, content_type) |
|
|
if RESPONSE is not None: |
if RESPONSE is not None: |
Line 307 class ECHO_layoutTemplate(ZopePageTempla
|
Line 311 class ECHO_layoutTemplate(ZopePageTempla
|
if text is None: |
if text is None: |
self._default_content_fn = os.path.join(package_home(globals()),'zpt','ECHO_%s_template_standard.zpt'%EchoType) |
self._default_content_fn = os.path.join(package_home(globals()),'zpt','ECHO_%s_template_standard.zpt'%EchoType) |
text = open(self._default_content_fn).read() |
text = open(self._default_content_fn).read() |
|
if content_type is None: |
|
content_type = self.content_type |
self.pt_edit(text, content_type) |
self.pt_edit(text, content_type) |
|
|
|
|
Line 4134 class ECHO_linkList(ZopePageTemplate,ECH
|
Line 4140 class ECHO_linkList(ZopePageTemplate,ECH
|
self.ZBindings_edit(self._default_bindings) |
self.ZBindings_edit(self._default_bindings) |
if text is None: |
if text is None: |
text = '' |
text = '' |
|
if content_type is None: |
|
content_type = self.content_type |
self.pt_edit(text, contentType) |
self.pt_edit(text, contentType) |
|
|
|
|