comparison page.tpl.php @ 0:65b7937bab7b

intertial
author dwinter
date Fri, 20 Jun 2014 09:39:25 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:65b7937bab7b
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>&#171;</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 <?php if (user_access("view restricted content")):?>
15 <div class="mpiwg_internal_view">INTERNAL VIEW</div>
16 <?php endif;?>
17 <a href="<?php print theme_get_setting('mpiwg_logo_link') ?>"> <img class="logo_left"
18 src="<?php print $logo ?>"
19 alt="<?php print $site_name_and_slogan ?>"
20 title="<?php print $site_name_and_slogan ?>" id="logo" />
21 </a>
22 </div>
23 <?php endif;?>
24
25
26
27 <?php if (isset($node) && ( ($node->type == "enterprise_event") || ($node->type == "project_description") ) ):?>
28
29 <?php print render($title_prefix); ?>
30 <?php if(substr($title,0,1) != "_"): ?>
31 <h1 <?php print $tabs ? ' class="with-tabs"' : '' ?>>
32
33 <?php print $title ?>
34
35 </h1>
36 <?php if (isset($node->field_subtitle['und'][0]['value'])): ?>
37 <?php print $node->field_subtitle['und'][0]['value'] ?>
38 <?php endif;?>
39 <?php endif; ?>
40
41 <?php else: ?>
42 <h1>
43 <a href="<?php print $front_page ?>"> <?php print $site_name ?>
44 </a>
45 </h1>
46 <h2>
47 <?php print $site_slogan ?>
48 </h2>
49 <?php endif;?>
50
51 </div>
52 <div class="logo">
53 <a href="<?php print theme_get_setting('mpiwg_logo_link') ?>"> <img
54 src="<?php print $MPIWGlogo ?>"
55 alt="<?php print $site_name_and_slogan ?>"
56 title="<?php print $site_name_and_slogan ?>" id="logo" />
57 </a>
58
59
60 </div>
61 </div>
62
63 </div>
64 <!-- /#header -->
65 <div id="mainnav">
66
67 <?php if ($primary_nav): print $primary_nav; endif; ?>
68
69 <!--<li tal:repeat="sec sections" tal:attributes="class python:test(sec.getId()==section,'sec on','sec')"><a
70 tal:attributes="href sec/absolute_url" tal:content="sec/title">Institute</a></li>-->
71 <!--<li class="sec lang"><a class="internal" tal:attributes="href string:$root/../de">Deutsch</a></li>-->
72
73 </div>
74 <!-- /#mainnav-->
75
76
77
78 <div id="mainrow">
79 <?php if ($page['sidebar_first']): ?>
80 <div id="leftbox" class="leftbox">
81 <?php print render($page['sidebar_first']); ?>
82 </div>
83 <?php endif; ?>
84
85 <div class="main">
86 <div id="center">
87
88
89 <!--<?php print $breadcrumb; ?>-->
90 <?php if ($page['highlighted']): ?>
91 <div id="highlighted">
92 <?php print render($page['highlighted']); ?>
93 </div>
94 <?php endif; ?>
95 <a id="main-content"></a>
96 <?php if ($tabs): ?>
97 <div id="tabs-wrapper" class="clearfix">
98 <?php endif; ?>
99
100
101 <?php if (isset($node) && ($node->type != "enterprise_event") && ($node->type!="project_description")):?>
102
103 <?php print render($title_prefix); ?>
104 <?php if(substr($title,0,1) != "_"): ?>
105 <h1 <?php print $tabs ? ' class="with-tabs"' : '' ?>>
106
107 <?php print $title ?>
108
109 </h1>
110 <?php endif; ?>
111
112 <?php endif; ?>
113 <?php print render($title_suffix); ?>
114 <?php if ($tabs): ?>
115 <?php print render($tabs); ?>
116 </div>
117 <?php endif; ?>
118 <?php print render($tabs2); ?>
119 <?php print $messages; ?>
120 <?php print render($page['help']); ?>
121 <?php if ($action_links): ?>
122 <ul class="action-links">
123 <?php print render($action_links); ?>
124 </ul>
125 <?php endif; ?>
126 <div class="clearfix">
127 <?php print render($page['content']); ?>
128 </div>
129
130 </div>
131 <!--/#center -->
132
133 </div>
134 <!-- .main.content-->
135 <?php if ($page['sidebar_second']): ?>
136 <div id="sidebar" class="sidebar">
137 <!-- <div id="sideblock" class="sideblock">-->
138 <?php print render($page['sidebar_second']); ?>
139 <!-- </div>-->
140 </div>
141 <?php endif; ?>
142
143
144
145 </div>
146 <!-- #mainrow-->
147
148 <!-- footer-->
149 <div id="footer">
150 <?php print $feed_icons ?>
151 <?php print render($page['footer']); ?>
152 </div>
153 <!-- #footer-->
154 </div>
155 <!-- /#container -->
156 </div>
157 <!-- /#wrapper -->