if (!defined('ALLOWED')) die('Appel direct ne sont pas permis'); echo '
'; /** * @file * @brief add option for contact * @see contact_option_list * @see action_document_type_mtable::input() */ $http=new HttpInput(); try { $action=$http->request("sa", "string", "list"); } catch (Exception $ex) { record_log(__FILE__." no p_id"); return; } $cn=Dossier::connect(); echo '

'. ''. _("Aide : voir C0ACT"). ''. '

'; // document_option id from document_option where do_code='contact_multiple' and document_type_id=p_id $obj=new Contact_option_ref_SQL($cn); $contact_mtable=new Contact_Option_Ref_MTable($obj); $contact_mtable->set_callback("ajax_misc.php"); $contact_mtable->set_object_name("s_contact_option"); $contact_mtable->set_dialog_box("db_contact_option"); $contact_mtable->add_json_param("op", "contact_option_list"); $contact_mtable->create_js_script(); $contact_mtable->display_table(); echo '
';