Changeset 50:6c0f20cecc60 in documentViewer for zpt
- Timestamp:
- Jan 11, 2007, 12:03:17 PM (17 years ago)
- Branch:
- default
- Location:
- zpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
zpt/changeDocumentViewer.zpt
r48 r50 17 17 <p class="form-label">Text viewer URL</p> 18 18 <p class="form-element"><input size="80" tal:attributes="value here/textViewerUrl" name="textViewerUrl"></p> 19 <p class="form-text">Should be a n ECHO_xslt instance, full URL up to the '?' (e.g. 'http://echo.mpiwg-berlin.mpg.de/viewText/getPage?')</p>19 <p class="form-text">Should be a displayXML instance, full URL up to the '?' (e.g. 'http://echo.mpiwg-berlin.mpg.de/viewText?')</p> 20 20 21 21 <p class="form-optional">Thumbnail rows</p> -
zpt/image_main.zpt
r46 r50 1 1 <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; mode python:options.get('viewMode','images')"> 2 2 <iframe tal:condition="python:mode=='images'" height="100%" width="100%" tal:attributes="src string:${here/imageViewerUrl}fn=${docinfo/imagePath}&pn=${pageinfo/current}"/> 3 <iframe tal:condition="python:mode=='text'" height="100%" width="100%" tal:attributes="src string:${here/textViewerUrl}fn=${docinfo/textURL}& _pn=${pageinfo/current}"/>3 <iframe tal:condition="python:mode=='text'" height="100%" width="100%" tal:attributes="src string:${here/textViewerUrl}fn=${docinfo/textURL}&pn=${pageinfo/current}"/> 4 4 </tal:block>
Note: See TracChangeset
for help on using the changeset viewer.