- $result = "<table class=\"exa_resume\"><th colspan=\"3\" class=\"titre\">".gettext($name)."</th>";
- $result .= _display_resume_groupe_category($group, $exalead_data->query->context);
+ if($groupe=="Zone"){
+ if($_SESSION["show_all"]) {
+ $result = "<table class=\"exa_resume\"><th colspan=\"2\" class=\"titre\">".gettext($name)."</th>
+ <th><a href=\"anciens_cherche_offres_exa.php?hide=1&".$params['url']."\"><img src='images/icons/fww.gif'/></a></th>";
+
+ }
+ else{
+ $result = "<table class=\"exa_resume\"><th colspan=\"2\" class=\"titre\">".gettext($name)."</th><th><a href=\"anciens_cherche_offres_exa.php?show_all=1&".$params['url']."\"><img src='images/icons/rww.gif'/></a></th>";
+ }
+ $result .= _display_resume_groupe_category($group, $exalead_data->query->context,'',$params['limit']);
+ }
+ else{
+ $result = "<table class=\"exa_resume\"><th colspan=\"3\" class=\"titre\">".gettext($name)."</th>";
+ if (isset($params['limit']) && $params['limit']>0)
+ {
+ $result .= _display_resume_groupe_category($group, $exalead_data->query->context,'',$params['limit']);
+
+ }else
+ {
+ $result .= _display_resume_groupe_category($group, $exalead_data->query->context);
+ }
+ }