# HG changeset patch # User hurons@caf4f556-3d62-0410-8435-a86758001935 # Date 1284651752 0 # Node ID ad0cebafc06f2cbdd438b81417da66c906fd423c # Parent a2eb3f4f2aea173bcb048b28d778ac6b494037ad new version and introduction of "pedagogie" link in "tool" category diff -r a2eb3f4f2aea -r ad0cebafc06f web/version.php --- a/web/version.php Tue May 18 08:34:23 2010 +0000 +++ b/web/version.php Thu Sep 16 15:42:32 2010 +0000 @@ -1,4 +1,4 @@ diff -r a2eb3f4f2aea -r ad0cebafc06f web/wp-content/themes/IRI-Theme/functions.php --- a/web/wp-content/themes/IRI-Theme/functions.php Tue May 18 08:34:23 2010 +0000 +++ b/web/wp-content/themes/IRI-Theme/functions.php Thu Sep 16 15:42:32 2010 +0000 @@ -379,6 +379,21 @@ $category_posts = get_posts('numberposts=30&order=DSC&orderby=date&category='.$category->cat_ID);// $count2 = 0; + + //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + // A REECRIRE PAS PROPRE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + + if ($category->cat_ID==5){ + //.'?lang='.$current_lang['lang']. + if($current_lang['lang']=="en_us"){ + echo ''; + } else { + echo ''; + } + + }else { + //echo ''; + } /*$categoryN2 = get_category_link($category->cat_ID); foreach($categoryN2 as $catN2) { @@ -414,14 +429,19 @@ } else { $MoreStyle ="menu-h-li2"; } + if($MoreStyle != "menu-h-li2"){ + $MoreStyle2 = " : ".$MoreStyle; + } else { + $MoreStyle2 = ""; + } - echo '
  • '.text_cutter($post->post_title,200).'
  • '; + echo '
  • '.text_cutter($post->post_title,200).'
  • '; $count2++; //if ($count2>6) break; } } else { - echo ''; + echo ''; $count2++; //if ($count2>6) break; }