--- a/web/wp-content/themes/IRI-Theme/header.php Tue Jan 05 09:59:49 2010 +0000
+++ b/web/wp-content/themes/IRI-Theme/header.php Mon Feb 01 09:51:57 2010 +0000
@@ -2,95 +2,182 @@
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
+ <meta name="google-site-verification" content="0kR9Eu8GeMBtsGL5ZaoZ4PYBkii0Q5pc8A9LPU17ZN0" />
<meta http-equiv="X-UA-Compatible" content="IE=8" />
- <title><?php wp_title(''); ?> <?php if ( !(is_404()) && (is_single()) or (is_page()) or (is_archive()) ) { ?> :: <?php } ?> <?php bloginfo('name'); ?></title>
+ <title><?php wp_title(''); ?> <?php if ( !(is_404()) && (is_single()) or (is_page()) or (is_archive()) ) { ?> :: <?php } ?> <?php echo (get_bloginfo('name')." - ".get_bloginfo ( 'description' )); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
+ <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/custom-theme/jquery-ui-1.7.2.custom.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/screen.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/print.css" type="text/css" media="print" />
- <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/style.css" type="text/css" media="screen, projection" />
- <!--[if IE]><link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/lib/ie.css" type="text/css" media="screen, projection" /><![endif]-->
- <!-- Javascripts -->
- <!-- <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery-1.1.3.1.pack.js"></script> -->
+ <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/style.css?v=20090128-7" type="text/css" media="screen, projection" />
+ <!-- Javascripts -->
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/functions.js"></script>
- <!--<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery.js"></script>-->
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery-ui-1.7.2.custom.min.js"></script>
+ <!-- <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery.skinned-select.js"></script> -->
<!--[if lt IE 7]>
- <script defer type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/pngfix.js"></script>
+ <script defer type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/pngfix.js"></script>
<![endif]-->
- <!--[if gte IE 5.5]>
- <script language="javaScript" src="<?php bloginfo('stylesheet_directory'); ?>/js/dhtml.js" type="text/javaScript"></script>
- <![endif]-->
+ <!--[if gte IE 5.5]>
+ <script language="javaScript" src="<?php bloginfo('stylesheet_directory'); ?>/js/dhtml.js" type="text/javaScript"></script>
+ <![endif]-->
<!-- Show the grid and baseline -->
- <style type="text/css">
-/* .container { background: url(<?php bloginfo('stylesheet_directory'); ?>/css/lib/img/grid.png); }*/
- </style>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_head(); ?>
-
+ <?php // this is for the search engine selection
+
+ if ( is_home() ) {
+ $cssSearch = "searchHome";
+ $cssSkinselect = "-Home";
+ $engines = array(__("sur ce site"),__("sur les sites IRI"),__("sur ENMI"),__("sur Séminaires"));//__("Avancée"));
+ } else {
+ $cssSearch = "searchPage";
+ $cssSkinselect = "-Page";
+ $engines = array(__("ce site"),__("sites IRI"),__("ENMI"),__("séminaires"));//__("Avancée"));
+ }
+ ?>
+
<script type="text/javascript">
$(document).ready(function() {
- $('#accordion').accordion();
+ $('#accordion').accordion({
+ autoheight: true
+ });
+ $('#accordion_nav').accordion({
+ autoheight: true,
+ event: 'mouseover'
+ });
+ // ----------------------------------
+ $('#accordionSeminaire').accordion({
+ autoheight: false,
+ event: 'mouseover',
+ fillSpace: true
+
+ });
+ $('#accordionSeminaire2').accordion({
+ autoheight: false,
+ event: 'mouseover',
+ fillSpace: true
+
+ });
+ $('#accordionSeminaire3').accordion({
+ autoheight: false,
+ event: 'mouseover',
+ fillSpace: true
+
+ });
+ $('#accordionSeminaire4').accordion({
+ autoheight: false,
+ event: 'mouseover',
+ fillSpace: true
+
+ });
+ // Tabs
+ $('#tabsSeminaire').tabs({
+ autoheight: false
+ });
+
//alert("test");
-
// search
- $("#s").mouseover(function() {
+ /*
+ $("#searchHome").mouseover(function() {
$(this).animate({ backgroundColor: "#FFFFFF" }, 500);
}).mouseout(function(){
$(this).animate({ backgroundColor: "#CCCCCC" }, 500);
});
+ */
// liens
-
$(".JQplink").mouseover(function() {
$(this).fadeTo("slow", 0.5);
}).mouseout(function(){
$(this).fadeTo("slow", 1);
});
-
+ $('.my-skinnable-select').each(
+ function(i) {
+ selectContainer = $(this);
+ // Remove the class for non JS browsers
+ selectContainer.removeClass('my-skinnable-select');
+ // Add the class for JS Browers
+ selectContainer.addClass('skinned-select<?php echo($cssSkinselect) ?>');
+ // Find the select box
+ selectContainer.children().before('<div class="select-text<?php echo($cssSkinselect) ?>">a</div>').each(
+ function() {
+ $(this).prev().text(this.options[0].innerHTML)
+ }
+ );
+ // Store the parent object
+ var parentTextObj = selectContainer.children().prev();
+ // As we click on the options
+ selectContainer.children().click(function() {
+ // Set the value of the html
+ parentTextObj.text(this.options[this.selectedIndex].innerHTML);
+ })
+ }
+ );
+
});
-
-
-
</script>
+ <!--[if IE 7]><link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/lib/ie.css?v=20090127-11" type="text/css" media="screen, projection" /><![endif]-->
+
+ <!-- FIN DE LA HEAD -->
</head>
<body>
+<!-- DEBUT DU HEADER -->
<?php /*echo("debug = ".wp_title('')." lang = ".language_attributes() ); */?>
<div class="container">
-
<!-- Header -->
<div class="column span-24" id="header">
- <a href="<?php echo get_option('home'); ?>" title="<?php bloginfo('name'); ?>" class="logo"><img alt="<?php bloginfo('name'); ?>" src="<?php bloginfo('stylesheet_directory'); ?>/images/logo-iri-petit.png" /></a>
+ <a href="<?php echo get_option('home'); ?>/" class="logo"><img alt="<?php bloginfo('name'); ?>" src="<?php bloginfo('stylesheet_directory'); ?>/images/logo-iri-petit.png" /></a>
</div>
<!-- Navigation -->
<div class="column span-24 large" id="nav">
<div class="content">
<ul id="navmenu-h">
- <li><a href="<?php echo get_settings('home'); ?>">Acceuil</a></li>
- <?php dp_list_categories('&exclude=1,8,16&'); ?>
-
+ <li><a href="<?php echo get_settings('home'); ?>/">Accueil</a></li>
+ <?php dp_list_categories('&exclude=1,8,16,17,38&'); ?>
- <li class="alignright"><a href="<?php bloginfo('rss2_url'); ?>" style="padding: 2px 5px 0 5px;"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/rss.png" style="padding:4px;" alt="rss icon" /></a></li>
-
-
- <li class="alignright">
- <form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
- <div id="searchB" >
+ <li class="alignright"><a href="<?php bloginfo('rss2_url'); ?>" style="padding: 2px 8px 2px 8px;"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/rss.png" style="padding:4px;" alt="rss icon" /></a></li>
+
+ <li class="alignright" >
+ <form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
+ <?php
+ if ( isset($_GET['s']) ) {
+ $search_text= utf8_decode(stripslashes($_GET['s']));
+ } else {
+ $search_text= "Rechercher";
+ }
+ ?>
+
+ <div id="<?php echo($cssSearch); ?>" >
<input type="text" name="s" id="s"
value="<?php echo wp_specialchars($search_text, 1); ?>"
onfocus="clearInput('s', '<?php echo wp_specialchars($search_text, 1); ?>')"
onblur="clearInput('s', '<?php echo wp_specialchars($search_text, 1); ?>')"
/>
+
+ <div class="my-skinnable-select">
+ <select name="engine" id="engine">
+ <?php
+ foreach ($engines as $i => $value) {
+ echo("<option value='".$i."'>".$value."</option>");
+ }
+ ?>
+ </select>
</div>
- </form>
+
+ <input id="bt" name="bt" type="submit" value="" title="Rechercher" tabindex="0" />
+ </div>
+
+ </form>
</li>
</ul>
</div>
-</div>
\ No newline at end of file
+</div>
+<!-- FIN DU HEADER -->
\ No newline at end of file