annotate zpt/head_main.zpt @ 64:d928e4820b93

added more try/excepts to bib-meta reading code
author casties
date Fri, 22 Jun 2007 18:04:24 +0200
parents f4e0af8c281d
children 3b3c7cadd013
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
49
a10fff6199b0 verbesserung f?r text unterst?tzung, text kann jetzt aus url kommen, sprache bisher nur deutsch
dwinter
parents: 26
diff changeset
1 <tal:block tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode python:options.get('viewMode','images')">
26
dcadb05c8dfb new, less preliminary version 0.2
casties
parents: 24
diff changeset
2 <span tal:condition="not:exists:docinfo/author">(no bibliographical information)</span>
24
2204e028811b preliminary version 0.2
casties
parents:
diff changeset
3 <tal:y tal:condition="exists:docinfo/author">
2204e028811b preliminary version 0.2
casties
parents:
diff changeset
4 <b tal:content="docinfo/author"/>,<i tal:content="docinfo/title"/>,<i tal:content="docinfo/year"/>
2204e028811b preliminary version 0.2
casties
parents:
diff changeset
5 </tal:y>
49
a10fff6199b0 verbesserung f?r text unterst?tzung, text kann jetzt aus url kommen, sprache bisher nur deutsch
dwinter
parents: 26
diff changeset
6 <tal:x tal:condition="python:viewMode=='text'">
a10fff6199b0 verbesserung f?r text unterst?tzung, text kann jetzt aus url kommen, sprache bisher nur deutsch
dwinter
parents: 26
diff changeset
7 <a target="_blank" tal:attributes="href string:${here/imageViewerUrl}fn=${docinfo/imagePath}&pn=${pageinfo/current}">view image</a>
53
f4e0af8c281d NEW - # 44: ECHO - vollst?ndige bibliographische Angabe
dwinter
parents: 49
diff changeset
8 <a target="_blank" tal:attributes="href string:${here/textViewerUrl}/getPage?fn=${docinfo/imagePath}&_pn=${pageinfo/current}">show xml</a>
49
a10fff6199b0 verbesserung f?r text unterst?tzung, text kann jetzt aus url kommen, sprache bisher nur deutsch
dwinter
parents: 26
diff changeset
9 </tal:x>
24
2204e028811b preliminary version 0.2
casties
parents:
diff changeset
10 </tal:block>