Diff for /MPIWGWeb/MPIWGProjects.py between versions 1.47.2.41 and 1.47.2.44

version 1.47.2.41, 2005/10/25 19:58:59 version 1.47.2.44, 2005/12/22 21:09:00
Line 850  class MPIWGRoot(ZSQLExtendFolder): Line 850  class MPIWGRoot(ZSQLExtendFolder):
   
                 obj=getattr(memberFolder,username)                  obj=getattr(memberFolder,username)
                                   
                 obj.updateDBEntry(DBid=id,publish_the_data=publish_the_data,                  done= obj.updateDBEntry(DBid=id,publish_the_data=publish_the_data,
                                    date_from=date_from,                                     date_from=date_from,
                                    date_to=date_to,stay_at_mpiwg=stay_at_mpiwg,position=position)                                     date_to=date_to,stay_at_mpiwg=stay_at_mpiwg,position=position)
           if not done and (publish_the_data=='yes'):
               
                       ret=obj.createNewDBEntry(publish_the_data,id,name,
                                             vorname,username,title,position,e_mail,
                                             e_mail_p,date_from,date_to,
                                             abteilung,heimat_inst,funded_by,
                                             e_mail2,txt,txt_p)
                       if not ret[0]:
   
                   RESPONSE.write("<p>Error: %s</p>\n"%repr(ret[1]))
               else:
                   RESPONSE.write("<p>New: %s</p>\n"%repr(ret[1]))
   
         #TODO: reindexCatlogs and updatePublications wieder einbaue          #TODO: reindexCatlogs and updatePublications wieder einbaue
         #self.reindexCatalogs(RESPONSE)          #self.reindexCatalogs(RESPONSE)
           
         #self.updatePublicationDB()           #self.updatePublicationDB() 
                   
           self.ZSQLResetConnection()
     RESPONSE.write("<h2>Done</h2></body></html>")      RESPONSE.write("<h2>Done</h2></body></html>")
                                         
         return True          return True

Removed from v.1.47.2.41  
changed lines
  Added in v.1.47.2.44


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