version 1.6, 2003/12/11 11:35:38
|
version 1.8, 2004/01/14 16:09:36
|
Line 117 def setECHO_CollectionInformation(self,c
|
Line 117 def setECHO_CollectionInformation(self,c
|
coords=[] |
coords=[] |
#coordinates of for rectangles |
#coordinates of for rectangles |
for coordstr in coordstrs: |
for coordstr in coordstrs: |
|
try: |
temco=coordstr.split(",") |
temco=coordstr.split(",") |
|
except: |
|
temco=[] |
#temco.append(angle) |
#temco.append(angle) |
coords.append(temco) |
coords.append(temco) |
self.coords=coords[0:] |
self.coords=coords[0:] |
Line 220 class ECHO_resource(Folder):
|
Line 222 class ECHO_resource(Folder):
|
return pt() |
return pt() |
|
|
|
|
def changeECHO_resource(self,metalink,link,context,science,practice,source_type,period,title,label,description,content_type,responsible,credits,weight,coords,viewClassification,RESPONSE=None): |
def changeECHO_resource(self,metalink,link,context,science,practice,source_type,period,title,label,description,content_type,responsible,credits,weight,viewClassification="",coords="",RESPONSE=None): |
|
|
"""Änderung der Properties""" |
"""Änderung der Properties""" |
|
|
Line 304 def manage_AddECHO_resourceForm(self):
|
Line 306 def manage_AddECHO_resourceForm(self):
|
return pt() |
return pt() |
|
|
|
|
def manage_AddECHO_resource(self,context,science,practice,source_type,period,id,title,label,description,content_type,responsible,link,metalink,credits,weight,coords,RESPONSE=None): |
def manage_AddECHO_resource(self,context,science,practice,source_type,period,id,title,label,description,content_type,responsible,link,metalink,credits,weight,coords=[],RESPONSE=None): |
|
|
"""nothing yet""" |
"""nothing yet""" |
scientificClassificationObj=scientificClassification(context,science,practice) |
scientificClassificationObj=scientificClassification(context,science,practice) |
Line 533 class ECHO_collection(Folder, Persistent
|
Line 535 class ECHO_collection(Folder, Persistent
|
|
|
security.declarePublic('changeECHO_Collection') |
security.declarePublic('changeECHO_Collection') |
|
|
def changeECHO_Collection(self,context,science,practice,source_type,period,id,title,label,description,content_type,responsible,credits,weight,coords,sortfield="weight",RESPONSE=None): |
def changeECHO_Collection(self,context,science,practice,source_type,period,id,title,label,description,content_type,responsible,credits,weight,sortfield="weight",coords="",RESPONSE=None): |
|
|
"""Änderung der Properties""" |
"""Änderung der Properties""" |
|
|