--- MPIWGWeb/MPIWGStaff.py 2008/08/26 16:04:25 1.10.2.51
+++ MPIWGWeb/MPIWGStaff.py 2008/09/02 09:06:32 1.10.2.54
@@ -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,"
Current work: