get_current_mode();
$layout=$recordmodes->get_layout($current_mode);
//Début du flux
if ($id==-1) {
if($layout['TYPE']=='table'){
$retour_aff.="
";
}
$retour_aff.="";
}else{
$retour_aff.=" ";
}
$header_only=0;
if($recherche_ajax_mode && $opac_recherche_ajax_mode){
//Si ajax, on ne charge pas tout
$header_only=1;
}
$current = new $opac_notice_affichage_class($id,$liens_opac,$cart,0,$header_only,!$gen_header, $show_map);
$tpl = new notice_tpl_gen($recordmodes->get_template_id($current_mode),$recordmodes->get_template_code($current_mode));
$notice_tpl_header=$tpl->build_notice($id);
if($notice_tpl_header){
$aff_notice='';
$aff_notice.=$notice_tpl_header;
//coins pour Zotero
$coins_span=$current->gen_coins_span();
$aff_notice.=$coins_span;
$memo_notice[$id]["header_without_doclink"]=$aff_notice;
$memo_notice[$id]["header_doclink"]="";
$memo_notice[$id]["header"]=$aff_notice;
$memo_notice[$id]["niveau_biblio"] = $current->notice->niveau_biblio;
$retour_aff.=$aff_notice;
$aff_notice_table_pos++;
}
if($layout['TYPE']=='table'){
$retour_aff.=" | ";
}else{
$retour_aff.="";
}
}
return $retour_aff;
}