comparison documentViewer.py @ 342:259660db1921

*** empty log message ***
author abukhman
date Mon, 18 Oct 2010 12:16:49 +0200
parents 602408d7b035
children 025e53924ec3
comparison
equal deleted inserted replaced
341:602408d7b035 342:259660db1921
266 @param tocMode: type of 'table of contents' for navigation (thumbs, text, figures, none) 266 @param tocMode: type of 'table of contents' for navigation (thumbs, text, figures, none)
267 @param characterNormalization type of text display (reg, norm, none) 267 @param characterNormalization type of text display (reg, norm, none)
268 @param querySearch: type of different search modes (fulltext, fulltextMorph, xpath, xquery, ftIndex, ftIndexMorph, fulltextMorphLemma) 268 @param querySearch: type of different search modes (fulltext, fulltextMorph, xpath, xquery, ftIndex, ftIndexMorph, fulltextMorphLemma)
269 ''' 269 '''
270 270
271 logging.debug("documentViewer (index) mode: %s url:%s start:%s pn:%s"%(mode,url,start,pn,originalPage)) 271 logging.debug("documentViewer (index) mode: %s url:%s start:%s pn:%s originalPage:%s"%(mode,url,start,pn,originalPage))
272 272
273 if not hasattr(self, 'template'): 273 if not hasattr(self, 'template'):
274 # this won't work 274 # this won't work
275 logging.error("template folder missing!") 275 logging.error("template folder missing!")
276 return "ERROR: template folder missing!" 276 return "ERROR: template folder missing!"