Diff for /ECHO_content/ECHO_collection.py between versions 1.53 and 1.54

version 1.53, 2004/05/06 11:06:12 version 1.54, 2004/05/06 13:05:49
Line 856  class ECHO_collection(Folder, Persistent Line 856  class ECHO_collection(Folder, Persistent
             return self.showOverview()              return self.showOverview()
         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'):
               return self.collection_index_template()    
                   
         pt=PageTemplateFile('Products/ECHO_content/zpt/ECHO_collection_index_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"
         return pt()          return pt()
   
Line 948  class ECHO_group(ECHO_collection): Line 950  class ECHO_group(ECHO_collection):
             return self.showOverview()              return self.showOverview()
         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,'collection_index_template'):          elif hasattr(self,'main_index_template'):
             return self.collection_index_template()                  return self.collection_index_template()    
   
         pt=PageTemplateFile('Products/ECHO_content/zpt/ECHO_group_index_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"
         return pt()          return pt()
   

Removed from v.1.53  
changed lines
  Added in v.1.54


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>