Diff for /OSAS/OSA_system/OSAS_addfiles.py between versions 1.12 and 1.13

version 1.12, 2003/10/12 21:19:13 version 1.13, 2003/12/05 14:57:03
Line 225  class OSAS_add_contextData(Folder): Line 225  class OSAS_add_contextData(Folder):
     def addContextData2(self,path,collection,context,science,practice,source_type,period,link,label,description,content_type,responsible,credits,weight):      def addContextData2(self,path,collection,context,science,practice,source_type,period,link,label,description,content_type,responsible,credits,weight):
         """Hinzufuegen der Resource"""          """Hinzufuegen der Resource"""
         splitted=path.split("/")          splitted=path.split("/")
                   #print "BLU"
         id=splitted[len(splitted)-1]          id=splitted[len(splitted)-1]
         title=splitted[len(splitted)-1]          title=splitted[len(splitted)-1]
         metalink=self.REQUEST['SERVER_URL']+path+"/index.meta"          metalink=self.REQUEST['SERVER_URL']+path+"/index.meta"
           
         #link=TOBEDONE"          #link=TOBEDONE"
         """Hinzufügen der Ressource"""          """Hinzufügen der Ressource"""
   
Line 236  class OSAS_add_contextData(Folder): Line 237  class OSAS_add_contextData(Folder):
         exec("collection_object=self"+collection)          exec("collection_object=self"+collection)
                   
         ECHO_collection.manage_AddECHO_resource(collection_object,context,science,practice,source_type,period,id,title,label,description,content_type,responsible,link,metalink,credits,weight,RESPONSE=None)          ECHO_collection.manage_AddECHO_resource(collection_object,context,science,practice,source_type,period,id,title,label,description,content_type,responsible,link,metalink,credits,weight,RESPONSE=None)
                   #print "HI5"
           try:
         getattr(collection_object,id).ECHO_getResourceMD()          getattr(collection_object,id).ECHO_getResourceMD()
           except:
               """nothing"""
         #return "BLUByy"          #return "BLUByy"
         return self.REQUEST.RESPONSE.redirect(self.REQUEST['URL2']+'?path='+path)          return self.REQUEST.RESPONSE.redirect(self.REQUEST['URL2']+'?path='+path)
                   

Removed from v.1.12  
changed lines
  Added in v.1.13


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