Changeset 512:92a6443a6f16 in documentViewer for zpt


Ignore:
Timestamp:
Feb 28, 2012, 5:53:06 PM (13 years ago)
Author:
casties
Branch:
elementtree
Message:

fix pageFlow.

Location:
zpt
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • zpt/viewer_images.zpt

    r510 r512  
    5555    tal:define="docpath docinfo/textURLPath | nothing;
    5656              pn pageinfo/pn;
    57               flowLtr python:pageinfo.get('pageFlow','ltr')!='rtl';">
     57              flowLtr python:docinfo.get('pageFlow','ltr')!='rtl';">
    5858    <div class="page-head">
    5959      <metal:block metal:use-macro="here/template/common_template/macros/head" />
  • zpt/viewer_text.zpt

    r511 r512  
    2929    tal:define="docpath docinfo/textURLPath;
    3030                pn pageinfo/pn;
    31                 flowLtr python:pageinfo.get('pageFlow','ltr')!='rtl';
     31                flowLtr python:docinfo.get('pageFlow','ltr')!='rtl';
    3232                query python:request.get('query', None);
    3333                queryType python:request.get('queryType','fulltextMorph');
  • zpt/viewer_xml.zpt

    r511 r512  
    2828    tal:define="docpath docinfo/textURLPath;
    2929                               pn pageinfo/pn;
    30                                flowLtr python:pageinfo.get('pageFlow','ltr')!='rtl';
     30                               flowLtr python:docinfo.get('pageFlow','ltr')!='rtl';
    3131                               textPage python:here.getTextPage(mode='xml', pn=pn, docinfo=docinfo, pageinfo=pageinfo) or '[no text here]';">
    3232    <!-- header -->
Note: See TracChangeset for help on using the changeset viewer.