crade mais ça vire les Inconnu
authorAurelien LAJOIE <aurelien.lajoie@m4x.org>
Wed, 6 Jul 2005 22:13:55 +0000 (22:13 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:29:28 +0000 (23:29 +0200)
git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-761

include/exalead/exalead.smarty.inc.php

index 7f915ba..a8fba16 100644 (file)
@@ -256,6 +256,7 @@ function _little_nav_barre($params, &$smarty){
 
 //categorie = true if this line is for a category, false if this is for a keyword
 function _display_3_columns($title, $count, $refine, $exclude, $categorie){
+if ($title!='Inconnu'){
   global $exa_max_length;
   if($categorie) $title_exclude = 'Ne pas afficher cette catégorie';
   else $title_exclude = 'Ne pas afficher ce mot-clé';
@@ -269,7 +270,7 @@ function _display_3_columns($title, $count, $refine, $exclude, $categorie){
                            <a href=\"?_C=".$exclude."&amp;_f=xml2\"
                                title=\"$title_exclude\">[-]</a></td>
                        </tr>";
-
+}
 }
 
 //excluded = true if this line is an excluded result, = false if this line is a refined result