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

version 1.5, 2008/07/22 14:33:27 version 1.7, 2010/04/09 18:33:53
Line 1 Line 1
 <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode python:options.get('viewMode','images')">  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   </head>
   <body>
     <!-- block used for main content area -->
     <metal:block metal:define-macro="main">
       <div class="page_head">
   <span tal:condition="not:exists:docinfo/author">(no bibliographical information)</span>    <span tal:condition="not:exists:docinfo/author">(no bibliographical information)</span>
   <tal:y tal:condition="exists:docinfo/author">        <tal:block tal:condition="exists:docinfo/author">
     <b tal:content="docinfo/author"/>,<i tal:content="docinfo/title"/><i tal:condition="exists:docinfo/year" tal:content="string:,${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: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>
       </div>
     </metal:block>
   </body>
   </html>
   

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


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