Changeset 76:47d76f050883 in documentViewer for zpt
- Timestamp:
- Nov 4, 2008, 10:03:56 PM (16 years ago)
- Branch:
- default
- Location:
- zpt
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
zpt/image_main.zpt
r74 r76 1 1 <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; mode python:options.get('viewMode','images')"> 2 <iframe tal:condition="python:mode=='images'" height="100%" width="100%" tal:attributes="src string:${here/imageViewerUrl}fn=${docinfo/imagePath}&pn=${pageinfo/current} ${options/marks}"/>2 <iframe tal:condition="python:mode=='images'" height="100%" width="100%" tal:attributes="src string:${here/imageViewerUrl}fn=${docinfo/imagePath}&pn=${pageinfo/current}&${options/mk}"/> 3 3 <iframe tal:condition="python:mode=='text'" height="100%" width="100%" tal:attributes="src string:${here/textViewerUrl}fn=${docinfo/textURL}&pn=${pageinfo/current}&lang=${docinfo/lang}"/> 4 4 </tal:block> -
zpt/thumbs_main.zpt
r36 r76 2 2 start pageinfo/start; end pageinfo/end; rows pageinfo/rows; cols pageinfo/cols; 3 3 current pageinfo/current; grpsize pageinfo/groupsize"> 4 4 5 <div class="thumbruler"> 5 6 <span tal:condition="python:(start>1)"> -
zpt/viewer_main.zpt
r74 r76 13 13 </td> 14 14 <td width="100%" valign="top"> 15 <tal:block tal:content="structure python:here.template.image_main(docinfo=docinfo,pageinfo=pageinfo,viewMode=viewMode,mk= mk)" />15 <tal:block tal:content="structure python:here.template.image_main(docinfo=docinfo,pageinfo=pageinfo,viewMode=viewMode,mk=options['mk'])" /> 16 16 </td> 17 17 </tr>
Note: See TracChangeset
for help on using the changeset viewer.