Changeset 472:9705161bc888 in documentViewer for documentViewer.py


Ignore:
Timestamp:
Aug 4, 2011, 4:13:13 PM (13 years ago)
Author:
casties
Branch:
elementtree
Message:

more cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentViewer.py

    r471 r472  
    267267 
    268268    security.declareProtected('View','index_html')
    269     def index_html(self,url,mode="texttool",viewMode="auto",viewTYpe=None,tocMode="thumbs"):
     269    def index_html(self,url,mode="texttool",viewMode="auto",viewType=None,tocMode="thumbs",start=1,pn=1):
    270270        """
    271271        view page
     
    301301                viewMode = "images"
    302302               
    303         pageinfo = self.getPageinfo(start=start, current=pn, docinfo=docinfo, viewMode=viewMode, viweType=viewType, tocMode=tocMode)
     303        pageinfo = self.getPageinfo(start=start, current=pn, docinfo=docinfo, viewMode=viewMode, viewType=viewType, tocMode=tocMode)
    304304                   
    305305        # get template /template/viewer_main
Note: See TracChangeset for help on using the changeset viewer.