Diff for /documentViewer/zpt/Attic/viewer_images.zpt between versions 1.1.2.2 and 1.1.2.6

version 1.1.2.2, 2011/08/22 09:12:42 version 1.1.2.6, 2011/09/05 09:10:36
Line 24 Line 24
             'fn' : '${docinfo/imagePath}',              'fn' : '${docinfo/imagePath}',
             'pn' : '${pageinfo/pn}',              'pn' : '${pageinfo/pn}',
             'suppressParamNames' : ['fn'],              'suppressParamNames' : ['fn'],
             'showRegionNumbers' : true              'showRegionNumbers' : true,
               'visibleButtonSets' : 0
         };"></script>          };"></script>
   
 <script type="text/javascript">  <script type="text/javascript">
Line 35 Line 36
             this.form.submit();              this.form.submit();
         });          });
         $('form.autosubmit input[type="submit"]').hide();          $('form.autosubmit input[type="submit"]').hide();
           // get digilib div
           $digilib = $('div.scaler');
         // configure digilib          // configure digilib
         $('div.scaler').digilib(dlOpts);          $digilib.digilib(dlOpts);
     });      });
 //-->  //-->
 </script>  </script>
Line 50 Line 53
               first python:test(pn>1,1,None); last python:test(pn<numPages,numPages,None);                first python:test(pn>1,1,None); last python:test(pn<numPages,numPages,None);
               left python:test(flowLtr,prev,next); right python:test(flowLtr,next,prev);                left python:test(flowLtr,prev,next); right python:test(flowLtr,next,prev);
               leftest python:test(flowLtr,first,last); rightest python:test(flowLtr,last,first);">                leftest python:test(flowLtr,first,last); rightest python:test(flowLtr,last,first);">
     <div class="page-head" metal:use-macro="here/template/head_main/macros/main" />      <div class="page-head">
         <metal:block metal:use-macro="here/template/head_main/macros/main" />
       </div>
     <div class="page-body" tal:condition="python:here.isAccessible(docinfo)">      <div class="page-body" tal:condition="python:here.isAccessible(docinfo)">
       <!--table of contents-->        <!--table of contents-->
       <div class="col-left" metal:use-macro="python:path('here/template/toc_%s/macros/main'%tocMode)" />        <div class="col-left">
       <!-- text page -->          <metal:block metal:use-macro="python:path('here/template/toc_%s/macros/main'%tocMode)" />
         </div>
         <!-- col-main: text page -->
       <div class="col-main">        <div class="col-main">
         <div class="ruler">          <div class="ruler">
           <form class="autosubmit" tal:attributes="action viewerUrl">            <form class="autosubmit" tal:attributes="action viewerUrl">
Line 74 Line 81
               tal:condition="rightest" tal:attributes="href python:here.getLink('pn',rightest)">&gt;|</a> <span                tal:condition="rightest" tal:attributes="href python:here.getLink('pn',rightest)">&gt;|</a> <span
               tal:condition="not:rightest">&gt;|</span>                tal:condition="not:rightest">&gt;|</span>
           </form>            </form>
         </div>          </div><!-- ruler -->
         <!-- ruler -->  
         <ul class="switcher">          <ul class="switcher">
           <li class="sel">Image</li>            <li class="sel">Image</li>
           <li><a tal:condition="docpath" tal:attributes="href python:here.getLink('viewMode','text')">Text</a></li>            <li><a tal:condition="docpath" tal:attributes="href python:here.getLink('viewMode','text')">Text</a></li>
         </ul>          </ul>
         <div class="content">          <div class="content">
             <div class="dl-buttons">
               <span><a href="javascript:$digilib.digilib('zoomArea')">zoom</a></span>
             </div>
           <div class="scaler">            <div class="scaler">
             <img tal:attributes="src string:${docinfo/imageURL}&pn=${pageinfo/pn}&dw=500&dh=500" />              <img tal:attributes="src string:${docinfo/imageURL}&pn=${pageinfo/pn}&dw=500&dh=500" />
           </div>            </div>

Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.6


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>