version 1.10.2.57, 2008/09/05 14:08:24
|
version 1.10.2.60, 2008/09/12 12:28:48
|
Line 22 import time
|
Line 22 import time
|
import logging |
import logging |
import email |
import email |
import re |
import re |
|
from OFS.Cache import Cacheable |
|
|
from MPIWGHelper import * |
from MPIWGHelper import * |
#ersetzt logging |
#ersetzt logging |
Line 78 def createNewDBEntry(self,publish_the_da
|
Line 79 def createNewDBEntry(self,publish_the_da
|
# self.ZSQLQuery(queryStr) |
# self.ZSQLQuery(queryStr) |
|
|
return True,msg |
return True,msg |
class MPIWGStaff(CatalogAware,ZSQLExtendFolder): |
class MPIWGStaff(CatalogAware,ZSQLExtendFolder,Cacheable): |
"""Staff""" |
"""Staff""" |
|
|
meta_type="MPIWGStaff" |
meta_type="MPIWGStaff" |
Line 163 class MPIWGStaff(CatalogAware,ZSQLExtend
|
Line 164 class MPIWGStaff(CatalogAware,ZSQLExtend
|
self.publicationSelectionMode=publicationSelectionMode |
self.publicationSelectionMode=publicationSelectionMode |
|
|
if RESPONSE: |
if RESPONSE: |
self.redirect(RESPONSE,"<Publications") |
self.redirect(RESPONSE,"editPublications") |
|
|
|
|
def downloadCV(self,RESPONSE): |
def downloadCV(self,RESPONSE): |
Line 595 class MPIWGStaff(CatalogAware,ZSQLExtend
|
Line 596 class MPIWGStaff(CatalogAware,ZSQLExtend
|
|
|
|
|
if (person.current_work) and (not person.current_work==""): |
if (person.current_work) and (not person.current_work==""): |
ret="<p class=\"bio_section_header\">Current work: </p><br/>" |
ret+="<p class=\"bio_section_header\">Current work: </p><br/>" |
|
|
ret+=person.current_work+"<br/>" |
ret+=person.current_work+"<br/>" |
|
if (person.cv) and (not person.cv==""): |
ret+="<br/>" |
ret+="<p class=\"bio_section_header\">Curriculum Vitae: </p><br/>" |
ret+=self.formatAscii(person.cv) |
ret+=self.formatAscii(person.cv) |
|
|
return ret |
return ret |