version 1.12, 2004/07/08 07:04:31
|
version 1.13, 2004/07/08 10:21:55
|
Line 100 class MPIWGRoot(ZSQLExtendFolder):
|
Line 100 class MPIWGRoot(ZSQLExtendFolder):
|
"""sort names""" |
"""sort names""" |
|
|
def sortLastName(x_c,y_c): |
def sortLastName(x_c,y_c): |
|
try: |
|
x=urllib.unquote(x_c).encode('utf-8','ignore') |
|
except: |
x=urllib.unquote(x_c) |
x=urllib.unquote(x_c) |
y=urllib.unquote(y_c) |
|
|
try: |
|
y=urllib.unquote(y_c).encode('utf-8','ignore') |
|
except: |
|
x=urllib.unquote(y_c) |
|
|
|
|
|
|
try: |
try: |
last_x=x.split()[len(x.split())-1] |
last_x=x.split()[len(x.split())-1] |
Line 198 class MPIWGRoot(ZSQLExtendFolder):
|
Line 207 class MPIWGRoot(ZSQLExtendFolder):
|
RESPONSE.redirect("showHistoricalPersons") |
RESPONSE.redirect("showHistoricalPersons") |
|
|
|
|
|
def getPersonDict(self,name): |
|
"""name von dict""" |
|
|
|
try: |
|
return self.personDict[name][0].encode('utf-8') |
|
except: |
|
return self.personDict[name][0] |
|
return self.personDict[name][0].decode('latin-1').encode('utf-8') |
|
|
|
|
def showHistoricalPersons(self): |
def showHistoricalPersons(self): |
"""show persons""" |
"""show persons""" |
pt=PageTemplateFile('Products/MPIWGWeb/zpt/showHistoricalPersons').__of__(self) |
pt=PageTemplateFile('Products/MPIWGWeb/zpt/showHistoricalPersons').__of__(self) |