Diff for /ECHO_content/VLPExtension.py between versions 1.41 and 1.43

version 1.41, 2005/02/28 20:02:08 version 1.43, 2005/03/01 11:30:57
Line 349  class VLP_subcollection(ECHO_collection) Line 349  class VLP_subcollection(ECHO_collection)
   
     def index_html(self):      def index_html(self):
         """erzeuge darstellung"""          """erzeuge darstellung"""
         pt=zptFile(self, 'vlp/collection_template.zpt')  
           if hasattr(self,'subCollection_template.html'):
               return getattr(self,'subCollection_template.html')()
   
           pt=zptFile(self, 'vlp/subCollection_template.zpt')
         return pt()          return pt()
   
   
Line 639  class VLP_resource(ECHO_resource,Cacheab Line 643  class VLP_resource(ECHO_resource,Cacheab
         temp=[]          temp=[]
     ret.sort()      ret.sort()
         for x in ret:          for x in ret:
             if (not (x[0]==".")) and (not x in excludeNames):              if (not (x[0]==".")) and (not x[0:4] in excludeNames):
                                   
                 temp.append((calculateName(x),os.path.splitext(x)[0]))                  temp.append((calculateName(x),os.path.splitext(x)[0]))
         return temp          return temp

Removed from v.1.41  
changed lines
  Added in v.1.43


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