File:  [Repository] / documentViewer / zpt / head_main.zpt
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Mon Sep 11 14:43:09 2006 UTC (17 years, 9 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
verbesserung fŸr text unterstŸtzung, text kann jetzt aus url kommen, sprache bisher nur deutsch

<tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode python:options.get('viewMode','images')">
  <span tal:condition="not:exists:docinfo/author">(no bibliographical information)</span>
  <tal:y tal:condition="exists:docinfo/author">
    <b tal:content="docinfo/author"/>,<i tal:content="docinfo/title"/>,<i tal:content="docinfo/year"/>
  </tal:y>
  <tal:x tal:condition="python:viewMode=='text'">
  <a target="_blank" tal:attributes="href string:${here/imageViewerUrl}fn=${docinfo/imagePath}&pn=${pageinfo/current}">view image</a>
  </tal:x>
</tal:block>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>