From: x2002druelle Date: Mon, 10 Oct 2005 14:18:30 +0000 (+0000) Subject: j'ai rendu la fonction plus belle avant de la modifier en profondeur pour rendre... X-Git-Tag: xorg/0.9.9~115 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=5476011bf7f1ecc4ae37314cb35d12857bf22e1f;p=platal.git j'ai rendu la fonction plus belle avant de la modifier en profondeur pour rendre la selection plus précise git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@89 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/include/exalead/exalead.smarty.inc.php b/include/exalead/exalead.smarty.inc.php index 7f0165c..022f5a8 100644 --- a/include/exalead/exalead.smarty.inc.php +++ b/include/exalead/exalead.smarty.inc.php @@ -1,60 +1,64 @@ title; - $gid = ($keywords)?'k':$group->gid; - if($keywords) - $array = & $group; - else - $array = & $group->categories; -?> -
-
:
- -
-title; + $gid = ($keywords)?'k':$group->gid; + if($keywords){ + $array = & $group; + } + else{ + $array = & $group->categories; + } + $res="
".$titre.":
+ + "; + return $res; } + + + function _display_groupes($params, &$smarty){ if(!empty($params['exalead_data'])){ @@ -65,7 +69,7 @@ function _display_groupes($params, &$smarty){ } foreach($exalead_data->groups as $group){ - display_group($group, $exalead_data); + display_group2($group, $exalead_data); } }