annotate mpiwgISMI/page.tpl.php @ 60:1b520696760a default tip

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