Diff for /ECHO_content/ECHO_collection.py between versions 1.10 and 1.11

version 1.10, 2004/01/21 12:50:28 version 1.11, 2004/01/27 13:33:27
Line 483  class ECHO_collection(Folder, Persistent Line 483  class ECHO_collection(Folder, Persistent
   
     def getCoords(self):      def getCoords(self):
         try:          try:
             return [string.join(x,",") for x in self.coords]    
   
               x=  [string.join(x,",") for x in self.coords]  
               return x
   
         except:          except:
   
             return []              return []
                   
     def __init__(self,id,title,label,description,content_type,responsible,credits,weight,sortfield,coords):      def __init__(self,id,title,label,description,content_type,responsible,credits,weight,sortfield,coords):
Line 588  class ECHO_collection(Folder, Persistent Line 590  class ECHO_collection(Folder, Persistent
         pt.content_type="text/html"          pt.content_type="text/html"
         return pt()          return pt()
   
       def getCredits(self):
           """Ausgabe der credits"""
           if self.credits:
               return self.credits
           else:
               return []
   
     def getGraphicCoords(self):      def getGraphicCoords(self):
         """Give list of coordinates"""          """Give list of coordinates"""
Line 701  class ECHO_root(Folder,Persistent,Implic Line 709  class ECHO_root(Folder,Persistent,Implic
                                           
             except:              except:
                 """nothing"""                  """nothing"""
                   
         return ids          return ids
   
     def getCollectionTree(self):      def getCollectionTree(self):

Removed from v.1.10  
changed lines
  Added in v.1.11


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