version 1.10.2.71, 2009/09/30 17:08:40
|
version 1.10.2.73, 2009/12/15 13:16:47
|
Line 371 class MPIWGStaff(CatalogAware,ZSQLExtend
|
Line 371 class MPIWGStaff(CatalogAware,ZSQLExtend
|
return result |
return result |
|
|
# look for individual page |
# look for individual page |
|
if self.hasObject("index.html"): |
pt = getattr(self, "index.html") |
pt = getattr(self, "index.html") |
# else use template |
# else use template |
if not pt: |
else: |
pt = getTemplate(self, "members_main") |
pt = getTemplate(self, "members_main") |
# Execute the template in a new security context. |
# Execute the template in a new security context. |
security.addContext(self) |
security.addContext(self) |
Line 636 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): |