Changeset 445:93b9a5dddb8b in documentViewer
- Timestamp:
- Jun 14, 2011, 9:57:11 AM (13 years ago)
- Branch:
- default
- Tags:
- Root_elementtree
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
MpdlXmlTextServer.py
r444 r445 3 3 from Products.PageTemplates.PageTemplateFile import PageTemplateFile 4 4 from Ft.Xml import EMPTY_NAMESPACE, Parse 5 from Ft.Xml.Domlette import NonvalidatingReader 5 6 6 7 import md5 … … 204 205 pagexml = self.getServerData("page-fragment.xql",textParam) 205 206 dom = Parse(pagexml) 206 207 #dom = NonvalidatingReader.parseStream(pagexml) 207 208 208 209 #original Pages … … 361 362 # add target 362 363 l.setAttributeNS(None, 'target', '_blank') 363 l.setAttributeNS(None, 'onclick',"popupWin = window.open(this.href, 'InfoWindow', 'menubar=no, location,width=500,height=600,top=180, left=700, toolbar=no, scrollbars=1'); return false;")364 l.setAttributeNS(None, "ondblclick", "popupWin.focus();")365 #window.open("this.href, 'InfoWindow', 'menubar=no, location,width=500,height=600,top=180, left=700, toolbar=yes, scrollbars=1'"); return false;") 364 #l.setAttributeNS(None, 'onclick',"popupWin = window.open(this.href, 'InfoWindow', 'menubar=no, location,width=500,height=600,top=180, left=700, toolbar=no, scrollbars=1'); return false;") 365 #l.setAttributeNS(None, "ondblclick", "popupWin.focus();") 366 #window.open("this.href, 'InfoWindow', 'menubar=no, location,width=500,height=600,top=180, left=700, toolbar=yes, scrollbars=1'"); return false;") 366 367 367 368 if href.startswith('http://mpdl-proto.mpiwg-berlin.mpg.de/mpdl/lt/lemma.xql'): -
documentViewer.py
r444 r445 8 8 from Products.zogiLib.zogiLib import browserCheck 9 9 10 from Ft.Xml import EMPTY_NAMESPACE, Parse 10 from Ft.Xml import EMPTY_NAMESPACE, Parse 11 11 import Ft.Xml.Domlette 12 12 import os.path
Note: See TracChangeset
for help on using the changeset viewer.