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 | tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode pageinfo/viewMode; |
---|
5 | tocMode pageinfo/tocMode; viewType pageinfo/viewType; viewerUrl docinfo/viewerUrl; |
---|
6 | numPages docinfo/numPages | nothing;"> |
---|
7 | <head> |
---|
8 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
9 | <title tal:content="python:docinfo.get('creator',' ') + ' - ' + docinfo.get('title',' ')" /> |
---|
10 | <link rel="stylesheet" href="template/docuviewer_css" type="text/css" /> |
---|
11 | </head> |
---|
12 | <body tal:condition="numPages"> |
---|
13 | <tal:block |
---|
14 | tal:define="docpath docinfo/textURLPath; |
---|
15 | query nothing;"> |
---|
16 | <table width="98%"> |
---|
17 | <tr> |
---|
18 | <td valign="top"> |
---|
19 | <a href="http://echo.mpiwg-berlin.mpg.de/content"> |
---|
20 | <img border="0" src="images/logo.png" align="top" alt=""/> |
---|
21 | </a> |
---|
22 | </td> |
---|
23 | <td valign="top" align="right"> |
---|
24 | <!--<b><span>home</span> <span>contact</span> <span>help</span></b>--> |
---|
25 | </td> |
---|
26 | <td valign="top" align="right"> |
---|
27 | <!--BEGIN search --> |
---|
28 | <form tal:condition="docpath" tal:attributes="action python:here.getLink()"> |
---|
29 | <input type="hidden" tal:define="params python:here.getParams('viewMode', None)" tal:repeat="param params" tal:attributes="name param; value python:params[param]"/> |
---|
30 | <input class="textMain" name="query" onfocus="this.select();" type="text" tal:attributes="value query"/> |
---|
31 | <input type="submit" class="buttonMain" value="Search in Book"/> |
---|
32 | </form> |
---|
33 | <!-- END search--> |
---|
34 | </td> |
---|
35 | </tr> |
---|
36 | </table> |
---|
37 | <table border="0"> |
---|
38 | <tr> |
---|
39 | <td valign="top"> |
---|
40 | <a tal:define="tp docinfo/titlePage | nothing" tal:attributes="href python:context.getLink('viewMode','auto')"> |
---|
41 | <img tal:condition="tp" border="0" tal:attributes="src string:${docinfo/imageURL}&pn=$tp&dw=300&dh=500"/> |
---|
42 | <img tal:condition="not:tp" border="0" src="images/oldbook.png"/> |
---|
43 | </a> |
---|
44 | </td> |
---|
45 | <td valign="top"> |
---|
46 | <table border=0 id="bibinfo" tal:define="formattedData python:here.metadata.getFormattedMetaDataExtended(bibdata=docinfo.get('bib', None))"> |
---|
47 | <!-- wenn es bibinfo in docinfo gibt --> |
---|
48 | |
---|
49 | <tal:x condition="python:formattedData"> |
---|
50 | <div tal:replace="structure python:formattedData"/> |
---|
51 | <!-- <div><a href="javascript:showExtendedMetadata(1)">extended</a></div> --> |
---|
52 | <div tal:condition="exists:docinfo/attribution" tal:replace="structure python:here.metadataService.getAttributionFormatted('metadata_template', data=docinfo['attribution'])"/> |
---|
53 | <div tal:condition="exists:docinfo/copyright" tal:replace="structure python:here.metadataService.getCopyrightFormatted('metadata_template', data=docinfo['copyright'])"/> |
---|
54 | </tal:x> |
---|
55 | |
---|
56 | <!-- kein template fuer die daten --> |
---|
57 | <tal:x condition="python:formattedData==None"> |
---|
58 | <tal:x condition="exists:docinfo/bib"> |
---|
59 | <tr tal:define="bibinfo docinfo/bib" tal:repeat="bib bibinfo"> |
---|
60 | <td class="type" tal:content="python:bib.capitalize().replace('_',' ') + ':'"/> |
---|
61 | <td class="content" tal:content="bibinfo/bib"/> |
---|
62 | </tr> |
---|
63 | </tal:x> |
---|
64 | |
---|
65 | <!-- wenn es keine bibinfo gibt (archimedes-texte) --> |
---|
66 | <tal:y condition="not:exists:docinfo/bib"> |
---|
67 | <tr> |
---|
68 | <td class="type">Author:</td> |
---|
69 | <td class="content" tal:content="python:docinfo['creator']"/> |
---|
70 | </tr> |
---|
71 | <tr> |
---|
72 | <td class="type">Title:</td> |
---|
73 | <td class="content" tal:content="python:docinfo['title']"/> |
---|
74 | </tr> |
---|
75 | <tr> |
---|
76 | <td class="type">Year:</td> |
---|
77 | <td class="content" tal:content="python:docinfo['date']"/> |
---|
78 | </tr> |
---|
79 | </tal:y> |
---|
80 | </tal:x> <!-- ende kein template fuer die daten --> |
---|
81 | </table> |
---|
82 | |
---|
83 | <br/><br/><br/><br/><br/><br/> |
---|
84 | <table border="0" width="100%"> |
---|
85 | <tr> |
---|
86 | <td> |
---|
87 | <a class="openbutton" tal:attributes="href python:context.getLink('viewMode','auto')">Access Book</a> |
---|
88 | </td> |
---|
89 | </tr> |
---|
90 | |
---|
91 | <tr tal:condition="docpath"> |
---|
92 | <td class="openbutton1">Download: |
---|
93 | <a tal:attributes="href python:'http://mpdl-system.mpiwg-berlin.mpg.de/mpdl/getDoc?doc=%s.html'%(docpath.replace('.xml','.html'))" target="_blank">html</a> |
---|
94 | / |
---|
95 | <a tal:attributes="href python:'http://mpdl-system.mpiwg-berlin.mpg.de/mpdl/getDoc?doc=%s'%(docpath)" target="_blank">xml</a> |
---|
96 | </td> |
---|
97 | </tr> |
---|
98 | </table> |
---|
99 | </td> |
---|
100 | </tr> |
---|
101 | </table> |
---|
102 | |
---|
103 | </tal:block> |
---|
104 | </body> |
---|
105 | <body tal:condition="not:numPages"> |
---|
106 | <div class="errortext">Sorry, document doesn't exist.</div> |
---|
107 | </body> |
---|
108 | </html> |
---|