diff --git a/include/ajax/ajax_card.php b/include/ajax/ajax_card.php index 504d97ff2..7009598e7 100644 --- a/include/ajax/ajax_card.php +++ b/include/ajax/ajax_card.php @@ -481,7 +481,7 @@ case 'fs': if ( strpos($sql," in ()") != 0) { $html=""; - $html.=HtmlInput::title_box(_('Recherche de fiche'), 'search_card'); + $html.=HtmlInput::title_box(_('Recherche de fiches'), 'search_card'); $html.='

'; $html.=_("Aucune catégorie de fiche ne correspond à". " votre demande, le journal pourrait n'avoir accès à aucune fiche"); @@ -545,7 +545,19 @@ case 'fs': ob_start(); require_once NOALYSS_TEMPLATE.'/card_result.php'; $r.=ob_get_contents(); + $r.=''; + ob_end_clean(); $ctl=$ctl.'_content'; $html=$r; diff --git a/include/template/module.php b/include/template/module.php index 6990a820e..96af82b06 100644 --- a/include/template/module.php +++ b/include/template/module.php @@ -26,7 +26,7 @@ if ( $cn->get_value("select count(*) from profile join profile_user using (p_id) $search_card_js=sprintf('onclick="boxsearch_card(\'%d\')"',dossier::id()); echo Icon_Action::card( "$('box_search_card').show();$('box_search_card').setStyle({'z-index':get_next_layer()})"); echo '