function test_form(form) { unload_off(); !!return_form!! } function confirm_delete() { result = confirm(\"".$msg["confirm_suppr"]."\"); if(result) { unload_off(); document.location='./catalog.php?categ=serials&sub=collstate_delete&id=!!id!!&serial_id=!!serial_id!!&location=!!location_id!!'; } } function calculate_collections_state() { var url= \"./ajax.php?module=catalog&categ=collections_state&fname=calculate_collections_state\"; var state_col = new http_request(); var separator = ''; if(state_col.request(url,1,\"&id_serial=!!serial_id!!&id_location=\"+document.getElementById('location_id').value)) alert(state_col.get_text()); else { if (document.getElementById('state_collections').value) separator=' '; temp=state_col.get_text(); document.getElementById('state_collections').value=document.getElementById('state_collections').value + separator + temp; } }

!!libelle!!

!!location_field!! !!emplacement_field!!
!!support_field!! !!statut_field!! !!parametres_perso!!
!!delete!!
"; $location_field="
!!location!!
"; $statut_field="
!!statut!!
"; $emplacement_field="
!!emplacement!!
"; $support_field="
!!support!!
"; $tpl_collstate_liste_script=" "; $tpl_collstate_liste_form="
!!collstate_table!!
"; $tpl_collstate_liste[0]=" !!collstate_liste!!
".$msg["collstate_form_emplacement"]." ".$msg["collstate_form_cote"]." ".$msg["collstate_form_support"]." ".$msg["collstate_form_statut"]." ".$msg["collstate_form_origine"]." ".$msg["collstate_form_collections"]." ".$msg["collstate_form_lacune"]."
"; $tpl_collstate_liste_line[0].=" !!emplacement_libelle!! !!cote!! !!type_libelle!! !!statut_libelle!! !!origine!! !!state_collections!! !!lacune!! "; $tpl_collstate_liste[1]=" $tpl_collstate_liste_script !!collstate_liste!!
".$msg["collstate_form_localisation"]." ".$msg["collstate_form_emplacement"]." ".$msg["collstate_form_cote"]." ".$msg["collstate_form_support"]." ".$msg["collstate_form_statut"]." ".$msg["collstate_form_origine"]." ".$msg["collstate_form_collections"]." ".$msg["collstate_form_lacune"]."
"; $tpl_collstate_liste_line[1].=" !!localisation!! !!emplacement_libelle!! !!cote!! !!type_libelle!! !!statut_libelle!! !!origine!! !!state_collections!! !!lacune!! "; $tpl_collstate_surloc_liste = "".$msg["collstate_surloc"].""; $tpl_collstate_surloc_liste_line = "!!surloc!!";