version 1.78, 2004/05/10 16:22:17
|
version 1.80, 2004/05/11 14:57:35
|
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 872 class ECHO_link(ECHO_externalLink):
|
Line 871 class ECHO_link(ECHO_externalLink):
|
|
|
|
|
def content_html(self): |
def content_html(self): |
"""template fuer content""" |
"""template fuer link""" |
|
if hasattr(self,"link_template"): |
return content_html(self,'link') |
return content_html(self,'link') |
|
else: |
|
return content_html(self,'collection') |
|
|
def manage_addECHO_linkForm(self): |
def manage_addECHO_linkForm(self): |
"""Form for external Links""" |
"""Form for external Links""" |
Line 1258 class ECHO_collection(Folder, Persistent
|
Line 1260 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""" |