Diff for /documentViewer/zpt/head_main.zpt between versions 1.1 and 1.5

version 1.1, 2006/04/06 17:13:43 version 1.5, 2008/07/22 14:33:27
Line 1 Line 1
 <tal:block tal:define="docinfo options/docinfo">  <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode python:options.get('viewMode','images')">
   <span tal:condition="not:exists:docinfo/author">(no information)</span>    <span tal:condition="not:exists:docinfo/author">(no bibliographical information)</span>
   <tal:y tal:condition="exists:docinfo/author">    <tal:y tal:condition="exists:docinfo/author">
     <b tal:content="docinfo/author"/>,<i tal:content="docinfo/title"/>,<i tal:content="docinfo/year"/>      <b tal:content="docinfo/author"/>,<i tal:content="docinfo/title"/><i tal:condition="exists:docinfo/year" tal:content="string:,${docinfo/year}"/>
   </tal:y>    </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>
     <a target="_blank" tal:attributes="href string:${here/textViewerUrl}/getPage?fn=${docinfo/imagePath}&_pn=${pageinfo/current}">show xml</a>
     </tal:x>
 </tal:block>  </tal:block>

Removed from v.1.1  
changed lines
  Added in v.1.5


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