- delete time in the home calendar
authorhurons@caf4f556-3d62-0410-8435-a86758001935
Mon, 17 May 2010 10:08:38 +0000
changeset 180 d8780eeb2607
parent 179 cd4c37c65a2c
child 181 e1a1a9bf5a9e
- delete time in the home calendar - color in seminar menu - order element by dae in the menu - delete item's number restriction in menu - acces to Language navigation menu - navigation correction - change traduction
web/version.php
web/wp-content/plugins/event-calendar/day.php
web/wp-content/plugins/xili-language/xili-language-fr_FR.mo
web/wp-content/plugins/xili-language/xili-language-fr_FR.po
web/wp-content/plugins/xili-language/xili-language.php
web/wp-content/themes/IRI-Theme/functions.php
web/wp-content/themes/IRI-Theme/header.php
web/wp-content/themes/IRI-Theme/language/fr_FR.mo
web/wp-content/themes/IRI-Theme/language/fr_FR.po
web/wp-content/themes/IRI-Theme/style.css
--- a/web/version.php	Wed Apr 07 13:11:04 2010 +0000
+++ b/web/version.php	Mon May 17 10:08:38 2010 +0000
@@ -1,3 +1,3 @@
 <?php
-	$version="01.09";
+	$version="01.10";
 ?>
--- a/web/wp-content/plugins/event-calendar/day.php	Wed Apr 07 13:11:04 2010 +0000
+++ b/web/wp-content/plugins/event-calendar/day.php	Mon May 17 10:08:38 2010 +0000
@@ -39,7 +39,7 @@
       );
     if($is_event)
     {
-      $safe_title.=' @'.$time;
+     // $safe_title.=' @ '.$time;
       $this->is_event=True;
     }
     $this->titles[]=$safe_title;
Binary file web/wp-content/plugins/xili-language/xili-language-fr_FR.mo has changed
--- a/web/wp-content/plugins/xili-language/xili-language-fr_FR.po	Wed Apr 07 13:11:04 2010 +0000
+++ b/web/wp-content/plugins/xili-language/xili-language-fr_FR.po	Mon May 17 10:08:38 2010 +0000
@@ -2,8 +2,8 @@
 msgstr ""
 "Project-Id-Version: xili_language\n"
 "POT-Creation-Date: 2009-04-04 11:58+0100\n"
-"PO-Revision-Date: 2010-02-20 23:01+0100\n"
-"Last-Translator: dev.xiligroup.com <contact@xiligroup.com>\n"
+"PO-Revision-Date: 2010-05-17 11:31+0100\n"
+"Last-Translator: Samuel Huron <cybunk.com>\n"
 "Language-Team: dev.xiligroup.com <contact@xiligroup.com>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
@@ -21,6 +21,21 @@
 msgid "Language to update."
 msgstr "Langue à mettre à jour."
 
+msgid "in english"
+msgstr "en anglais"
+
+msgid "in french"
+msgstr "en français"
+
+msgid "in "
+msgstr "en "
+
+msgid "Website in english"
+msgstr "Site web en anglais"
+
+msgid "Website in french"
+msgstr "Site web en anglais"
+
 msgid "A language was updated."
 msgstr "Une langue a été mise à jour."
 
--- a/web/wp-content/plugins/xili-language/xili-language.php	Wed Apr 07 13:11:04 2010 +0000
+++ b/web/wp-content/plugins/xili-language/xili-language.php	Mon May 17 10:08:38 2010 +0000
@@ -1728,13 +1728,13 @@
 			}
 			foreach ($listlanguages as $language) {
 				if ($language->slug != $this->curlang ) {
-					$a .= $before ."<a href='".$currenturl.QUETAG."=".$language->slug."' title='".__('Posts selected',THEME_TEXTDOMAIN)." ".__('in '.$language->description,THEME_TEXTDOMAIN)."'>". __('in '.$language->description,THEME_TEXTDOMAIN) ."</a>".$after;
+					$a .= $before ."<a href='".$currenturl.QUETAG."=".$language->slug."' title='".__('Website',THEME_TEXTDOMAIN)." ".__('in '.$language->description,THEME_TEXTDOMAIN)."'>". __('in '.$language->description,THEME_TEXTDOMAIN) ."</a>".$after;
 				}
 			}
 			echo $a;
 		} else {	/* current list */
 			foreach ($listlanguages as $language) {
-				$a .= $before ."<a href='".get_bloginfo('siteurl')."/?".QUETAG."=".$language->slug."' title='".__('Posts selected',THEME_TEXTDOMAIN)." ".__('in '.$language->description,THEME_TEXTDOMAIN)."'>". __('in '.$language->description,THEME_TEXTDOMAIN) ."</a>".$after;
+				$a .= $before ."<a href='".get_bloginfo('siteurl')."/?".QUETAG."=".$language->slug."' title='".__('Website',THEME_TEXTDOMAIN)." ".__('in '.$language->description,THEME_TEXTDOMAIN)."'>". __('in '.$language->description,THEME_TEXTDOMAIN) ."</a>".$after;
 			}
 			echo $a;
 		}	
--- a/web/wp-content/themes/IRI-Theme/functions.php	Wed Apr 07 13:11:04 2010 +0000
+++ b/web/wp-content/themes/IRI-Theme/functions.php	Mon May 17 10:08:38 2010 +0000
@@ -377,7 +377,7 @@
 			}
 			echo '<ul>';
 			
-			$category_posts = get_posts('numberposts=15&order=ASC&orderby=parent&category='.$category->cat_ID);
+			$category_posts = get_posts('numberposts=30&order=DSC&orderby=date&category='.$category->cat_ID);//
 			$count2 = 0;
 			/*$categoryN2 = get_category_link($category->cat_ID);
 			
@@ -395,25 +395,27 @@
 								// Affiche les posts de la langue courante + les indéfinis 
 								//if (get_cur_language($post->ID)==$current_lang['lang'] or get_cur_language($post->ID)==""){
 								// Affiche seulement les posts  de la langue courante + les indéfinis 
+								//echo ("<div> ID = ".$post->ID." : ".get_cur_language($post->ID)."</div>");
 							if (get_cur_language($post->ID)==$current_lang['lang']){
 								
 								// gestion des niv 2 ajout de class si nécessaire
 								$MyCategoryPost = get_the_category($post->ID);
 								//var_dump($MyCategoryPost);
-
+								
+								//echo ("<div> MyC:".count($MyCategoryPost)."</div>");
 								$MoreStyle="";
 								$title ="";
 								if (count($MyCategoryPost)>1){
 										foreach($MyCategoryPost as $MyCategory) { 
-											$MoreStyle.= " ".$MyCategory->category_nicename;
-											$title.= " ".$MyCategory->category_nicename;
+												$MoreStyle.= $MyCategory->category_nicename." ";
+												$title.= $MyCategory->category_nicename." ";
 											//category_parent!=0
 										} 							
 								} else {
-								$MoreStyle ="menu-h-li2";
+									$MoreStyle ="menu-h-li2";
 								}
 								
-								echo '<li class="'.$MoreStyle.'" title="'.cache_cutter($post->post_title)." : ".$MoreStyle.'"><a href="'.get_permalink($post->ID).'">'.text_cutter($post->post_title,200).'</a></li>';
+								echo '<li class="'.$MoreStyle.'" title="'.cache_cutter($post->post_title)." : ".$MoreStyle.'"><a href="'.get_permalink($post->ID).'" class="'.$MoreStyle.'" >'.text_cutter($post->post_title,200).'</a></li>';
 								$count2++; //if ($count2>6) break;
 							}
 							
--- a/web/wp-content/themes/IRI-Theme/header.php	Wed Apr 07 13:11:04 2010 +0000
+++ b/web/wp-content/themes/IRI-Theme/header.php	Mon May 17 10:08:38 2010 +0000
@@ -143,7 +143,7 @@
 	</div>   
 	  <div class="column lang">
 		<ul>
-		<?php if (function_exists('xili_language_list') && is_user_logged_in() ) {
+		<?php if (function_exists('xili_language_list')) {//&& is_user_logged_in()
 			xili_language_list();
 		} ?>
 		</ul>
Binary file web/wp-content/themes/IRI-Theme/language/fr_FR.mo has changed
--- a/web/wp-content/themes/IRI-Theme/language/fr_FR.po	Wed Apr 07 13:11:04 2010 +0000
+++ b/web/wp-content/themes/IRI-Theme/language/fr_FR.po	Mon May 17 10:08:38 2010 +0000
@@ -3,7 +3,7 @@
 "Project-Id-Version: WordPress 2.9.1 IriTheme\n"
 "Report-Msgid-Bugs-To: samuel.huron@centrepompidou.fr\n"
 "POT-Creation-Date: 2010-03-14 04:57+0000\n"
-"PO-Revision-Date: 2010-03-16 15:19+0100\n"
+"PO-Revision-Date: 2010-05-17 11:33+0100\n"
 "Last-Translator: Samuel Huron <cybunk.com>\n"
 "Language-Team: IRI\n"
 "MIME-Version: 1.0\n"
@@ -21,6 +21,18 @@
 msgid "Home"
 msgstr "Accueil"
 
+msgid "in english"
+msgstr "en anglais"
+
+msgid "in french"
+msgstr "en français"
+
+msgid "in "
+msgstr "en "
+
+msgid "Website"
+msgstr "Site web"
+
 msgid "Research"
 msgstr "Recherches"
 
@@ -48,8 +60,11 @@
 msgid "Last Publications"
 msgstr "Dernières publications"
 
-msgid "News"
-msgstr "Actualités"
+msgid "Links and external news"
+msgstr "Liens et actualités externes"
+
+msgid "in"
+msgstr "en"
 
 msgid "Cloud of Tags"
 msgstr "Nuage de tags"
--- a/web/wp-content/themes/IRI-Theme/style.css	Wed Apr 07 13:11:04 2010 +0000
+++ b/web/wp-content/themes/IRI-Theme/style.css	Mon May 17 10:08:38 2010 +0000
@@ -947,16 +947,26 @@
 	padding-right:10px;
 }
 
+
 .design-du-nouveau-monde-industriel {
-	background-color:#00ff1e;
+	background:none repeat scroll 0 0 #050019 !important;
 }
+.design-du-nouveau-monde-industriel a:hover{
+	background:none repeat scroll 0 0 #001736 !important;
+} 
 .figures-de-lamateur{
-	background-color:#ff2a00;
+	background:none repeat scroll 0 0 #0F0004 !important;
+}
+.figures-de-lamateur a:hover{
+	background:none repeat scroll 0 0 #260004 !important;
 }
-.ecologie-de-lattention{
-	background-color:#eaff00;
+.ecologie-de-lattention  {
+	background:none repeat scroll 0 0 #100017 !important;
+}
+.ecologie-de-lattention  a:hover{
+	background:none repeat scroll 0 0 #260044 !important;
+}
 
-}
 .lang{
 	padding-left:650px;
 }