Changeset 427:70db19d7b3b1 in documentViewer


Ignore:
Timestamp:
Jan 20, 2011, 4:04:21 PM (14 years ago)
Author:
abukhman
Branch:
default
Message:

* empty log message *

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • MpdlXmlTextServer.py

    r426 r427  
    44from Ft.Xml import EMPTY_NAMESPACE, Parse
    55
     6import md5
    67import sys
    78import logging
     
    5556        tocPN = pageinfo['tocPN']
    5657        selfurl = self.absolute_url()
    57        
    5858        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                              
    6059        pagexml = data.replace('?document=%s'%str(docpath),'?url=%s'%url)
    6160        pagedom = Parse(pagexml)
     
    480479    if RESPONSE is not None:
    481480        RESPONSE.redirect('manage_main')
    482 
    483 
    484    
  • documentViewer.py

    r425 r427  
    9595            nav5= string.split(ie1, "/")[1]
    9696            logging.debug("FIREFOX: %s"%(nav5))
    97             bt['versFirefox']=string.split(nav5, ".")[1]                   
     97            bt['versFirefox']=nav5[0:3]                   
    9898    except:pass
    9999    #Opera identification
Note: See TracChangeset for help on using the changeset viewer.