version 1.25, 2004/05/10 15:27:32
|
version 1.26, 2004/05/10 20:46:46
|
Line 435 class ECHO_navigation(Folder):
|
Line 435 class ECHO_navigation(Folder):
|
|
|
def isSelectedPath(self,item): |
def isSelectedPath(self,item): |
"""test is path is already selected""" |
"""test is path is already selected""" |
found=re.search("\?(.*)",item[1]) |
found=re.search("\?(.*)/",item[1]) |
if found: |
if found: |
temp=re.sub(" ","%20",found.group(0)) |
temp=re.sub(" ","%20",found.group(0)) |
#print temp+"::"+self.REQUEST['QUERY_STRING'] |
#print temp+"::"+self.REQUEST['QUERY_STRING'] |
if ("?"+self.REQUEST['QUERY_STRING'])==temp: |
if ("?"+self.REQUEST['QUERY_STRING'])==temp: |
return 1 |
return 1 |
|
|
if re.search(item[1],self.REQUEST['URL']): |
if re.search(item[1]+"/",self.REQUEST['URL']): |
return 1 |
return 1 |
else: |
else: |
return 0 |
return 0 |