Changeset 50:6c0f20cecc60 in documentViewer for zpt


Ignore:
Timestamp:
Jan 11, 2007, 12:03:17 PM (17 years ago)
Author:
dwinter
Branch:
default
Message:

added evaluation of the presentation/info.xml in texttools

Location:
zpt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zpt/changeDocumentViewer.zpt

    r48 r50  
    1717        <p class="form-label">Text viewer URL</p>
    1818        <p class="form-element"><input size="80" tal:attributes="value here/textViewerUrl" name="textViewerUrl"></p>
    19         <p class="form-text">Should be an 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>
    2020       
    2121        <p class="form-optional">Thumbnail rows</p>
  • zpt/image_main.zpt

    r46 r50  
    11<tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; mode python:options.get('viewMode','images')">
    22 <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}"/>
    44</tal:block>
Note: See TracChangeset for help on using the changeset viewer.