version 1.78, 2004/05/10 16:22:17
|
version 1.79, 2004/05/10 16:26:02
|
Line 518 class ECHO_resource(Folder):
|
Line 518 class ECHO_resource(Folder):
|
if type(coords)==StringType: |
if type(coords)==StringType: |
coords=[coords] |
coords=[coords] |
|
|
|
|
try: |
try: |
coordsnew=[ string.split(x,",") for x in coords] |
coordsnew=[ string.split(x,",") for x in coords] |
except: |
except: |
Line 1258 class ECHO_collection(Folder, Persistent
|
Line 1257 class ECHO_collection(Folder, Persistent
|
|
|
def hl_lib_js(self): |
def hl_lib_js(self): |
"""javascript""" |
"""javascript""" |
sendFile(self, 'js/hl_lib.js', 'text/plain') |
return sendFile(self, 'js/hl_lib.js', 'text/plain') |
return |
|
|
|
def js_lib_js(self): |
def js_lib_js(self): |
"""javascript""" |
"""javascript""" |
sendFile(self, 'js/js_lib.js', 'text/plain') |
return sendFile(self, 'js/js_lib.js', 'text/plain') |
return |
|
|
|
def getGraphicCoords(self): |
def getGraphicCoords(self): |
"""Give list of coordinates""" |
"""Give list of coordinates""" |