changeset 472:9705161bc888 elementtree

more cleanup
author casties
date Thu, 04 Aug 2011 18:13:13 +0200
parents 415a7026eeda
children 74e9e74277e9
files documentViewer.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/documentViewer.py	Thu Aug 04 16:57:02 2011 +0200
+++ b/documentViewer.py	Thu Aug 04 18:13:13 2011 +0200
@@ -266,7 +266,7 @@
 
   
     security.declareProtected('View','index_html')
-    def index_html(self,url,mode="texttool",viewMode="auto",viewTYpe=None,tocMode="thumbs"):
+    def index_html(self,url,mode="texttool",viewMode="auto",viewType=None,tocMode="thumbs",start=1,pn=1):
         """
         view page
         @param url: url which contains display information
@@ -300,7 +300,7 @@
             else:
                 viewMode = "images"
                 
-        pageinfo = self.getPageinfo(start=start, current=pn, docinfo=docinfo, viewMode=viewMode, viweType=viewType, tocMode=tocMode)
+        pageinfo = self.getPageinfo(start=start, current=pn, docinfo=docinfo, viewMode=viewMode, viewType=viewType, tocMode=tocMode)
                     
         # get template /template/viewer_main
         pt = getattr(self.template, 'viewer_main')