Changeset 92:727fa536860c in documentViewer for zpt
- Timestamp:
- Apr 9, 2010, 6:33:53 PM (14 years ago)
- Branch:
- default
- Location:
- zpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
zpt/head_main.zpt
r88 r92 1 <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode python:options.get('viewMode','images')"> 2 <span tal:condition="not:exists:docinfo/author">(no bibliographical information)</span> 3 <tal:y tal:condition="exists:docinfo/author"> 4 <b tal:content="docinfo/author"/>,<i tal:content="docinfo/title"/><i tal:condition="exists:docinfo/year" tal:content="string:,${docinfo/year}"/> 5 </tal:y> 6 </tal:block> 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 <head> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6 </head> 7 <body> 8 <!-- block used for main content area --> 9 <metal:block metal:define-macro="main"> 10 <div class="page_head"> 11 <span tal:condition="not:exists:docinfo/author">(no bibliographical information)</span> 12 <tal:block tal:condition="exists:docinfo/author"> 13 <b tal:content="docinfo/author"/>,<i tal:content="docinfo/title"/><i tal:condition="exists:docinfo/year" tal:content="string:,${docinfo/year}"/> 14 </tal:block> 15 </div> 16 </metal:block> 17 </body> 18 </html> -
zpt/page_main_images.zpt
r88 r92 1 <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; mk python:options.get('mk','')"> 2 <iframe height="100%" width="100%" tal:attributes="src string:${here/template/zogilib/absolute_url}?fn=${docinfo/imagePath}&pn=${pageinfo/current}&$mk"/> 3 </tal:block> 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 <head> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6 <!-- block used for definitions and scripts in head --> 7 <metal:block metal:define-macro="head" tal:define="zogilib nocall:here/zogilib; fn docinfo/imagePath; pn pageinfo/current"> 8 <metal:block metal:use-macro="here/zogilib/template/main_embed/macros/head"/> 9 </metal:block> 10 </head> 11 <body onload="dl_init()"> 12 <!-- block used for main content area --> 13 <metal:block metal:define-macro="main" tal:define="zogilib nocall:here/zogilib"> 14 <tal:block tal:define="global zogilib_hasNavRef nothing"/> 15 <metal:block metal:use-macro="here/zogilib/template/main_embed/macros/main"/> 16 </metal:block> 17 </body> 18 </html>
Note: See TracChangeset
for help on using the changeset viewer.