version 1.10.2.10, 2005/10/14 17:13:37
|
version 1.10.2.12, 2005/10/18 13:00:04
|
Line 91 class MPIWGStaff(CatalogAware,ZSQLExtend
|
Line 91 class MPIWGStaff(CatalogAware,ZSQLExtend
|
DBid=self.getDBId() |
DBid=self.getDBId() |
|
|
self.ZSQLQuery("SET DATESTYLE TO 'German'") |
self.ZSQLQuery("SET DATESTYLE TO 'German'") |
|
|
self.ZSQLChange(_table="personal_www",_identify="id=%s"%DBid,publish_the_data=publish_the_data, |
self.ZSQLChange(_table="personal_www",_identify="id=%s"%DBid,publish_the_data=publish_the_data, |
date_from=date_from, |
date_from=date_from, |
date_to=date_to) |
date_to=date_to) |
Line 238 class MPIWGStaff(CatalogAware,ZSQLExtend
|
Line 239 class MPIWGStaff(CatalogAware,ZSQLExtend
|
|
|
mainEditFile=PageTemplateFile(os.path.join(package_home(globals()),'zpt','editMPIWGStaff_main.zpt')) |
mainEditFile=PageTemplateFile(os.path.join(package_home(globals()),'zpt','editMPIWGStaff_main.zpt')) |
|
|
|
def getPathStyle(self, path, selected, style=""): |
|
"""returns a string with the given style + 'sel' if path == selected.""" |
|
|
|
if path == selected: |
|
return style + 'sel' |
|
else: |
|
return style |
|
|
security.declareProtected('View management screens','changeResearch') |
security.declareProtected('View management screens','changeResearch') |
def changeResearch(self,noredirect=None): |
def changeResearch(self,noredirect=None): |
"""change the research entries""" |
"""change the research entries""" |