version 1.57, 2005/07/20 11:30:28
|
version 1.58, 2005/07/20 11:49:05
|
Line 394 class ECHO_basis:
|
Line 394 class ECHO_basis:
|
# DOM - Arrow |
# DOM - Arrow |
rot = ob.angle |
rot = ob.angle |
marksrc = arrowsrc |
marksrc = arrowsrc |
|
try: |
|
rot=float(rot) |
|
except: |
|
rot=0 |
|
|
if float(rot) < 0: |
if float(rot) < 0: |
marksrc = circlesrc |
marksrc = circlesrc |
if bt.isIEWin and bt.versIE > 5: |
if bt.isIEWin and bt.versIE > 5: |
Line 1107 class MapText(Folder,ZopePageTemplate):
|
Line 1112 class MapText(Folder,ZopePageTemplate):
|
security = ClassSecurityInfo() |
security = ClassSecurityInfo() |
security.setDefaultAccess("allow") |
security.setDefaultAccess("allow") |
|
|
|
|
_default_content_fn = os.path.join(package_home(globals()), |
_default_content_fn = os.path.join(package_home(globals()), |
'html', 'ECHO_mapText_default.html') |
'html', 'ECHO_mapText_default.html') |
|
|
Line 1121 class MapText(Folder,ZopePageTemplate):
|
Line 1127 class MapText(Folder,ZopePageTemplate):
|
"""create locale""" |
"""create locale""" |
return ECHO_collection.manage_addECHO_localeForm(self) |
return ECHO_collection.manage_addECHO_localeForm(self) |
|
|
|
manage_main=ZopePageTemplate.pt_editForm |
|
|
def manage_addECHO_locale(self,lang,title,label,text=None,content_type=None,RESPONSE=None): |
def manage_addECHO_locale(self,lang,title,label,text=None,content_type=None,RESPONSE=None): |
"""manage add echo locale in map""" |
"""manage add echo locale in map""" |
ECHO_collection.manage_addECHO_locale(self,lang,title,label,text,content_type) |
ECHO_collection.manage_addECHO_locale(self,lang,title,label,text,content_type) |