--- MPIWGWeb/MPIWGStaff.py 2008/08/26 15:01:41 1.10.2.50 +++ MPIWGWeb/MPIWGStaff.py 2008/08/28 18:20:09 1.10.2.53 @@ -13,13 +13,14 @@ from Products.versionedFile.extVersioned import os import logging import bibliography +import email from Globals import package_home from Products.PythonScripts.standard import sql_quote from types import * from AccessControl import ClassSecurityInfo import time import logging - +import email #ersetzt logging def logger(txt,method,txt2): """logging""" @@ -91,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): @@ -149,7 +153,7 @@ class MPIWGStaff(CatalogAware,ZSQLExtend self.publicationSelectionMode=publicationSelectionMode if RESPONSE: - self.redirect(RESPONSE,"editPublications") + self.redirect(RESPONSE,"%s""" if founds.profile and founds.profile != "":