Mercurial > hg > MPIWG-drupal-modules
comparison sites/all/themes/mpiwgDev/main_template.zpt @ 0:015d06b10d37 default tip
initial
author | dwinter |
---|---|
date | Wed, 31 Jul 2013 13:49:13 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:015d06b10d37 |
---|---|
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" metal:define-macro="page" | |
4 tal:define="root here/MPIWGrootURL|here/en/MPIWGrootURL; | |
5 crumbs template/getBreadcrumbs | nothing; | |
6 section here/getSection | nothing; | |
7 sections here/getSections | nothing; | |
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]; | |
22 subsection python:template.getSubSection(crumbs=crumbs); | |
23 "> | |
24 <head> | |
25 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
26 <title metal:define-slot="title">Max Planck Institute for the History of Science</title> | |
27 <link rel="stylesheet" type="text/css" tal:attributes="href string:$root/mpiwg_css" /> | |
28 <link rel="shortcut icon" href="http://www.mpiwg-berlin.mpg.de/favicon.ico" /> | |
29 <tal:block metal:define-slot="head" /> | |
30 </head> | |
31 <body> | |
32 <div tal:condition="exists:here/mpiwg_test" tal:replace="structure here/mpiwg_test" /> | |
33 <div id="wrapper"> | |
34 <div id="header"> | |
35 <div class="title"> | |
36 <a tal:attributes="href string:$root/index.html"><img tal:attributes="src string:$root/images/title.png" | |
37 alt="Max Planck Institute for the History of Science" /></a> | |
38 </div> | |
39 <div class="logo"> | |
40 <a tal:attributes="href string:$root/index.html"><img tal:attributes="src string:$root/images/logo.png" alt="MPIWG Logo" /></a> | |
41 </div> | |
42 </div> | |
43 | |
44 <div id="mainnav"> | |
45 <ul> | |
46 <li tal:repeat="sec sections" tal:attributes="class python:test(sec.getId()==section,'sec on','sec')"><a | |
47 tal:attributes="href sec/absolute_url" tal:content="sec/title">Institute</a></li> | |
48 <li class="sec lang"><a class="internal" tal:attributes="href string:$root/../de">Deutsch</a></li> | |
49 </ul> | |
50 </div> | |
51 | |
52 <div id="breadcrumbs" metal:define-slot="breadcrumbs"> | |
53 <a tal:attributes="href root">Home</a> > | |
54 <tal:block tal:repeat="crumb crumbs | nothing"> | |
55 <tal:block tal:condition="not:repeat/crumb/end"> | |
56 <a tal:attributes="href python:crumb[1]" tal:content="python:crumb[0]">News</a> > | |
57 </tal:block> | |
58 <tal:block tal:condition="repeat/crumb/end"> | |
59 <span class="selected"> <a tal:attributes="href python:crumb[1]" tal:content="python:crumb[0]">News</a> | |
60 </span> | |
61 </tal:block> | |
62 </tal:block> | |
63 </div> | |
64 | |
65 <div id="mainrow" metal:define-slot="mainrow"> | |
66 <div class="leftbox" metal:define-slot="leftbox"> | |
67 <div class="subnav" metal:define-slot="subnav"> | |
68 <ul tal:condition="crumbs"> | |
69 <li tal:repeat="subnav python:here.subNav(here)" | |
70 tal:attributes="class python:test(subnav[0]==subsection,'sn_on','sn_off')"><a | |
71 tal:attributes="href python:subnav[1].absolute_url()" tal:content="python:subnav[1].title">Subnav</a></li> | |
72 </ul> | |
73 </div> | |
74 <div class="subnavbox" metal:define-slot="subnavbox"></div> | |
75 </div> | |
76 <!-- /leftbox --> | |
77 <div class="main content" metal:define-slot="main"> | |
78 | |
79 <div class="center" metal:define-slot="center"></div> | |
80 <!-- /center --> | |
81 | |
82 </div> | |
83 <!-- /main --> | |
84 | |
85 <metal:block metal:define-slot="sidebar" /> | |
86 <!-- /sidebar --> | |
87 | |
88 </div> | |
89 <!-- /maincontent --> | |
90 | |
91 <div id="footer"> | |
92 <div class="text"> | |
93 <a tal:attributes="href string:$root/resources/intranet.html">Intranet</a> | <a href="https://webmail.mpiwg-berlin.mpg.de" | |
94 target="_blank">Webmail</a> | <a tal:attributes="href string:$root/institute/address.html">Contact</a> | <a | |
95 tal:attributes="href string:$root/impressum.html">Imprint</a> | <a | |
96 tal:attributes="href python:'http://www2.mpiwg-berlin.mpg.de/Library/libindex.html'" target="_blank">Library | |
97 (internal)</a> | <a tal:attributes="href string:$root/institute/sitemap.html">Sitemap</a> | |
98 </div> | |
99 <div class="logo"> | |
100 <a href="http://www.mpg.de/"> <img tal:attributes="src string:$root/images/signet.png" alt="MPG" width="204" height="41" /> | |
101 </a> | |
102 </div> | |
103 </div> | |
104 <!-- /footer --> | |
105 </div> | |
106 <!-- /wrapper --> | |
107 </body> | |
108 </html> |