File:  [Repository] / ECHO_content / vlp / library_template.zpt
Revision 1.13: download - view: text, annotated - select for diffs - revision graph
Mon Jan 31 11:15:50 2005 UTC (19 years, 3 months ago) by dwinter
Branches: MAIN
CVS tags: cleanup, Root_cleanup, HEAD
major changes in utf-8 handling, version maybe not compatible with older templates!

<html metal:use-macro="here/main_template/macros/page">
  <head>
    <title tal:content="here/title">lit25146 a0001</title>
    <tal:block metal:fill-slot="script">
      <script type="text/javascript" tal:replace="structure here/zogilib/createHeadJS"></script>
      <script language="javascript" type="text/javascript">
	<!--
	    function formgo(box)
	    {
	    // window.open(box.options[box.selectedIndex].value, "_top")
	    if ((-1 < box.selectedIndex) && (box.options[box.selectedIndex].value != "nil"))
	    {
	    val = box.options[box.selectedIndex].value;
	    window.open(val, "_top");
	    }
	    return true;
	    }
	    // -->
      </script>
    </tal:block>
   </head>

<table metal:fill-slot="nav" border="1" cellspacing="0" cellpadding="8" width="80">
    <tr>
      <td bgcolor="#d6d6cc" valign="top">
	<!-- bibliographic data and link to transcription -->
	<p tal:content="structure python:here.getTitle()">Aeby, Chr. 1883. Schema des Faserverlaufes im menschlichen Gehirn und Rueckenmark. Bern: Verlag der J. Dalp'schen Buchhandlung (K. Schmid) </p>
		 
	<!-- page navigation -->
	<p><br><br><br>
	  <form>
	    <select size="1" onchange="formgo(this)" style="background-color:#d7d7cc">
	      <tal:block tal:omit-tag="" tal:repeat="page here/readIndexFile">
		<option tal:condition="python:here.REQUEST.get('pn')==page[0]" selected tal:attributes="value python:here.REQUEST['URL']+'?pn='+page[0]" tal:content="python:page[1]"/>
		<option tal:condition="not:python:here.REQUEST.get('pn')==page[0]" tal:attributes="value python:here.REQUEST['URL']+'?pn='+page[0]" tal:content="python:page[1]"/>
	      </tal:block>
	    </select>
	 </form>
	  <table width="80" class="navigDigilib" border="0" cellspacing="0" cellpadding="8">
	    
	    <tr class="small">
	      <td tal:content="structure here/firstPage"/>
	      <td tal:content="structure here/prevPage"/>
	      <td tal:content="structure here/nextPage"/>
	      <td tal:content="structure here/lastPage"/>
	   </tr>

		</table>
	</td>
		<!-- image -->
	 </tr>
      </table>

<body onload="dl_init()" tal:define="dummy python:here.zogilib.storeQuery('fn=/permanent/vlp/'+here.resourceID+'/'+here.imagePath)" bgcolor="#e6e6e6" alink="#000000" vlink="#000000" link="#000000" text="#000000">
<div id="navigation">
  <tal:block metal:fill-slot="body" tal:define="dummy python:here.REQUEST.form.setdefault('pn',here.REQUEST.get('pn'))">
  <!--<span tal:replace="structure here/REQUEST"/>-->
  <form method="get" tal:attributes="action python:here.zogilib.zogilibPath()+'setDLParams'">
   <select onchange="setDLParam(event, this)" name="ws">
     <option value="1" selected>Size</option>
     <option tal:attributes="value python:here.zogilib.getBiggerWS()">bigger</option>
     <option tal:attributes="value python:here.zogilib.getSmallerWS()">smaller</option>
     <option value="1">1 x</option>
     <option value="1.5">1.5 x</option>
     <option value="2">2 x</option>
     <option value="3">3 x</option>
   </select>
   <input tal:condition="here/zogilib/isStaticHTML" type="submit"/>	  
   <a tal:condition="not:here/zogilib/isStaticHTML" href="javascript:setMark()">set a mark</a>
   <a tal:condition="not:here/zogilib/isStaticHTML" href="javascript:getRef(1)">get the reference</a>
   <a tal:condition="not:here/zogilib/isStaticHTML" tal:attributes="href python:'javascript:openWin(\''+here.zogilib.zogilibPath()+'optionwindow?frametarget=\'+dlTarget,\'Options\',\'width=300,height=250,resizable\')'">options</a>
   <a tal:condition="here/zogilib/isStaticHTML" tal:attributes="href python:here.zogilib.zogilibPath()+'optionwindow'" target="_blank">options</a>
</form>
<div tal:define="dummy python:here.zogilib.storeQuery('ws=1.5&fn=/permanent/vlp/'+here.resourceID+'/'+here.imagePath)" tal:omit-tag=""/>
<div tal:replace="structure python:here.zogilib.createScalerDiv(None, 20)"/>
<div tal:replace="structure here/zogilib/createAuxDiv"/>

</tal:block> <!-- end fill-slot body-->
</body>
</html>												      
										 

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