do_header_without_html(); if($param['aj_nodocnum']) $display->docnum_allowed = 0; $type_aff=$param['aj_type_aff']; switch ($type_aff) { case AFF_ETA_NOTICES_ISBD : $display->do_isbd(); $display->genere_simple(0, 'ISBD') ; break; case AFF_ETA_NOTICES_PUBLIC : $display->do_public(); $display->genere_simple(0, 'PUBLIC') ; break; case AFF_ETA_NOTICES_BOTH : $display->do_isbd(); $display->do_public(); $display->genere_double(0, 'PUBLIC') ; break ; case AFF_ETA_NOTICES_BOTH_ISBD_FIRST : $display->do_isbd(); $display->do_public(); $display->genere_double(0, 'ISBD') ; break ; default: $display->do_isbd(); $display->do_public(); $display->genere_double(0, 'autre') ; $flag_no_onglet_perso=1; break ; } $html=$display->result; if(!$flag_no_onglet_perso){ $onglet_perso=new notice_onglets(); $html=$onglet_perso->insert_onglets($param['id'],$html); } ajax_http_send_response($html); ?>