Changeset 76:47d76f050883 in documentViewer


Ignore:
Timestamp:
Nov 4, 2008, 10:03:56 PM (15 years ago)
Author:
dwinter
Branch:
default
Message:

minorCVS: ----------------------------------------------------------------------

Location:
zpt
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • zpt/image_main.zpt

    r74 r76  
    11<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}"/>
    33 <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}"/>
    44</tal:block>
  • zpt/thumbs_main.zpt

    r36 r76  
    22  start pageinfo/start; end pageinfo/end; rows pageinfo/rows; cols pageinfo/cols;
    33  current pageinfo/current; grpsize pageinfo/groupsize">
     4
    45<div class="thumbruler">
    56  <span tal:condition="python:(start>1)">
  • zpt/viewer_main.zpt

    r74 r76  
    1313    </td>
    1414    <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'])" />
    1616    </td>
    1717  </tr>
Note: See TracChangeset for help on using the changeset viewer.