version 1.1.2.29, 2010/09/22 16:06:09
|
version 1.1.2.31, 2011/05/18 10:52:29
|
Line 600 class MPIWGRoot(ZSQLExtendFolder):
|
Line 600 class MPIWGRoot(ZSQLExtendFolder):
|
pt=PageTemplateFile(os.path.join(package_home(globals()),'zpt','changeMPIWGRootForm')).__of__(self) |
pt=PageTemplateFile(os.path.join(package_home(globals()),'zpt','changeMPIWGRootForm')).__of__(self) |
return pt() |
return pt() |
|
|
def changeMPIWGRoot(self,title,disciplineList,themesList,connection_id,lang=None,RESPONSE=None): |
def changeMPIWGRoot(self,title,disciplineList,themesList,connection_id,lang=None,autocommit=None,RESPONSE=None): |
"""change""" |
"""change""" |
self.title=title |
self.title=title |
self.connection_id=connection_id |
self.connection_id=connection_id |
Line 609 class MPIWGRoot(ZSQLExtendFolder):
|
Line 609 class MPIWGRoot(ZSQLExtendFolder):
|
if lang is not None: |
if lang is not None: |
self.lang = lang |
self.lang = lang |
|
|
|
self.autocommit = (autocommit == "on") |
if RESPONSE is not None: |
if RESPONSE is not None: |
RESPONSE.redirect('manage_main') |
RESPONSE.redirect('manage_main') |
|
|
Line 791 class MPIWGRoot(ZSQLExtendFolder):
|
Line 792 class MPIWGRoot(ZSQLExtendFolder):
|
if ignoreEntries is None: |
if ignoreEntries is None: |
ignoreEntries = [] |
ignoreEntries = [] |
|
|
ignoreEntries.append('current_work') # TODO:updatecurrent work |
#ignoreEntries.append('current_work') # TODO:updatecurrent work |
logging.debug("updatePersonEntry: data=%s ignoreEntries=%s"%(repr(data),repr(ignoreEntries))) |
logging.debug("updatePersonEntry: data=%s ignoreEntries=%s"%(repr(data),repr(ignoreEntries))) |
|
|
if data['date_to']=="": # wenn date_to leer |
if data['date_to']=="": # wenn date_to leer |
Line 883 class MPIWGRoot(ZSQLExtendFolder):
|
Line 884 class MPIWGRoot(ZSQLExtendFolder):
|
ret+="<table border='1'>" |
ret+="<table border='1'>" |
for iE in displayIgnored: |
for iE in displayIgnored: |
ret+="<tr><td>%s</td><td>%s</td><td>%s</td>"%(iE[0].encode('utf-8'),iE[1].encode('utf-8'),iE[2].encode('utf-8')) |
ret+="<tr><td>%s</td><td>%s</td><td>%s</td>"%(iE[0].encode('utf-8'),iE[1].encode('utf-8'),iE[2].encode('utf-8')) |
ret+="</tabel>" |
ret+="</table>" |
|
|
self.updatePersonEntry(resultSet[conflict],ignoreEntries=ignoreEntries) |
self.updatePersonEntry(resultSet[conflict],ignoreEntries=ignoreEntries) |
|
|