--- MPIWGWeb/MPIWGStaff.py 2008/08/26 16:04:25 1.10.2.51 +++ MPIWGWeb/MPIWGStaff.py 2008/08/27 12:12:48 1.10.2.52 @@ -20,7 +20,7 @@ from types import * from AccessControl import ClassSecurityInfo import time import logging - +import email #ersetzt logging def logger(txt,method,txt2): """logging""" @@ -92,6 +92,9 @@ class MPIWGStaff(CatalogAware,ZSQLExtend addStr="&time=%s" else: addStr="?time=%s" + + RESPONSE.setHeader('Last-Modified',email.Utils.formatdate().split("-")[0]+'GMT') + logging.error(email.Utils.formatdate()+' GMT') RESPONSE.redirect(url+addStr%timeStamp) def getKey(self): @@ -150,7 +153,7 @@ class MPIWGStaff(CatalogAware,ZSQLExtend self.publicationSelectionMode=publicationSelectionMode if RESPONSE: - self.redirect(RESPONSE,"editPublications") + self.redirect(RESPONSE,"