version 1.26, 2004/09/03 08:04:21
|
version 1.28, 2004/09/05 17:17:02
|
Line 440 class MPIWGRoot(ZSQLExtendFolder):
|
Line 440 class MPIWGRoot(ZSQLExtendFolder):
|
return """<h3><a href="%s">%s</a></h3><p>"""%(element[3].absolute_url()+"/index_html",element[3].getContent('WEB_title')) |
return """<h3><a href="%s">%s</a></h3><p>"""%(element[3].absolute_url()+"/index_html",element[3].getContent('WEB_title')) |
|
|
elif element[0]==3: |
elif element[0]==3: |
return """<p><a href="%s">%s</a></p>"""%(element[3].absolute_url()+"/index_html",element[3].getContent('WEB_title')) |
return """<p class="p_noindent"><a href="%s">%s</a></p>"""%(element[3].absolute_url()+"/index_html",element[3].getContent('WEB_title')) |
|
|
def changePosition(self,treeId,select,RESPONSE=None): |
def changePosition(self,treeId,select,RESPONSE=None): |
"""Change Postion Entry""" |
"""Change Postion Entry""" |
Line 587 class MPIWGRoot(ZSQLExtendFolder):
|
Line 587 class MPIWGRoot(ZSQLExtendFolder):
|
|
|
y=name |
y=name |
splitted=y.split(",") |
splitted=y.split(",") |
for s in splitted: |
#XXXX |
splitNeu.append("\""+s+"\"") |
splitNeu=["\'"+splitted[1]+" "+splitted[0]+"\'"] |
|
|
|
#for s in splitted: |
|
# splitNeu.append("\""+s+"\"") |
search=string.join(splitNeu,' AND ') |
search=string.join(splitNeu,' AND ') |
|
|
proj=self.ProjectCatalog({'xdata_01':search}) |
proj=self.ProjectCatalog({'xdata_01':search}) |
|
|
if proj: |
if proj: |
proj2=[x for x in proj] |
proj2=[] |
|
for x in proj: |
|
|
|
if not((splitted[1]==" Christoph") and (splitted[0]=="Hoffmann") and (str(x.WEB_title).find('Einstein')>0)): |
|
|
|
#print repr(splitted[1]),repr(splitted[0]),repr(x.WEB_title) |
|
proj2.append(x) |
# proj2.sort(sortP) |
# proj2.sort(sortP) |
# ret.append((y,proj2)) |
# ret.append((y,proj2)) |
else: |
else: |