Changeset 311:84b69d261131 in documentViewer
- Timestamp:
- Oct 15, 2010, 12:03:37 PM (15 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MpdlXmlTextServer.py
r310 r311 181 181 def getOrigPages (self, docinfo=None, pageinfo=None): 182 182 """Show original page """ 183 docpath = docinfo['textURLPath']184 url = docinfo['url']183 #docpath = docinfo['textURLPath'] 184 #url = docinfo['url'] 185 185 selfurl = self.absolute_url() 186 186 pn =pageinfo['current'] 187 187 viewMode= pageinfo['viewMode'] 188 text = self.getServerData("page-fragment.xql","document=%s&mode=%s&pn=%s"%(doc path, mode, pn))188 text = self.getServerData("page-fragment.xql","document=%s&mode=%s&pn=%s"%(docinfo['textURLPath'], mode, pn)) 189 189 dom =Parse(text) 190 190 pagedivs = dom.xpath("//div[@class='pageNumberOrig']")
Note: See TracChangeset
for help on using the changeset viewer.