Diff for /documentViewer/zpt/Attic/thumbs_main.zpt between versions 1.3 and 1.4

version 1.3, 2006/04/11 17:27:57 version 1.4, 2006/04/12 17:47:53
Line 5 Line 5
   <span tal:condition="python:(start>1)">    <span tal:condition="python:(start>1)">
     <a tal:attributes="href python:here.getLink(param='start',val=max(start-grpsize,1))">&lt;</a>      <a tal:attributes="href python:here.getLink(param='start',val=max(start-grpsize,1))">&lt;</a>
   </span>    </span>
   <select tal:attributes="onChange python:'location.href=\'%s&start=\'+this.options[this.selectedIndex].value'%here.getLink(param='start',val=None)">    <select tal:attributes="onChange python:'location.href=\''+here.getLink(param='start',val=None)+'&start=\'+this.options[this.selectedIndex].value'">
     <option tal:repeat="grp python:range(pageinfo['numgroups'])"       <option tal:repeat="grp python:range(pageinfo['numgroups'])" 
       tal:attributes="selected python:(start==grp*grpsize+1); value python:(grp*grpsize+1)"        tal:attributes="selected python:(start==grp*grpsize+1); value python:(grp*grpsize+1)"
       tal:content="python:(grp*grpsize+1)"/>        tal:content="python:(grp*grpsize+1)"/>
Line 20 Line 20
       <td align="center" tal:condition="python:(idx <= end)"        <td align="center" tal:condition="python:(idx <= end)"
             tal:attributes="class python:here.getStyle(idx,current,'thumb')">              tal:attributes="class python:here.getStyle(idx,current,'thumb')">
         <a tal:attributes="href python:here.getLink(param='pn',val=idx)">          <a tal:attributes="href python:here.getLink(param='pn',val=idx)">
           <img class="thumbimg" border="0" tal:attributes="src python:'%s&pn=%d&dw=100&dh=100'%(docinfo['imageURL'],idx)"/>            <img class="thumbimg" border="0" tal:attributes="src string:${docinfo/imageURL}&pn=$idx&dw=100&dh=100"/>
           <div class="thumbcap" tal:content="idx"/>            <div class="thumbcap" tal:content="idx"/>
         </a>          </a>
       </td>        </td>

Removed from v.1.3  
changed lines
  Added in v.1.4


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