version 1.292, 2007/09/18 14:13:49
|
version 1.293, 2008/01/16 16:10:14
|
Line 199 class ECHO_locale(ZopePageTemplate):
|
Line 199 class ECHO_locale(ZopePageTemplate):
|
self.lang=lang |
self.lang=lang |
self.title=title |
self.title=title |
self.label=label |
self.label=label |
if text: |
# default content |
if content_type is None: |
if not text: |
content_type = self.content_type |
text = open(self._default_content_fn).read() |
|
content_type = 'text/html' |
self.pt_edit(text, content_type) |
self.pt_edit(text, content_type) |
self.id=id |
self.id=id |
|
|