opener.document.formulaire.".$name."_options.value='".str_replace("\n", "\\n", addslashes($options)) ."'; opener.document.formulaire.".$name."_for.value='query_auth'; self.close(); "; } else { // Création formulaire if($options){ $param=_parser_text_no_function_("\n".$options,"OPTIONS"); } if (!isset($param["FOR"]) || $param["FOR"] != "query_auth") { $param = array(); $param["FOR"] = "query_auth"; $param['MULTIPLE'][0]['value'] = ''; $param["METHOD"]["0"]["value"] = ''; $param["CATEG_SHOW"]["0"]["value"] = ''; $param["ID_THES"][0]['value'] = ''; $param["DATA_TYPE"]["0"]["value"]= ''; $param["ID_SCHEME_CONCEP"][0]['value'] = ''; } $MULTIPLE=$param['MULTIPLE'][0]['value']; if($param["METHOD"]["0"]["value"])$method_checked[$param["METHOD"]["0"]["value"]]="checked"; else $method_checked[1]="checked"; $data_type_selected[$param["DATA_TYPE"]["0"]["value"]]="selected"; if($param["CATEG_SHOW"]["0"]["value"])$categ_show_checked[$param["CATEG_SHOW"]["0"]["value"]]="checked"; else $categ_show_checked[0]="checked"; $multiple_checked=""; if ($MULTIPLE=="yes") $multiple_checked= "checked"; $sel_thesaurus = ''; $opt_thesaurus = ''; if ($thesaurus_mode_pmb != 0) { //la liste des thesaurus n'est pas affichée en mode monothesaurus $liste_thesaurus = thesaurus::getThesaurusList(); $sel_thesaurus = " "; } $opt_thesaurus = "".$msg["cp_auth_show_all"]; $opt_thesaurus .= "
".$msg["cp_auth_show_last"]; $options_authperso=''; $authpersos=authpersos::get_authpersos(); foreach ($authpersos as $authperso){ $options_authperso.=""; } $onto_store_config = array( /* db */ 'db_name' => DATA_BASE, 'db_user' => USER_NAME, 'db_pwd' => USER_PASS, 'db_host' => SQL_SERVER, /* store */ 'store_name' => 'ontology', /* stop after 100 errors */ 'max_errors' => 100, 'store_strip_mb_comp_str' => 0 ); $data_store_config = array( /* db */ 'db_name' => DATA_BASE, 'db_user' => USER_NAME, 'db_pwd' => USER_PASS, 'db_host' => SQL_SERVER, /* store */ 'store_name' => 'rdfstore', /* stop after 100 errors */ 'max_errors' => 100, 'store_strip_mb_comp_str' => 0 ); $tab_namespaces=array( "skos" => "http://www.w3.org/2004/02/skos/core#", "dc" => "http://purl.org/dc/elements/1.1", "dct" => "http://purl.org/dc/terms/", "owl" => "http://www.w3.org/2002/07/owl#", "rdf" => "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdfs" => "http://www.w3.org/2000/01/rdf-schema#", "xsd" => "http://www.w3.org/2001/XMLSchema#", "pmb" => "http://www.pmbservices.fr/ontology#" ); $onto_handler = new onto_handler($class_path."/rdf/skos_pmb.rdf", "arc2", $onto_store_config, "arc2", $data_store_config,$tab_namespaces,'http://www.w3.org/2004/02/skos/core#prefLabel','http://www.w3.org/2004/02/skos/core#ConceptScheme'); $params=new onto_param(); if($param["DATA_TYPE"]["0"]["value"]==9 && $param["ID_SCHEME_CONCEP"][0]['value'] !== ''){ $params->concept_scheme = array(); for($i=0 ; $iconcept_scheme[]=$param["ID_SCHEME_CONCEP"][$i]['value']; } }else{ $params->concept_scheme=[$deflt_concept_scheme]; } $onto_controler=new onto_skos_controler($onto_handler, $params); $onto_scheme_list_selector=onto_skos_concept_ui::get_scheme_list_selector($onto_controler, $params,true,'','ID_SCHEME_CONCEP','',true); //Formulaire $form="

".$msg['procs_options_param'].$name."


".$type_list[$type]."

".$msg['parperso_include_option_methode']."
".$msg['parperso_include_option_selectors_id']."
".$msg['parperso_include_option_selectors_label']."
".$msg['include_option_type_donnees']."
$sel_thesaurus
$opt_thesaurus
$onto_scheme_list_selector
".$msg['procs_options_liste_multi']."
"; print $form; }