8
|
1 <?php print render($page['header']); ?>
|
|
2 <div id="wrapper">
|
|
3 <div id="container" class="clearfix">
|
|
4 <!-- <div id="mpiwg_link">
|
|
5 <a href="http://www.mpiwg-berlin.mpg.de/en"><b>«</b> Max Planck
|
|
6 Institute for the History of Science</a>
|
|
7 </div>-->
|
|
8
|
|
9 <div id="header">
|
|
10
|
|
11 <div class="title">
|
|
12 <?php if ($logo!=''):?>
|
|
13 <div class="logo_left">
|
|
14 <a href="<?php print theme_get_setting('mpiwg_logo_link') ?>"> <img class="logo_left"
|
|
15 height="100pt"
|
|
16 src="<?php print $logo ?>"
|
|
17 alt="<?php print $site_name_and_slogan ?>"
|
|
18 title="<?php print $site_name_and_slogan ?>" id="logo" />
|
|
19 </a>
|
|
20 </div>
|
|
21 <?php endif;?>
|
|
22
|
|
23
|
|
24
|
|
25 <?php if (isset($node) && ( ($node->type == "enterprise_event") || ($node->type == "project_description") ) ):?>
|
|
26
|
|
27 <?php print render($title_prefix); ?>
|
|
28 <?php if(substr($title,0,1) != "_"): ?>
|
|
29 <h1 <?php print $tabs ? ' class="with-tabs"' : '' ?>>
|
|
30
|
|
31 <?php print $title ?>
|
|
32
|
|
33 </h1>
|
|
34 <?php if (isset($node->field_subtitle['und'][0]['value'])): ?>
|
|
35 <?php print $node->field_subtitle['und'][0]['value'] ?>
|
|
36 <?php endif;?>
|
|
37 <?php endif; ?>
|
|
38
|
|
39 <?php else: ?>
|
|
40 <h1>
|
|
41 <a href="<?php print $front_page ?>"> <?php print $site_name ?>
|
|
42 </a>
|
|
43 </h1>
|
|
44 <h2>
|
|
45 <?php print $site_slogan ?>
|
|
46 </h2>
|
|
47 <?php endif;?>
|
|
48
|
|
49 </div>
|
|
50 <div class="logo">
|
|
51 <a href="<?php print theme_get_setting('mpiwg_logo_link') ?>"> <img
|
|
52 src="<?php print $MCGilllogo ?>"
|
|
53 alt="<?php print $site_name_and_slogan ?>"
|
|
54 title="<?php print $site_name_and_slogan ?>" id="logo" />
|
|
55 </a>
|
|
56 <a href="<?php print theme_get_setting('mpiwg_logo_link') ?>"> <img
|
|
57 src="<?php print $MPIWGlogo ?>"
|
|
58 alt="<?php print $site_name_and_slogan ?>"
|
|
59 title="<?php print $site_name_and_slogan ?>" id="logo" />
|
|
60 </a>
|
|
61
|
|
62
|
|
63 </div>
|
|
64 </div>
|
|
65
|
|
66 </div>
|
|
67 <!-- /#header -->
|
|
68 <div id="mainnav">
|
|
69
|
|
70 <?php if ($primary_nav): print $primary_nav; endif; ?>
|
|
71
|
|
72 <!--<li tal:repeat="sec sections" tal:attributes="class python:test(sec.getId()==section,'sec on','sec')"><a
|
|
73 tal:attributes="href sec/absolute_url" tal:content="sec/title">Institute</a></li>-->
|
|
74 <!--<li class="sec lang"><a class="internal" tal:attributes="href string:$root/../de">Deutsch</a></li>-->
|
|
75
|
|
76 </div>
|
|
77 <!-- /#mainnav-->
|
|
78
|
|
79
|
|
80
|
|
81 <div id="mainrow">
|
|
82 <?php if ($page['sidebar_first']): ?>
|
|
83 <div id="leftbox" class="leftbox">
|
|
84 <?php print render($page['sidebar_first']); ?>
|
|
85 </div>
|
|
86 <?php endif; ?>
|
|
87
|
|
88 <div class="main">
|
|
89 <div id="center">
|
|
90
|
|
91
|
|
92 <!--<?php print $breadcrumb; ?>-->
|
|
93 <?php if ($page['highlighted']): ?>
|
|
94 <div id="highlighted">
|
|
95 <?php print render($page['highlighted']); ?>
|
|
96 </div>
|
|
97 <?php endif; ?>
|
|
98 <a id="main-content"></a>
|
|
99 <?php if ($tabs): ?>
|
|
100 <div id="tabs-wrapper" class="clearfix">
|
|
101 <?php endif; ?>
|
|
102
|
|
103
|
|
104 <?php if (isset($node) && ($node->type != "enterprise_event") && ($node->type!="project_description")):?>
|
|
105
|
|
106 <?php print render($title_prefix); ?>
|
|
107
|
|
108
|
|
109
|
|
110 <?php if (isset($node->field_oc)):?>
|
|
111 <?php if ($node->field_oc['und'][0]['tid']==3):?>
|
|
112 <h1>Witness</h1>
|
|
113 <?php elseif ($node->field_oc['und'][0]['tid']==4):?>
|
|
114 <h1>Codex</h1>
|
|
115
|
|
116 <?php elseif ($node->field_oc['und'][0]['tid']==1):?>
|
|
117
|
|
118
|
|
119 <h1 <?php print $tabs ? ' class="with-tabs"' : '' ?>>
|
|
120 Person:
|
|
121 <?php print _openmindattribute_field_remap($node->field_attribute['und'])['name_translit']['romanization'] ?>
|
|
122 </h1>
|
|
123
|
|
124 <?php elseif ($node->field_oc['und'][0]['tid']==2):?>
|
|
125
|
|
126
|
|
127
|
|
128 <h1 <?php print $tabs ? ' class="with-tabs"' : '' ?>>
|
|
129 Text:
|
|
130 <?php print $title ?>
|
|
131
|
|
132 </h1>
|
|
133 <?php else :?>
|
|
134 <?php if(substr($title,0,1) != "_"): ?>
|
|
135 <h1 <?php print $tabs ? ' class="with-tabs"' : '' ?>>
|
|
136
|
|
137 <?php print $title ?>
|
|
138
|
|
139 </h1>
|
|
140 <?php endif; ?>
|
|
141 <?php endif;?>
|
|
142 <?php endif; ?>
|
|
143 <?php print render($title_suffix); ?>
|
|
144 <?php if ($tabs): ?>
|
|
145 <?php print render($tabs); ?>
|
|
146 </div>
|
|
147 <?php endif; ?>
|
|
148
|
|
149 <?php endif;?>
|
|
150
|
|
151 <?php print render($tabs2); ?>
|
|
152 <?php print $messages; ?>
|
|
153 <?php print render($page['help']); ?>
|
|
154 <?php if ($action_links): ?>
|
|
155 <ul class="action-links">
|
|
156 <?php print render($action_links); ?>
|
|
157 </ul>
|
|
158 <?php endif; ?>
|
|
159 <div class="clearfix">
|
|
160 <?php print render($page['content']); ?>
|
|
161 </div>
|
|
162
|
|
163 </div>
|
|
164 <!--/#center -->
|
|
165
|
|
166 </div>
|
|
167 <!-- .main.content-->
|
|
168 <?php if ($page['sidebar_second']): ?>
|
|
169 <div id="sidebar" class="sidebar">
|
|
170 <!-- <div id="sideblock" class="sideblock">-->
|
|
171 <?php print render($page['sidebar_second']); ?>
|
|
172 <!-- </div>-->
|
|
173 </div>
|
|
174 <?php endif; ?>
|
|
175
|
|
176
|
|
177
|
|
178 </div>
|
|
179 <!-- #mainrow-->
|
|
180
|
|
181 <!-- footer-->
|
|
182 <div id="footer">
|
|
183 <?php print $feed_icons ?>
|
|
184 <?php print render($page['footer']); ?>
|
|
185 </div>
|
|
186 <!-- #footer-->
|
|
187 </div>
|
|
188 <!-- /#container -->
|
|
189 </div>
|
|
190 <!-- /#wrapper -->
|