version 1.17, 2004/08/06 11:46:30
|
version 1.18, 2004/08/06 13:22:55
|
Line 78 class VLP_essay(Folder):
|
Line 78 class VLP_essay(Folder):
|
|
|
"""show the rendered file""" |
"""show the rendered file""" |
|
|
if self.REQUEST.get('p',None): |
if hasattr(self,'essayTemplate.html'): |
self.REQUEST.set('pn',self.file2page(self.REQUEST.get('p',None))) |
return getattr(self,'essayTemplate.html')() |
|
|
if hasattr(self,'libraryTemplate.html'): |
|
return getattr(self,'EssayTemplate.html')() |
|
|
|
pt=PageTemplateFile('Products/ECHO_content/vlp/essay_template.zpt').__of__(self) |
pt=PageTemplateFile('Products/ECHO_content/vlp/essay_template.zpt').__of__(self) |
pt.content_type="text/html" |
pt.content_type="text/html" |