version 1.10.2.72, 2009/09/30 17:13:15
|
version 1.10.2.74, 2010/09/08 10:41:37
|
Line 236 class MPIWGStaff(CatalogAware,ZSQLExtend
|
Line 236 class MPIWGStaff(CatalogAware,ZSQLExtend
|
"""publish the image??, default no""" |
"""publish the image??, default no""" |
return getattr(self,'publishImage','no') |
return getattr(self,'publishImage','no') |
|
|
def updateImage(self,file,publishImage,rename=None,RESPONSE=None): |
def updateImage(self,publishImage,file=None,rename=None,RESPONSE=None): |
"""update image""" |
"""update image""" |
|
|
if file and not(file.filename==""): |
if file and not(file.filename==""): |
Line 637 class MPIWGStaff(CatalogAware,ZSQLExtend
|
Line 637 class MPIWGStaff(CatalogAware,ZSQLExtend
|
"""erzeugt ein automatisches Profil aus den alten Eintraegen CV, Current work, und research interests""" |
"""erzeugt ein automatisches Profil aus den alten Eintraegen CV, Current work, und research interests""" |
|
|
ret="" |
ret="" |
founds=self.ZSQLInlineSearch(_table='research_interest',key_main=person.key) |
founds=self.ZSQLInlineSearch(_table='research_interest',key_main=person.getKeyUTF8()) |
if founds: |
if founds: |
ret="<p class=\"bio_section_header\">Research interests: </p><br/>" |
ret="<p class=\"bio_section_header\">Research interests: </p><br/>" |
for found in self.sortPriority(founds): |
for found in self.sortPriority(founds): |