317 |
mathias |
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" xml:lang="fr">
|
|
|
3 |
<head>
|
|
|
4 |
<?php print $head ?>
|
|
|
5 |
<title><?php print $head_title ?></title>
|
|
|
6 |
<?php print $styles ?>
|
|
|
7 |
<?php print $scripts ?>
|
|
|
8 |
<!--[if lt IE 7]>
|
|
|
9 |
<?php print phptemplate_get_ie_styles(); ?>
|
|
|
10 |
<![endif]-->
|
|
|
11 |
<link href="http://www.obs-saisons.fr/rss" title="Observatoire des saisons : les derniers articles" type="application/rss+xml" rel="alternate" />
|
|
|
12 |
<link href="http://www.obs-saisons.fr/applications/jrest/OdsSyndicationObservation/par-defaut/rss2" title="Observatoire des saisons : les dernieres observations" type="application/rss+xml" rel="alternate" />
|
|
|
13 |
<script type="text/javascript" src="http://www.obs-saisons.fr/themes/ods/js/ods.js"></script>
|
|
|
14 |
</head>
|
|
|
15 |
|
|
|
16 |
<body<?php print phptemplate_body_class($left, $right); ?>>
|
|
|
17 |
|
|
|
18 |
<div id="header-region" class="clear-block">
|
|
|
19 |
<?php print $header; ?>
|
|
|
20 |
<?php print $closure; ?>
|
|
|
21 |
</div>
|
|
|
22 |
|
|
|
23 |
<div class="titre_site">
|
|
|
24 |
<span id="observatoire">Observatoire </span>
|
|
|
25 |
<span id="des">des</span>
|
|
|
26 |
<span id="saisons"> Saisons</span>
|
|
|
27 |
</div>
|
|
|
28 |
|
|
|
29 |
<div id="wrapper" class="zone_principale">
|
|
|
30 |
<div class="navigation_niveau_1">
|
|
|
31 |
<?php if (isset($primary_links)) : ?>
|
|
|
32 |
<?php print primary_links( $primary_links, array('class' => 'links primary-links')) ?>
|
|
|
33 |
<?php endif; ?>
|
|
|
34 |
|
|
|
35 |
<?php if (isset($secondary_links)) : ?>
|
|
|
36 |
<?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
|
|
|
37 |
<?php endif; ?>
|
|
|
38 |
</div>
|
|
|
39 |
|
|
|
40 |
<?php $saisons = array('printemps', 'ete', 'automne','hiver'); $saison = $saisons[rand(0,3)]; ?>
|
|
|
41 |
<div id="header" class="<?= $saison; ?>">
|
|
|
42 |
<div id="logo-floater">
|
|
|
43 |
<?php
|
|
|
44 |
if ($logo || $site_title) {
|
|
|
45 |
print '<h1><a href="'. check_url($front_page) .'" title="'. $site_title .'">';
|
|
|
46 |
if ($logo) {
|
|
|
47 |
print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
|
|
|
48 |
}
|
|
|
49 |
print $site_html .'</a></h1>';
|
|
|
50 |
}
|
|
|
51 |
?>
|
|
|
52 |
</div>
|
|
|
53 |
<img class="petit_logo_tela" title="tela botanica" alt="logo tela botanica" src="http://www.obs-saisons.fr/themes/ods/logo_tela.png">
|
|
|
54 |
<img class="petit_logo_cnrs" title="cnrs" alt="logo cnrs" src="http://www.obs-saisons.fr/themes/ods/logo_cnrs.png">
|
|
|
55 |
</div> <!-- /header -->
|
|
|
56 |
|
|
|
57 |
<?php
|
|
|
58 |
$styles_menu = array('general','relais','enseignants','jeunes');
|
|
|
59 |
$style_en_cours = 'general';
|
|
|
60 |
$i = 0;
|
|
|
61 |
foreach($primary_links as $name => $link) {
|
|
|
62 |
if(strpos($name,'active-trail') !== false) {
|
|
|
63 |
$style_en_cours = $styles_menu[$i];
|
|
|
64 |
}
|
|
|
65 |
$i++;
|
|
|
66 |
}
|
|
|
67 |
?>
|
|
|
68 |
|
|
|
69 |
<div id="left">
|
|
|
70 |
<?php if ($left): ?>
|
|
|
71 |
<div class="menu_recourbe"></div>
|
|
|
72 |
<div id="sidebar-left" class="sidebar <?= $style_en_cours; ?>">
|
|
|
73 |
<?php print $left ?>
|
|
|
74 |
</div>
|
|
|
75 |
<?php endif; ?>
|
|
|
76 |
</div><!-- /navigation -->
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
<div id="center">
|
|
|
80 |
<?php print $breadcrumb; ?>
|
|
|
81 |
<?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
|
|
|
82 |
<?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
|
|
|
83 |
<?php if ($tabs): print '<ul class="tabs primary">'. $tabs .'</ul></div>'; endif; ?>
|
|
|
84 |
<?php if ($tabs2): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>
|
|
|
85 |
<?php print $help; ?>
|
|
|
86 |
|
|
|
87 |
<?php print $content ?>
|
|
|
88 |
|
319 |
eric |
89 |
<!-- remove rss feed from pages - maybe suppress this line - just commented to test--> <?php// print $feed_icons ?> <!--end remove feed-->
|
317 |
mathias |
90 |
|
|
|
91 |
</div><!-- centre -->
|
|
|
92 |
|
|
|
93 |
<div id="right">
|
|
|
94 |
<?php if ($right): ?>
|
|
|
95 |
<div id="sidebar-right" class="sidebar">
|
|
|
96 |
<?php print $right; ?>
|
|
|
97 |
</div><!-- zone droite -->
|
|
|
98 |
<?php endif; ?>
|
|
|
99 |
</div>
|
|
|
100 |
|
|
|
101 |
<div id="footer">
|
|
|
102 |
<?php print $footer_message; ?>
|
|
|
103 |
<?php print $footer ;?>
|
|
|
104 |
<div class="liens_bas_page">
|
|
|
105 |
<div class="liens_internes">
|
|
|
106 |
<a id="lien_aide" class="lien_interne" href="http://www.obs-saisons.fr/aide" > Aide </a>
|
|
|
107 |
<a id="lien_rss" class="lien_interne" href="http://www.obs-saisons.fr/rss" > RSS </a>
|
|
|
108 |
<a id="lien_contact" class="lien_interne" href="http://www.obs-saisons.fr/about/contact" > Contact </a>
|
|
|
109 |
</div>
|
|
|
110 |
|
|
|
111 |
<div class="liens_externes">
|
|
|
112 |
<a id="lien_tela" class="lien_externe" href="http://www.tela-botanica.org"> Réalisation : Tela Botanica 2010 </a> -
|
|
|
113 |
<a id="lien_CMS" class="lien_externe" href="http://drupal.org/"> Drupal </a> -
|
|
|
114 |
</div>
|
|
|
115 |
</div>
|
|
|
116 |
</div><!-- pied de page -->
|
|
|
117 |
|
|
|
118 |
</div> <!--fermeture div zone-principale-->
|
|
|
119 |
</body>
|
|
|
120 |
</html>
|