--- ECHO_content/ECHO_helpers.py 2005/07/20 11:30:28 1.57 +++ ECHO_content/ECHO_helpers.py 2005/07/20 11:49:05 1.58 @@ -394,6 +394,11 @@ class ECHO_basis: # DOM - Arrow rot = ob.angle marksrc = arrowsrc + try: + rot=float(rot) + except: + rot=0 + if float(rot) < 0: marksrc = circlesrc if bt.isIEWin and bt.versIE > 5: @@ -1106,7 +1111,8 @@ class MapText(Folder,ZopePageTemplate): # Create a SecurityInfo for this class. security = ClassSecurityInfo() security.setDefaultAccess("allow") - + + _default_content_fn = os.path.join(package_home(globals()), 'html', 'ECHO_mapText_default.html') @@ -1121,6 +1127,8 @@ class MapText(Folder,ZopePageTemplate): """create locale""" 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): """manage add echo locale in map""" ECHO_collection.manage_addECHO_locale(self,lang,title,label,text,content_type)