-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.tpl.php
149 lines (115 loc) · 3.95 KB
/
page.tpl.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<?php
// $Id$
/**
* @file page.tpl.php
* Main page template file for the dynamo theme.
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language; ?>" lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>">
<!--
Dynamo!
-->
<head>
<!--<meta http-equiv="X-UA-Compatible" content="IE=8; chrome=1" />-->
<title><?php print $head_title; ?></title>
<?php print $head; ?>
<?php print $styles; ?>
<?php print $scripts; ?>
</head>
<body class="<?php print $body_classes; ?><?php if (!empty($admin)) print ' '.admin; ?>">
<?php
/*adds support for for the admin module*/
if (!empty($admin)) print $admin;
?>
<?php if ($help OR $messages) { ?>
<div id="drupal-messages">
<div id="messages-hide">
<a href="#"><?php print t('hide'); ?></a>
</div>
<?php print $help ?>
<?php print $messages ?>
</div>
<?php } ?>
<div id="container" class="clearfix">
<div id="page" class="minheight">
<div id="page-inner" class="clearfix">
<div id="pageheader">
<div id="pageheader-inner">
<<?php print $site_name_element; ?> id="site-name">
<a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home">
<?php print $site_name; ?>
</a>
</<?php print $site_name_element; ?>>
<ul id="helpers">
<li> <a class="print" href="javascript:window.print();">Print</a></li>
<li> <a class="read" href="http://adgangforalle.dk">Læs op</a></li>
<li> <a class="english" href="/node/189">English</a></li>
</ul>
<div id="top" class="clearfix">
<div id="header" class="left">
<?php print $header ?>
</div>
<div id="search" class="left">
<?php print $search ?>
</div>
<div id="account" class="left">
<?php print $account; ?>
</div>
</div>
<div id="navigation">
<div id="navigation-inner">
<?php if ($primary_links){ ?>
<?php print theme('links', $primary_links); ?>
<?php } ?>
</div>
</div>
<?php print $breadcrumb; ?>
</div>
</div>
<div id="pagebody" class="clearfix">
<div id="pagebody-inner" class="clearfix">
<?php if ($left) { ?>
<div id="content-left">
<?php print $left; ?>
</div>
<?php } ?>
<div id="content">
<div id="content-inner">
<?php
/*if were in the user pages add the tabs in the top*/
if (arg(0) == 'user' && is_numeric(arg(1)) && $tabs){
print '<div class="tabs-user">' . $tabs . '</div>';
}
?>
<div id="content-main">
<?php print $content; ?>
</div>
<?php
if (arg(0) != 'user' && $tabs){
print '<div class="tabs">' . $tabs . '</div>';
}
?>
</div>
</div>
<?php if ($right) { ?>
<div id="content-right">
<?php print $right; ?>
</div>
<?php } ?>
</div>
</div>
<div id="pagefooter">
<div id="pagefooter-inner" class="clearfix">
<?php print $footer; ?>
</div>
<div class="footerlink">
<a href="/om-hjemmesiden">Om hjemmesiden</a>
</div>
</div>
</div>
</div>
</div>
<?php print $closure; ?>
</body>
</html>