Changeset 427:70db19d7b3b1 in documentViewer
- Timestamp:
- Jan 20, 2011, 4:04:21 PM (14 years ago)
- Branch:
- default
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
MpdlXmlTextServer.py
r426 r427 4 4 from Ft.Xml import EMPTY_NAMESPACE, Parse 5 5 6 import md5 6 7 import sys 7 8 import logging … … 55 56 tocPN = pageinfo['tocPN'] 56 57 selfurl = self.absolute_url() 57 58 58 data = self.getServerData("doc-query.xql","document=%s&mode=%s&queryType=%s&query=%s&queryResultPageSize=%s&queryResultPN=%s&sn=%s&viewMode=%s&characterNormalization=%s&optionToggle=%s&highlightQuery=%s"%(docpath, 'text', queryType, urllib.quote(query), pagesize, pn, sn, viewMode,characterNormalization,optionToggle ,urllib.quote(highlightQuery))) 59 60 59 pagexml = data.replace('?document=%s'%str(docpath),'?url=%s'%url) 61 60 pagedom = Parse(pagexml) … … 480 479 if RESPONSE is not None: 481 480 RESPONSE.redirect('manage_main') 482 483 484 -
documentViewer.py
r425 r427 95 95 nav5= string.split(ie1, "/")[1] 96 96 logging.debug("FIREFOX: %s"%(nav5)) 97 bt['versFirefox']= string.split(nav5, ".")[1]97 bt['versFirefox']=nav5[0:3] 98 98 except:pass 99 99 #Opera identification
Note: See TracChangeset
for help on using the changeset viewer.