version 1.44, 2004/09/01 17:48:31
|
version 1.45, 2004/09/01 21:51:38
|
Line 644 class ECHO_navigation(Folder):
|
Line 644 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]) |
testStr=re.sub("/index_html",'',self.REQUEST.get('URL','')) |
|
|
|
#falls exakte Übereinstimmung dann immer 1 |
|
if (testStr==item[1]) and (self.REQUEST.get('QUERY_STRING','')==''): |
|
|
|
return 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: |
if getattr(item[2],'isAlwaysClickable',None): #immer auswaehlbar? |
if getattr(item[2],'isAlwaysClickable',None): #immer auswaehlbar? |