File:  [Repository] / documentViewer / zpt / toc_text.zpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Thu Apr 8 11:04:51 2010 UTC (14 years, 2 months ago) by casties
Branches: MAIN
CVS tags: modularisierung, Root_modularisierung, HEAD
new version with new full-text infrastructure and some more changed templates

<tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo;  
  pn python:int(pageinfo['tocPN']); tocsize python:int(docinfo['tocSize_text']); grpsize python:int(pageinfo['tocPageSize']);
  maxpn python:int(tocsize/grpsize);">
  <div class="thumbruler">
    <span tal:condition="python:(pn>1)">
      <a tal:attributes="href python:here.getLink(param='tocPN',val=pn-1)">&lt;</a>
    </span>
    <span tal:content="string:$pn of $tocsize"/>
    <span>
    <a tal:attributes="href python:here.getLink(param='tocPN',val=pn+1)">&gt;</a>
  </span>
</div>
  <div tal:content="structure python:here.getTocPage(mode='text',pageinfo=pageinfo,docinfo=docinfo)"/>
</tal:block>

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