version 1.54, 2004/05/06 13:05:49
|
version 1.55, 2004/05/06 13:12:07
|
Line 857 class ECHO_collection(Folder, Persistent
|
Line 857 class ECHO_collection(Folder, Persistent
|
elif hasattr(self,'collection_index_template'): |
elif hasattr(self,'collection_index_template'): |
return self.collection_index_template() |
return self.collection_index_template() |
elif hasattr(self,'main_index_template'): |
elif hasattr(self,'main_index_template'): |
return self.collection_index_template() |
return self.main_index_template() |
|
|
pt=PageTemplateFile('Products/ECHO_content/zpt/ECHO_main_index_template_standard.zpt').__of__(self) |
pt=PageTemplateFile('Products/ECHO_content/zpt/ECHO_main_index_template_standard.zpt').__of__(self) |
pt.content_type="text/html" |
pt.content_type="text/html" |
Line 951 class ECHO_group(ECHO_collection):
|
Line 951 class ECHO_group(ECHO_collection):
|
elif hasattr(self,'group_index_template'): |
elif hasattr(self,'group_index_template'): |
return self.group_index_template() |
return self.group_index_template() |
elif hasattr(self,'main_index_template'): |
elif hasattr(self,'main_index_template'): |
return self.collection_index_template() |
return self.main_index_template() |
|
|
pt=PageTemplateFile('Products/ECHO_content/zpt/ECHO_main_index_template_standard.zpt').__of__(self) |
pt=PageTemplateFile('Products/ECHO_content/zpt/ECHO_main_index_template_standard.zpt').__of__(self) |
pt.content_type="text/html" |
pt.content_type="text/html" |