Rev 317 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<!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="fr">
<head>
<?php print $head ?>
<title><?php print $head_title ?></title>
<?php print $styles ?>
<?php print $scripts ?>
<!--[if lt IE 7]>
<?php print phptemplate_get_ie_styles(); ?>
<![endif]-->
<link href="http://www.obs-saisons.fr/rss" title="Observatoire des saisons : les derniers articles" type="application/rss+xml" rel="alternate" />
<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" />
<script type="text/javascript" src="http://www.obs-saisons.fr/themes/ods/js/ods.js"></script>
</head>
<body<?php print phptemplate_body_class($left, $right); ?>>
<div id="header-region" class="clear-block">
<?php print $header; ?>
<?php print $closure; ?>
</div>
<div class="titre_site">
<span id="observatoire">Observatoire </span>
<span id="des">des</span>
<span id="saisons"> Saisons</span>
</div>
<div id="wrapper" class="zone_principale">
<div class="navigation_niveau_1">
<?php if (isset($primary_links)) : ?>
<?php print primary_links( $primary_links, array('class' => 'links primary-links')) ?>
<?php endif; ?>
<?php if (isset($secondary_links)) : ?>
<?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
<?php endif; ?>
</div>
<?php $saisons = array('printemps', 'ete', 'automne','hiver'); $saison = $saisons[rand(0,3)]; ?>
<div id="header" class="<?= $saison; ?>">
<div id="logo-floater">
<?php
if ($logo || $site_title) {
print '<h1><a href="'. check_url($front_page) .'" title="'. $site_title .'">';
if ($logo) {
print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
}
print $site_html .'</a></h1>';
}
?>
</div>
<img class="petit_logo_tela" title="tela botanica" alt="logo tela botanica" src="http://www.obs-saisons.fr/themes/ods/logo_tela.png">
<img class="petit_logo_cnrs" title="cnrs" alt="logo cnrs" src="http://www.obs-saisons.fr/themes/ods/logo_cnrs.png">
</div> <!-- /header -->
<?php
$styles_menu = array('general','relais','enseignants','jeunes');
$style_en_cours = 'general';
$i = 0;
foreach($primary_links as $name => $link) {
if(strpos($name,'active-trail') !== false) {
$style_en_cours = $styles_menu[$i];
}
$i++;
}
?>
<div id="left">
<?php if ($left): ?>
<div class="menu_recourbe"></div>
<div id="sidebar-left" class="sidebar <?= $style_en_cours; ?>">
<?php print $left ?>
</div>
<?php endif; ?>
</div><!-- /navigation -->
<div id="center">
<?php print $breadcrumb; ?>
<?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
<?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
<?php if ($tabs): print '<ul class="tabs primary">'. $tabs .'</ul></div>'; endif; ?>
<?php if ($tabs2): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>
<?php print $help; ?>
<?php print $content ?>
<!-- remove rss feed from pages - maybe suppress this line - just commented to test--> <?php// print $feed_icons ?> <!--end remove feed-->
</div><!-- centre -->
<div id="right">
<?php if ($right): ?>
<div id="sidebar-right" class="sidebar">
<?php print $right; ?>
</div><!-- zone droite -->
<?php endif; ?>
</div>
<div id="footer">
<?php print $footer_message; ?>
<?php print $footer ;?>
<div class="liens_bas_page">
<div class="liens_internes">
<a id="lien_aide" class="lien_interne" href="http://www.obs-saisons.fr/aide" > Aide </a>
<a id="lien_rss" class="lien_interne" href="http://www.obs-saisons.fr/rss" > RSS </a>
<a id="lien_contact" class="lien_interne" href="http://www.obs-saisons.fr/about/contact" > Contact </a>
</div>
<div class="liens_externes">
<a id="lien_tela" class="lien_externe" href="http://www.tela-botanica.org"> RĂ©alisation : Tela Botanica 2010 </a> -
<a id="lien_CMS" class="lien_externe" href="http://drupal.org/"> Drupal </a> -
</div>
</div>
</div><!-- pied de page -->
</div> <!--fermeture div zone-principale-->
</body>
</html>