Mercurial > hg > documentViewer
comparison zpt/thumbs_main.zpt @ 32:b25c89d693cf
version 0.2.3 - first version with access control!
* defaults to open when no access info
* uses any logged in user for local access
author | casties |
---|---|
date | Tue, 11 Apr 2006 19:27:57 +0200 |
parents | e93fb8cadd3a |
children | 0bf5aac0ff41 |
comparison
equal
deleted
inserted
replaced
31:c6451e8d5d23 | 32:b25c89d693cf |
---|---|
8 <select tal:attributes="onChange python:'location.href=\'%s&start=\'+this.options[this.selectedIndex].value'%here.getLink(param='start',val=None)"> | 8 <select tal:attributes="onChange python:'location.href=\'%s&start=\'+this.options[this.selectedIndex].value'%here.getLink(param='start',val=None)"> |
9 <option tal:repeat="grp python:range(pageinfo['numgroups'])" | 9 <option tal:repeat="grp python:range(pageinfo['numgroups'])" |
10 tal:attributes="selected python:(start==grp*grpsize+1); value python:(grp*grpsize+1)" | 10 tal:attributes="selected python:(start==grp*grpsize+1); value python:(grp*grpsize+1)" |
11 tal:content="python:(grp*grpsize+1)"/> | 11 tal:content="python:(grp*grpsize+1)"/> |
12 </select> | 12 </select> |
13 <span tal:condition="python:(start+grpsize<docinfo['numPages'])"> | 13 <span tal:condition="python:(start+grpsize<int(docinfo['numPages']))"> |
14 <a tal:attributes="href python:here.getLink(param='start',val=start+grpsize)">></a> | 14 <a tal:attributes="href python:here.getLink(param='start',val=start+grpsize)">></a> |
15 </span> | 15 </span> |
16 </div> | 16 </div> |
17 <table> | 17 <table> |
18 <tr tal:repeat="row python:range(rows)"> | 18 <tr tal:repeat="row python:range(rows)"> |