1
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>">
|
3
|
|
4
|
<head>
|
5
|
<title><?php print $head_title ?></title>
|
6
|
<?php print $head ?>
|
7
|
<?php print $styles ?>
|
8
|
<?php
|
9
|
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
10
|
* OpenLayers.js must be loaded BEFORE jQuery.
|
11
|
* If jQuery loaded before $.something will fail in IE8.
|
12
|
* Therefore we add OpenLayers.js it in the page.tpl.php
|
13
|
* -----------------------------------------------------
|
14
|
* Andreas Kohlbecker [Feb 25th 2010]:
|
15
|
* This problems seems to be solved somehow (a bugfix in IE8?)
|
16
|
* so I am removing this "hack" by uncommenting the line below
|
17
|
*/
|
18
|
//print ('<script type="text/javascript" src="'.drupal_get_path('module', 'cdm_dataportal').'/js/OpenLayers/OpenLayers.js'.'"></script>'."\n");
|
19
|
print $scripts
|
20
|
?>
|
21
|
<script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
|
22
|
</head>
|
23
|
|
24
|
<body>
|
25
|
<table border="0" cellpadding="0" cellspacing="0" id="header">
|
26
|
<tr>
|
27
|
<td id="logo">
|
28
|
<?php if ($logo) { ?><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a><?php } ?>
|
29
|
<?php if ($site_name) {
|
30
|
?><h1 class='site-name'><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><?php print $site_name ?></a></h1><?php
|
31
|
} ?>
|
32
|
<?php if ($site_slogan) { ?><div class='site-slogan'><?php print $site_slogan ?></div><?php } ?>
|
33
|
</td>
|
34
|
<td id="menu">
|
35
|
<?php if (isset($secondary_links)) { ?><?php print theme('links', $secondary_links, array('class' =>'links', 'id' => 'subnavlist')) ?><?php } ?>
|
36
|
<?php if (isset($primary_links)) { ?><?php print theme('links', $primary_links, array('class' =>'links', 'id' => 'navlist')) ?><?php } ?>
|
37
|
<?php print $search_box ?>
|
38
|
</td>
|
39
|
</tr>
|
40
|
<tr>
|
41
|
<td colspan="2"><div><?php print $header ?></div></td>
|
42
|
</tr>
|
43
|
</table>
|
44
|
|
45
|
<table border="0" cellpadding="0" cellspacing="0" id="content">
|
46
|
<tr>
|
47
|
<?php if ($sidebar_left) { ?><td id="sidebar-left">
|
48
|
<?php print $sidebar_left ?>
|
49
|
</td><?php } ?>
|
50
|
<td valign="top">
|
51
|
<?php if ($mission) { ?><div id="mission"><?php print $mission ?></div><?php } ?>
|
52
|
<div id="main">
|
53
|
<!-- removed DT 12 02 08 ?php print $breadcrumb ? -->
|
54
|
<h1 class="title"><?php print $title ?></h1>
|
55
|
<div class="tabs"><?php print $tabs ?></div>
|
56
|
<?php print $help ?>
|
57
|
<?php print $messages ?>
|
58
|
<?php print $content; ?>
|
59
|
<?php print $feed_icons; ?>
|
60
|
</div>
|
61
|
</td>
|
62
|
<?php if ($sidebar_right) { ?><td id="sidebar-right">
|
63
|
<?php print $sidebar_right ?>
|
64
|
</td><?php } ?>
|
65
|
</tr>
|
66
|
</table>
|
67
|
|
68
|
<div id="footer">
|
69
|
<?php print $footer_message ?>
|
70
|
</div>
|
71
|
<?php print $closure ?>
|
72
|
</body>
|
73
|
</html>
|