Mercurial > hg > MPIWGWeb
annotate zpt/www/main_template.zpt @ 155:9e7bc0958fd8
fixed language switcher link.
author | casties |
---|---|
date | Mon, 03 Jun 2013 21:34:25 +0200 |
parents | 7771cdd95398 |
children | 2e0953694aef |
rev | line source |
---|---|
2 | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
5 | 3 <html xmlns="http://www.w3.org/1999/xhtml" metal:define-macro="page" |
108
782477730916
CLOSED - # 57: Research/ Research Units: Karussell f?r die Projekte in einem Department
casties
parents:
66
diff
changeset
|
4 tal:define="root here/MPIWGrootURL|here/en/MPIWGrootURL; |
2 | 5 crumbs template/getBreadcrumbs | nothing; |
6 section here/getSection | nothing; | |
7 sections here/getSections | nothing; | |
5 | 8 lang here/getLang | nothing; |
9 allsecs python:{'en':{ | |
10 'institute':'institute', | |
11 'staff':'staff', | |
12 'research':'research', | |
13 'resources':'resources', | |
14 'news':'news'}, | |
15 'de':{ | |
16 'institute':'institut', | |
17 'staff':'mitarbeiter', | |
18 'research':'forschung', | |
19 'resources':'ressourcen', | |
20 'news':'aktuelles'}}; | |
21 secmap python:allsecs[lang]; | |
2 | 22 "> |
5 | 23 <head> |
24 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
25 <title metal:define-slot="title">Max Planck Institute for the History of Science</title> | |
26 <link rel="stylesheet" type="text/css" tal:attributes="href string:$root/mpiwg_css" /> | |
27 <link rel="shortcut icon" href="http://www.mpiwg-berlin.mpg.de/favicon.ico" /> | |
66
68b3d71eed27
formatting for preprint list. javascript for foldable divs.
casties
parents:
10
diff
changeset
|
28 <script type="text/javascript" tal:attributes="src string:$root/jquery_js"></script> |
68b3d71eed27
formatting for preprint list. javascript for foldable divs.
casties
parents:
10
diff
changeset
|
29 <script type="text/javascript" tal:attributes="src string:$root/mpiwg_js"></script> |
5 | 30 <tal:block metal:define-slot="head" /> |
31 </head> | |
2 | 32 <body> |
33 <div tal:condition="exists:here/mpiwg_test" tal:replace="structure here/mpiwg_test" /> | |
34 <div id="wrapper"> | |
35 <div id="header"> | |
36 <div class="title"> | |
37 <a tal:attributes="href string:$root/index.html"><img tal:attributes="src string:$root/images/title.png" | |
38 alt="Max Planck Institute for the History of Science" /></a> | |
39 </div> | |
40 <div class="logo"> | |
41 <a tal:attributes="href string:$root/index.html"><img tal:attributes="src string:$root/images/logo.png" alt="MPIWG Logo" /></a> | |
42 </div> | |
43 </div> | |
44 | |
45 <div id="mainnav"> | |
6 | 46 <ul> |
47 <li tal:repeat="sec sections" tal:attributes="class python:test(sec.getId()==section,'sec on','sec')"><a | |
48 tal:attributes="href sec/absolute_url" tal:content="sec/title">Institute</a></li> | |
155 | 49 <li class="sec lang" tal:condition="python:lang=='en'"><a class="internal" tal:attributes="href string:$root/../de">Deutsch</a></li> |
50 <li class="sec lang" tal:condition="python:lang=='de'"><a class="internal" tal:attributes="href string:$root/../en">English</a></li> | |
6 | 51 </ul> |
2 | 52 </div> |
53 | |
8 | 54 <div id="breadcrumbs" metal:define-slot="breadcrumbs"> |
55 <a tal:attributes="href root">Home</a> > | |
56 <tal:block tal:repeat="crumb crumbs | nothing"> | |
57 <tal:block tal:condition="not:repeat/crumb/end"> | |
58 <a tal:attributes="href python:crumb[1]" tal:content="python:crumb[0]">News</a> > | |
59 </tal:block> | |
60 <tal:block tal:condition="repeat/crumb/end"> | |
61 <span class="selected"> <a tal:attributes="href python:crumb[1]" tal:content="python:crumb[0]">News</a> | |
62 </span> | |
63 </tal:block> | |
64 </tal:block> | |
65 </div> | |
66 | |
67 <div id="mainrow" metal:define-slot="mainrow"> | |
5 | 68 <div class="leftbox" metal:define-slot="leftbox"> |
108
782477730916
CLOSED - # 57: Research/ Research Units: Karussell f?r die Projekte in einem Department
casties
parents:
66
diff
changeset
|
69 <div class="subnav" metal:define-slot="subnav" |
782477730916
CLOSED - # 57: Research/ Research Units: Karussell f?r die Projekte in einem Department
casties
parents:
66
diff
changeset
|
70 tal:define="subsection python:template.getSubSection(crumbs=crumbs);"> |
8 | 71 <ul tal:condition="crumbs"> |
10 | 72 <li tal:repeat="subnav python:here.getSubsections(here)" |
8 | 73 tal:attributes="class python:test(subnav[0]==subsection,'sn_on','sn_off')"><a |
74 tal:attributes="href python:subnav[1].absolute_url()" tal:content="python:subnav[1].title">Subnav</a></li> | |
75 </ul> | |
2 | 76 </div> |
77 <div class="subnavbox" metal:define-slot="subnavbox"></div> | |
150 | 78 </div><!-- /leftbox --> |
79 | |
6 | 80 <div class="main content" metal:define-slot="main"> |
2 | 81 |
150 | 82 <div class="center" metal:define-slot="center"></div><!-- /center --> |
2 | 83 |
150 | 84 </div><!-- /main --> |
8 | 85 |
150 | 86 <metal:block metal:define-slot="sidebar" /><!-- /sidebar --> |
8 | 87 |
150 | 88 </div><!-- /maincontent --> |
2 | 89 |
8 | 90 <div id="footer"> |
6 | 91 <div class="text"> |
92 <a tal:attributes="href string:$root/resources/intranet.html">Intranet</a> | <a href="https://webmail.mpiwg-berlin.mpg.de" | |
93 target="_blank">Webmail</a> | <a tal:attributes="href string:$root/institute/address.html">Contact</a> | <a | |
94 tal:attributes="href string:$root/impressum.html">Imprint</a> | <a | |
95 tal:attributes="href python:'http://www2.mpiwg-berlin.mpg.de/Library/libindex.html'" target="_blank">Library | |
96 (internal)</a> | <a tal:attributes="href string:$root/institute/sitemap.html">Sitemap</a> | |
2 | 97 </div> |
6 | 98 <div class="logo"> |
99 <a href="http://www.mpg.de/"> <img tal:attributes="src string:$root/images/signet.png" alt="MPG" width="204" height="41" /> | |
100 </a> | |
101 </div> | |
148 | 102 </div><!-- /footer --> |
150 | 103 |
148 | 104 <div id="bookmarks" metal:define-slot="bookmarks"> |
105 <div class="bookmark"> | |
106 <a tal:attributes="href string:$root/${secmap/resources}/">Sources <img tal:attributes="src string:$root/images/sources_small.png"/></a> | |
107 </div> | |
150 | 108 <div class="bookmark"> |
109 <a tal:attributes="href string:$root/${secmap/research}/thesaurus/show_en.html">Keywords <img tal:attributes="src string:$root/images/thesaurus_small.png"/></a> | |
110 </div> | |
111 <div class="bookmark"> | |
112 <a tal:attributes="href string:$root/${secmap/institute}/search/search_en.html">Search <img tal:attributes="src string:$root/images/search_small.png"/></a> | |
113 </div> | |
114 </div><!-- /bookmarks --> | |
115 | |
148 | 116 </div><!-- /wrapper --> |
2 | 117 </body> |
118 </html> |