From 5476011bf7f1ecc4ae37314cb35d12857bf22e1f Mon Sep 17 00:00:00 2001 From: x2002druelle Date: Mon, 10 Oct 2005 14:18:30 +0000 Subject: [PATCH] =?utf8?q?j'ai=20rendu=20la=20fonction=20plus=20belle=20av?= =?utf8?q?ant=20de=20la=20modifier=20en=20profondeur=20pour=20rendre=20la?= =?utf8?q?=20selection=20plus=20pr=C3=A9cise?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@89 839d8a87-29fc-0310-9880-83ba4fa771e5 --- include/exalead/exalead.smarty.inc.php | 108 +++++++++++++++++---------------- 1 file changed, 56 insertions(+), 52 deletions(-) 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); } } -- 2.1.4