Changeset 48:6b5b153209bd in documentViewer for zpt


Ignore:
Timestamp:
Sep 9, 2006, 10:52:59 AM (18 years ago)
Author:
dwinter
Branch:
default
Message:

has now also a text mode viewMode=text

Location:
zpt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zpt/changeDocumentViewer.zpt

    r45 r48  
    1515        <p class="form-text">This information can be automatically detected if the image viewer above is a Zogilib instance.<br/>
    1616        You must clear this field when you change the image viewer URL above.</p>
     17        <p class="form-label">Text viewer URL</p>
     18        <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>
     20       
    1721        <p class="form-optional">Thumbnail rows</p>
    1822        <p class="form-element"><input size="3" tal:attributes="value here/thumbrows | default" name="thumbrows"></p>
  • zpt/viewer_main.zpt

    r38 r48  
    1 <html tal:define="docinfo options/docinfo; pageinfo options/pageinfo">
     1<html tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode options/viewMode">
    22<head>
    33<link rel="stylesheet" href="template/docuviewer_css" type="text/css">
     
    1313    </td>
    1414    <td width="100%" valign="top">
    15       <tal:block tal:content="structure python:here.template.image_main(docinfo=docinfo,pageinfo=pageinfo)" />
     15      <tal:block tal:content="structure python:here.template.image_main(docinfo=docinfo,pageinfo=pageinfo,viewMode=viewMode)" />
    1616    </td>
    1717  </tr>
Note: See TracChangeset for help on using the changeset viewer.