--- MPIWGWeb/MPIWGStaff.py 2008/09/05 14:08:24 1.10.2.57 +++ MPIWGWeb/MPIWGStaff.py 2008/09/12 12:28:48 1.10.2.60 @@ -22,6 +22,7 @@ import time import logging import email import re +from OFS.Cache import Cacheable from MPIWGHelper import * #ersetzt logging @@ -78,7 +79,7 @@ def createNewDBEntry(self,publish_the_da # self.ZSQLQuery(queryStr) return True,msg -class MPIWGStaff(CatalogAware,ZSQLExtendFolder): +class MPIWGStaff(CatalogAware,ZSQLExtendFolder,Cacheable): """Staff""" meta_type="MPIWGStaff" @@ -163,7 +164,7 @@ class MPIWGStaff(CatalogAware,ZSQLExtend self.publicationSelectionMode=publicationSelectionMode if RESPONSE: - self.redirect(RESPONSE,"Current work:


" + ret+="

Current work:


" ret+=person.current_work+"
" - - ret+="
" - ret+=self.formatAscii(person.cv) + if (person.cv) and (not person.cv==""): + ret+="

Curriculum Vitae:


" + ret+=self.formatAscii(person.cv) return ret security.declareProtected('View management screens','editDownloads')