Changeset 122:027134cca83e in documentViewer for zpt/page_main_images.zpt


Ignore:
Timestamp:
May 25, 2010, 2:36:24 PM (14 years ago)
Author:
casties
Branch:
default
Message:

reverting back to non-metal version for now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/page_main_images.zpt

    r92 r122  
    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>
     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>
Note: See TracChangeset for help on using the changeset viewer.