";
}
$categ=(isset($param['categ']) ? $param['categ'] : '');
$id_empr=(isset($param['id_empr']) ? $param['id_empr']*1 : 0);
if(!isset($param['lien_suppr_cart'])) $param['lien_suppr_cart'] = '';
if(!isset($param['print'])) $param['print'] = '';
if(!isset($param['action_serial'])) $param['action_serial'] = '';
if(!isset($param['action_analysis'])) $param['action_analysis'] = '';
if(!isset($param['action_bulletin'])) $param['action_bulletin'] = '';
if(!isset($param['lien_explnum'])) $param['lien_explnum'] = '';
if(!isset($param['bouton_explnum'])) $param['bouton_explnum'] = '';
switch($param['function_to_call']) {
case 'serial_display' :
// on a affaire à un périodique
// function serial_display ($id, $level='1', $action_serial='', $action_analysis='', $action_bulletin='', $lien_suppr_cart="",
//$lien_explnum="", $bouton_explnum=1,$print=0,$show_explnum=1, $show_statut=0, $show_opac_hidden_fields=true, $draggable=0, $ajax_mode=0 , $anti_loop='' ) {
$display = new serial_display($param['id'], 6, $param['action_serial'], $param['action_analysis'],
$param['action_bulletin'], $param['lien_suppr_cart'], $param['lien_explnum'],$param['bouton_explnum'],
$param['print'],1, 1, 1,1);
if(SESSrights & CATALOGAGE_AUTH){
$display->result=" $print_action !!serial_type!! !!ISBD!!";
}else{
$display->result=" $print_action !!serial_type!! !!ISBD!!";
}
$display->finalize();
$html=$display->result;
break;
case 'mono_display' :
// on a affaire à un bulletin ou monographie
//mono_display($id, $level=1, $action='', $expl=1, $expl_link='', $lien_suppr_cart="", $explnum_link='', $show_resa=0,
//$print=0, $show_explnum=1, $show_statut=0, $anti_loop='', $draggable=0, $no_link=false, $show_opac_hidden_fields=true,$ajax_mode=0,$show_planning=0)
$display = new mono_display($param['id'], 6, $param['action'], $param['expl'],
$param['expl_link'], $param['lien_suppr_cart'], $param['explnum_link'],1,
$param['print'],1, 1, '', 1, false, true, 0, 1);
if(SESSrights & CATALOGAGE_AUTH){
//$display->result="$print_action !!ISBD!!
";
$display->result="$print_action !!ISBD!!
";
}else{
$display->result=" $print_action !!ISBD!!";
}
$display->finalize();
$html=$display->result;
break;
}
ajax_http_send_response($html);
?>