--- ECHO_content/ECHO_Nav.py 2004/04/07 17:07:10 1.12 +++ ECHO_content/ECHO_Nav.py 2004/04/15 10:10:56 1.13 @@ -377,7 +377,7 @@ class ECHO_navigation(Folder): """nothing""" return [] #print "TEMP",temp,self.tempSorted(temp, field=sortField) - print "HELL",sortField + for x in self.tempSorted(temp, field=sortField): if not temp[x][1].title == "": if temp[x][1].meta_type=="ECHO_sqlElement": @@ -388,7 +388,7 @@ class ECHO_navigation(Folder): if hasattr(temp[x][1],'label'): if not temp[x][1].label=='': label=temp[x][1].label - print "HAS LABEL",label + else: label=temp[x][1].title else: @@ -408,7 +408,7 @@ class ECHO_navigation(Folder): def tempSorted(self,hash,field="weight"): ls=[] - print "SORT",field + for x in hash.keys(): #print hash[x][1] if hasattr(hash[x][1],field): @@ -483,7 +483,7 @@ class ECHO_navigation(Folder): def mainNavBar(self): """print main navigation bar""" keys="" - print "NAVBAR",self.getId() + try: keys=self.buttonsFromHash(self.createNavHash(0)) except: