public function get_form($prefix_url = "", $flag = "", $action = "save")
 {
     $form = parent::get_form($prefix_url, $flag, $action);
     if ($flag != "concept_selector_form") {
         $aut_link = new aut_link(AUT_TABLE_CONCEPT, onto_common_uri::get_id($this->get_uri()));
         $form = str_replace('<!-- aut_link -->', $aut_link->get_form(onto_common_uri::get_name_from_uri($this->get_uri(), $this->onto_class->pmb_name)), $form);
         $form = str_replace('!!auth_statut_selector!!', authorities_statuts::get_form_for(AUT_TABLE_CONCEPT, $this->get_statut_id()), $form);
     } else {
         $form = str_replace('<!-- aut_link -->', "", $form);
     }
     return $form;
 }
Esempio n. 2
0
 function get_form($id, $duplicate = false)
 {
     global $msg, $charset, $authperso_form;
     global $user_query, $user_input, $page, $nbr_lignes;
     global $pmb_type_audit;
     global $thesaurus_concepts_active;
     global $_custom_prefixe_;
     $_custom_prefixe_ = "authperso";
     $id += 0;
     $p_perso = new custom_parametres_perso("authperso", "authperso", $this->id, "./autorites.php?categ=authperso&sub=update&id_authperso=" . $this->id, $option_navigation, $option_visibilite);
     $authperso_fields = $p_perso->show_editable_fields($id);
     $authperso_field_tpl = "\t\n\t\t<div id='!!node_id!!' movable='yes' title=\"" . htmlentities('!!titre!!', ENT_QUOTES, $charset) . "\">\n\t\t<div class='row'>\n\t\t\t\t<label class='etiquette'>!!titre!! </label>!!comment!!\n\t\t</div>\n\t\t<div class='row'>\n\t\t\t!!aff!!\n\t\t\t</div>\n\t\t</div>";
     $tpl = '';
     if (is_array($authperso_fields['FIELDS'])) {
         foreach ($authperso_fields['FIELDS'] as $field) {
             $field_tpl = $authperso_field_tpl;
             $field_tpl = str_replace("!!node_id!!", $field['NAME'], $field_tpl);
             $field_tpl = str_replace("!!titre!!", $field['TITRE'], $field_tpl);
             $field_tpl = str_replace("!!aff!!", $field['AFF'], $field_tpl);
             $field_tpl = str_replace("!!comment!!", $field['COMMENT_DISPLAY'], $field_tpl);
             $tpl .= $field_tpl;
         }
     }
     $button_remplace = "<input type='button' class='bouton' value='{$msg['158']}' onclick='unload_off();document.location=\"./autorites.php?categ=authperso&sub=replace&id_authperso=" . $this->id . "&id={$id}\"'>";
     $button_voir = "<input type='button' class='bouton' value='{$msg['voir_notices_assoc']}' onclick='unload_off();document.location=\"./catalog.php?categ=search&mode=" . ($this->id + 1000) . "&etat=aut_search&aut_type=authperso&aut_id={$id}\"'>";
     if ($pmb_type_audit && $id) {
         $bouton_audit = "&nbsp;<input class='bouton' type='button' onClick=\"openPopUp('./audit.php?type_obj=" . ($this->id + 1000) . "&object_id=" . $id . "', 'audit_popup', 700, 500, -2, -2, 'scrollbars=yes, toolbar=no, dependent=yes, resizable=yes')\" title=\"" . $msg['audit_button'] . "\" value=\"" . $msg['audit_button'] . "\" />&nbsp;";
     }
     if ($id) {
         $authority = new authority(0, $id, AUT_TABLE_AUTHPERSO);
         $statut = $authority->get_num_statut();
     }
     if (!$statut) {
         $statut = 1;
     }
     $aut_link = new aut_link($this->id + 1000, $id);
     $authperso_form = str_replace('<!-- aut_link -->', $aut_link->get_form('saisie_authperso'), $authperso_form);
     // Indexation concept
     if ($thesaurus_concepts_active == 1) {
         $index_concept = new index_concept($id, TYPE_AUTHPERSO);
         $authperso_form = str_replace('<!-- index_concept_form -->', $index_concept->get_form('saisie_authperso'), $authperso_form);
     }
     $authperso_form = str_replace("!!list_field!!", $tpl, $authperso_form);
     if ($id && !$duplicate) {
         $authperso_form = str_replace("!!libelle!!", $msg['authperso_form_titre_edit'], $authperso_form);
         $authperso_form = str_replace("!!delete!!", "<input type='button' class='bouton' value='{$msg['63']}' onClick=\"confirm_delete();\">", $authperso_form);
         $authperso_form = str_replace("!!remplace!!", $button_remplace, $authperso_form);
         $authperso_form = str_replace("!!voir_notices!!", $button_voir, $authperso_form);
         $authperso_form = str_replace("!!audit_bt!!", $bouton_audit, $authperso_form);
     } else {
         $authperso_form = str_replace("!!libelle!!", $msg['authperso_form_titre_new'], $authperso_form);
         $authperso_form = str_replace("!!delete!!", "", $authperso_form);
         $authperso_form = str_replace("!!remplace!!", "", $authperso_form);
         $authperso_form = str_replace("!!voir_notices!!", "", $authperso_form);
         $authperso_form = str_replace("!!audit_bt!!", "", $authperso_form);
     }
     $authperso_form = str_replace('!!auth_statut_selector!!', authorities_statuts::get_form_for(1000 + $this->id, $statut), $authperso_form);
     if (!$duplicate) {
         $authperso_form = str_replace("!!action!!", "./autorites.php?categ=authperso&sub=update&id_authperso=" . $this->id . "&id={$id}", $authperso_form);
     } else {
         $authperso_form = str_replace("!!action!!", "./autorites.php?categ=authperso&sub=update&id_authperso=" . $this->id . "&id=0", $authperso_form);
     }
     $authperso_form = str_replace("!!id_authperso!!", $this->id, $authperso_form);
     $authperso_form = str_replace("!!id!!", '', $authperso_form);
     $authperso_form = str_replace("!!page!!", $page, $authperso_form);
     $authperso_form = str_replace("!!nbr_lignes!!", $nbr_lignes, $authperso_form);
     $authperso_form = str_replace("!!user_input!!", htmlentities(stripslashes($user_input), ENT_QUOTES, $charset), $authperso_form);
     $authperso_form = str_replace('!!user_input_url!!', rawurlencode(stripslashes($user_input)), $authperso_form);
     return $authperso_form;
 }
Esempio n. 3
0
 static function search_form()
 {
     global $user_query, $user_input;
     global $msg, $charset;
     global $authority_statut;
     $user_query = str_replace('!!user_query_title!!', $msg[357] . " : " . $msg[136], $user_query);
     $user_query = str_replace('!!action!!', './autorites.php?categ=collections&sub=reach&id=', $user_query);
     $user_query = str_replace('!!add_auth_msg!!', $msg[163], $user_query);
     $user_query = str_replace('!!add_auth_act!!', './autorites.php?categ=collections&sub=collection_form', $user_query);
     $user_query = str_replace('<!-- sel_authority_statuts -->', authorities_statuts::get_form_for(AUT_TABLE_COLLECTIONS, $authority_statut, true), $user_query);
     $user_query = str_replace('<!-- lien_derniers -->', "<a href='./autorites.php?categ=collections&sub=collection_last'>{$msg['1312']}</a>", $user_query);
     $user_query = str_replace("!!user_input!!", htmlentities(stripslashes($user_input), ENT_QUOTES, $charset), $user_query);
     print pmb_bidi($user_query);
 }
Esempio n. 4
0
// Page de gestion des statuts d'autorités
//dépendances
require_once $class_path . '/authorities_statuts.class.php';
switch ($action) {
    case 'update':
        $statut = authorities_statuts::get_from_from();
        if (!authorities_statuts::save($statut)) {
            error_message("", $msg['save_error'], 0);
        }
        authorities_statuts::show_list();
        break;
    case 'add':
        authorities_statuts::show_form(0);
        break;
    case 'edit':
        authorities_statuts::show_form($id);
        break;
    case 'del':
        if (!authorities_statuts::delete($id)) {
            $used = authorities_statuts::check_used($id);
            foreach ($used as $auth) {
                $list .= $auth['link'] . '<br/>';
            }
            error_message("", $msg['authorities_statut_used'] . '<br/>' . $list);
        }
        authorities_statuts::show_list();
        break;
    default:
        authorities_statuts::show_list();
        break;
}
 static function search_form()
 {
     global $user_query_tpl, $user_input;
     global $msg, $charset;
     global $oeuvre_nature_selector, $oeuvre_type_selector;
     global $authority_statut;
     $oeuvres_nature = new marc_select("oeuvre_nature", 'oeuvre_nature_selector', $oeuvre_nature_selector, 'this.form.submit();', '0', $msg['authorities_select_all']);
     $oeuvres_nature->first_item_at_last();
     $oeuvres_type = new marc_select("oeuvre_type", 'oeuvre_type_selector', $oeuvre_type_selector, 'this.form.submit();', '0', $msg['authorities_select_all']);
     $user_query_tpl = str_replace('!!user_query_title!!', $msg[357] . " : " . $msg["aut_menu_titre_uniforme"], $user_query_tpl);
     $user_query_tpl = str_replace('!!action!!', './autorites.php?categ=titres_uniformes&sub=reach&id=', $user_query_tpl);
     $user_query_tpl = str_replace('!!add_auth_msg!!', $msg["aut_titre_uniforme_ajouter"], $user_query_tpl);
     $user_query_tpl = str_replace('!!add_auth_act!!', './autorites.php?categ=titres_uniformes&sub=titre_uniforme_form', $user_query_tpl);
     $user_query_tpl = str_replace('<!-- lien_derniers -->', "<a href='./autorites.php?categ=titres_uniformes&sub=titre_uniforme_last'>" . $msg["aut_titre_uniforme_derniers_crees"] . "</a>", $user_query_tpl);
     $user_query_tpl = str_replace('<!-- sel_authority_statuts -->', authorities_statuts::get_form_for(AUT_TABLE_TITRES_UNIFORMES, $authority_statut, true), $user_query_tpl);
     $user_query_tpl = str_replace("!!user_input!!", htmlentities(stripslashes($user_input), ENT_QUOTES, $charset), $user_query_tpl);
     $user_query_tpl = str_replace('<!-- sel_oeuvres_nature -->', $oeuvres_nature->get_radio_selector(), $user_query_tpl);
     $user_query_tpl = str_replace('<!-- sel_oeuvres_type -->', $oeuvres_type->display, $user_query_tpl);
     print pmb_bidi($user_query_tpl);
 }
Esempio n. 6
0
        if ($id_thesaurus == $id_thes) {
            $sel_thesaurus .= " selected";
        }
        $sel_thesaurus .= ">" . htmlentities($libelle_thesaurus, ENT_QUOTES, $charset) . "</option>";
    }
    $sel_thesaurus .= "<option value=-1 ";
    if ($id_thes == -1) {
        $sel_thesaurus .= "selected ";
    }
    $sel_thesaurus .= ">" . htmlentities($msg['thes_all'], ENT_QUOTES, $charset) . "</option>";
    $sel_thesaurus .= "</select>&nbsp;";
    $lien_thesaurus = "<a href='./autorites.php?categ=categories&sub=thes'>" . $msg[thes_lien] . "</a>";
}
$user_query = str_replace("<!-- sel_thesaurus -->", $sel_thesaurus, $user_query);
$user_query = str_replace("<!-- lien_thesaurus -->", $lien_thesaurus, $user_query);
$user_query = str_replace("<!-- sel_authority_statuts -->", authorities_statuts::get_form_for(AUT_TABLE_CATEG, $authority_statut, true), $user_query);
if ($id_thes >= 1) {
    $lien_imprimer_thesaurus = "&nbsp;<a href='#' onClick=\"openPopUp('./print_thesaurus.php?current_print=2&action=print_prepare&aff_num_thesaurus=" . $id_thes . "','print', 500, 600, -2, -2, 'scrollbars=yes,menubar=0,resizable=yes'); return false;\">" . $msg[print_thesaurus] . "</a> ";
} else {
    $lien_imprimer_thesaurus = "";
}
$user_query = str_replace("<!-- imprimer_thesaurus -->", $lien_imprimer_thesaurus, $user_query);
//affichage du choix de langue pour la recherche
$sel_langue = "<div class='row'>";
$sel_langue .= "<input type='checkbox' name='lg_search' id='lg_search' value='1' />&nbsp;" . htmlentities($msg['thes_sel_langue'], ENT_QUOTES, $charset);
$sel_langue .= "</div><br />";
$user_query = str_replace("<!-- sel_langue -->", $sel_langue, $user_query);
$user_query = str_replace("!!user_input!!", htmlentities(stripslashes($user_input), ENT_QUOTES, $charset), $user_query);
// nombre de références par pages
if ($nb_per_page_author != "") {
    $nb_per_page = $nb_per_page_author;
Esempio n. 7
0
 static function search_form()
 {
     global $user_query, $user_input;
     global $msg, $charset;
     global $authority_statut;
     $user_query = str_replace('!!user_query_title!!', $msg[357] . " : " . $msg[333], $user_query);
     $user_query = str_replace('!!action!!', './autorites.php?categ=series&sub=reach&id=', $user_query);
     $user_query = str_replace('!!add_auth_msg!!', $msg[339], $user_query);
     $user_query = str_replace('!!add_auth_act!!', './autorites.php?categ=series&sub=serie_form', $user_query);
     $user_query = str_replace('<!-- lien_derniers -->', "<a href='./autorites.php?categ=series&sub=serie_last'>{$msg['1314']}</a>", $user_query);
     $user_query = str_replace('<!-- sel_authority_statuts -->', authorities_statuts::get_form_for(AUT_TABLE_SERIES, $authority_statut, true), $user_query);
     $user_query = str_replace("!!user_input!!", htmlentities(stripslashes($user_input), ENT_QUOTES, $charset), $user_query);
     print pmb_bidi($user_query);
     //	print "<br />
     //		<input class='bouton' type='button' value='$msg[339]' onClick=\"document.location='./autorites.php?categ=series&sub=serie_form'\" />
     //		";
 }
Esempio n. 8
0
 static function search_form($type_autorite = 7)
 {
     global $user_query;
     global $msg;
     global $user_input, $charset;
     global $authority_statut;
     $sel_tout = $type_autorite == 7 ? 'selected' : " ";
     $sel_pp = $type_autorite == 70 ? 'selected' : " ";
     $sel_coll = $type_autorite == 71 ? 'selected' : " ";
     $sel_congres = $type_autorite == 72 ? 'selected' : " ";
     $libelleBtn = $msg[207];
     if ($type_autorite == 7 || $type_autorite == 70) {
         $libelleBtn = $msg[207];
     } elseif ($type_autorite == 71) {
         $libelleBtn = $msg["aut_ajout_collectivite"];
     } elseif ($type_autorite == 72) {
         $libelleBtn = $msg["aut_ajout_congres"];
     }
     $libelleRech = $msg[133];
     if ($type_autorite == 7 || $type_autorite == 70) {
         $libelleRech = $msg[133];
     } elseif ($type_autorite == 71) {
         $libelleRech = $msg[204];
     } elseif ($type_autorite == 72) {
         $libelleRech = $msg["congres_libelle"];
     }
     $sel_autorite_auteur .= '<select class="saisie-30em" id="id_autorite" name="type_autorite" onchange="if(this.form) this.form.submit()">';
     $sel_autorite_auteur .= "<option value ='7' {$sel_tout}>" . $msg["autorites_auteurs_all"] . "</option>";
     $sel_autorite_auteur .= "<option value='70'{$sel_pp}>{$msg['203']}</option>";
     $sel_autorite_auteur .= "<option value='71'{$sel_coll}>{$msg['204']}</option>";
     $sel_autorite_auteur .= "<option value='72'{$sel_congres}>" . $msg["congres_libelle"] . "</option>";
     $sel_autorite_auteur .= "</select>";
     $user_query = str_replace("<!-- sel_autorites -->", $sel_autorite_auteur, $user_query);
     $user_query = str_replace("<!-- sel_authority_statuts -->", authorities_statuts::get_form_for(AUT_TABLE_AUTHORS, $authority_statut, true), $user_query);
     $user_query = str_replace('!!user_query_title!!', $msg[357] . " : " . $libelleRech, $user_query);
     $user_query = str_replace('!!action!!', './autorites.php?categ=auteurs&sub=reach&id=', $user_query);
     $user_query = str_replace('!!add_auth_msg!!', $libelleBtn, $user_query);
     $user_query = str_replace('!!add_auth_act!!', './autorites.php?categ=auteurs&sub=author_form&type_autorite=' . $type_autorite, $user_query);
     $user_query = str_replace('<!-- lien_derniers -->', "<a href='./autorites.php?categ=auteurs&sub=author_last'>{$msg['1310']}</a>", $user_query);
     $user_query = str_replace("!!user_input!!", htmlentities(stripslashes($user_input), ENT_QUOTES, $charset), $user_query);
     print pmb_bidi($user_query);
 }
Esempio n. 9
0
        $temp_cm_trad = str_replace('!!commentaire!!', htmlentities($tab_traductions[$key][3], ENT_QUOTES, $charset), $temp_cm_trad);
        $cm_trad .= $temp_cm_trad;
    }
}
$category_form = str_replace('!!na_trad!!', $na_trad, $category_form);
$category_form = str_replace('!!cm_trad!!', $cm_trad, $category_form);
$category_form = str_replace('!!id!!', $id, $category_form);
$category_form = str_replace('!!parent!!', $parent, $category_form);
$category_form = str_replace('!!action!!', $action, $category_form);
$category_form = str_replace('!!id_parent!!', $parent, $category_form);
$category_form = str_replace('!!form_title!!', $title, $category_form);
$category_form = str_replace('!!category_comment!!', htmlentities($commentaire, ENT_QUOTES, $charset), $category_form);
/**
 * Gestion du selecteur de statut d'autorité
 */
$category_form = str_replace('!!auth_statut_selector!!', authorities_statuts::get_form_for(AUT_TABLE_CATEG, $authority_statut), $category_form);
if ($aff_node_info) {
    $form_categ_parent = str_replace('!!parent_value!!', $p_value, $form_categ_parent);
    $form_categ_parent = str_replace('!!parent_libelle!!', htmlentities($p_libelle, ENT_QUOTES, $charset), $form_categ_parent);
    $category_form = str_replace('<!--categ_parent -->', $form_categ_parent, $category_form);
    $form_renvoivoir = str_replace('!!voir_value!!', $v_value, $form_renvoivoir);
    $form_renvoivoir = str_replace('!!voir_libelle!!', htmlentities($v_libelle, ENT_QUOTES, $charset), $form_renvoivoir);
    $category_form = str_replace('<!-- renvoivoir -->', $form_renvoivoir, $category_form);
    if (count($see_also) == 0) {
        $max_categ = 1;
        $categ0_id = 0;
        $categ0_lib = "";
        $categ0_rec = "unchecked='unchecked'";
    } else {
        $max_categ = count($see_also);
        $csa = new category($see_also[0]['id']);
Esempio n. 10
0
 static function search_form($id_pclass = 0)
 {
     global $user_query, $user_input;
     global $msg;
     global $dbh;
     global $thesaurus_classement_mode_pmb;
     global $charset;
     global $authority_statut;
     // Gestion Indexation décimale multiple
     if ($thesaurus_classement_mode_pmb != 0) {
         //la liste des pclassement n'est pas affichée en mode monopclassement
         $base_url = "./autorites.php?categ=indexint&sub=&id=";
         $sel_pclassement = '';
         $requete = "SELECT id_pclass, name_pclass,\ttypedoc FROM pclassement order by id_pclass";
         $result = pmb_mysql_query($requete, $dbh) or die($requete . "<br />" . pmb_mysql_error());
         $sel_pclassement = "<select class='saisie-30em' id='id_pclass' name='id_pclass' ";
         $sel_pclassement .= "onchange = \"document.location = '" . $base_url . "&id_pclass='+document.getElementById('id_pclass').value; \">";
         $sel_pclassement .= "<option value='0' ";
         if ($id_pclass == 0) {
             $sel_pclassement .= " selected";
         }
         $sel_pclassement .= ">" . htmlentities($msg["pclassement_select_index_standart"], ENT_QUOTES, $charset) . "</option>";
         while ($lue = pmb_mysql_fetch_object($result)) {
             $sel_pclassement .= "<option value='" . $lue->id_pclass . "' ";
             if ($lue->id_pclass == $id_pclass) {
                 $sel_pclassement .= " selected";
             }
             $sel_pclassement .= ">" . htmlentities($lue->name_pclass, ENT_QUOTES, $charset) . "</option>";
         }
         $sel_pclassement .= "</select>&nbsp;";
         $pclass_url = "&id_pclass=" . $id_pclass;
         $user_query = str_replace('<!-- sel_pclassement -->', $sel_pclassement, $user_query);
         $user_query = str_replace('<!-- lien_classement -->', "<a href='./autorites.php?categ=indexint&sub=pclass'>" . $msg['pclassement_link_edition'] . "</a> ", $user_query);
     }
     $user_query = str_replace('!!user_query_title!!', $msg[357] . " : " . $msg[indexint_menu_title], $user_query);
     $user_query = str_replace('!!action!!', './autorites.php?categ=indexint&sub=reach&id=', $user_query);
     $user_query = str_replace('!!add_auth_msg!!', $msg["indexint_create_button"], $user_query);
     $user_query = str_replace('!!add_auth_act!!', './autorites.php?categ=indexint&sub=indexint_form' . $pclass_url, $user_query);
     $user_query = str_replace('<!-- lien_derniers -->', "<a href='./autorites.php?categ=indexint&sub=indexint_last{$pclass_url}'>{$msg['indexint_last']}</a>", $user_query);
     $user_query = str_replace('<!-- sel_authority_statuts -->', authorities_statuts::get_form_for(AUT_TABLE_INDEXINT, $authority_statut, true), $user_query);
     $user_query = str_replace("!!user_input!!", htmlentities(stripslashes($user_input), ENT_QUOTES, $charset), $user_query);
     print pmb_bidi($user_query);
 }
 /**
  * Renvoie le formulaire de recherche dans les concepts
  * 
  * @param onto_common_controler $controler
  * @param onto_param $params
  * 
  * @return string $form
  */
 public static function get_search_form($controler, $params)
 {
     global $msg, $charset, $base_path, $ontology_tpl, $authority_statut;
     $classes = $controler->get_classes();
     foreach ($classes as $class) {
         if ($class->pmb_name == $params->sub) {
             $title .= $controler->get_label($class->pmb_name);
         }
     }
     $onchange_scheme_list_selector = 'onchange="document.location =\'' . $base_path . '/' . $controler->get_base_resource() . 'categ=' . $params->categ . '&sub=' . $params->sub . '&id=&action=search&concept_scheme=\'+document.getElementById(\'id_concept_scheme\').value+\'&user_input=\'+document.getElementById(\'id_user_input\').value+\'&only_top_concepts=' . $params->only_top_concepts . '\';"';
     $name_scheme_list_selector = 'concept_scheme';
     $id_scheme_list_selector = 'id_concept_scheme';
     $form = $ontology_tpl['skos_concept_search_form'];
     $form = str_replace('!!skos_concept_search_form_action!!', $base_path . '/' . $controler->get_base_resource() . 'categ=' . $params->categ . '&sub=' . $params->sub . '&id=&action=search', $form);
     $form = str_replace('!!skos_concept_search_form_title!!', $title, $form);
     $form = str_replace('<!-- sel_authority_statuts -->', authorities_statuts::get_form_for(AUT_TABLE_CONCEPT, $authority_statut + 0, true), $form);
     $form = str_replace('!!skos_concept_search_form_selector!!', self::get_scheme_list_selector($controler, $params, false, $onchange_scheme_list_selector, $name_scheme_list_selector, $id_scheme_list_selector), $form);
     $onchange_only_top_concepts = 'onchange="document.location =\'' . $base_path . '/' . $controler->get_base_resource() . 'categ=' . $params->categ . '&sub=' . $params->sub . '&id=&action=search&concept_scheme=\'+document.getElementById(\'id_concept_scheme\').value+\'&user_input=\'+document.getElementById(\'id_user_input\').value+\'&only_top_concepts=\'+this.checked*1;"';
     $checked_only_top_concepts = '';
     if ($params->only_top_concepts) {
         $checked_only_top_concepts = 'checked="checked"';
     }
     $form = str_replace('!!only_top_concepts_onchange!!', $onchange_only_top_concepts, $form);
     $form = str_replace('!!only_top_concepts_checked!!', $checked_only_top_concepts, $form);
     if (isset($msg['onto_' . $controler->get_onto_name() . '_add_' . $params->sub])) {
         $add_msg = $msg['onto_' . $controler->get_onto_name() . '_add_' . $params->sub];
     } else {
         $add_msg = sprintf($msg['onto_common_add'], $controler->get_label($params->sub));
     }
     $form = str_replace('!!skos_concept_search_form_user_input!!', stripslashes(htmlentities($params->user_input, ENT_QUOTES, $charset)), $form);
     $form = str_replace('!!skos_concept_search_form_concept_onclick!!', 'document.location=\'./' . $controler->get_base_resource() . 'categ=' . $params->categ . '&sub=' . $params->sub . '&id=&action=edit&concept_scheme=' . $params->concept_scheme . '&parent_id=' . $params->parent_id . '\'', $form);
     $form = str_replace('!!skos_concept_search_form_concept_value!!', htmlentities($add_msg, ENT_QUOTES, $charset), $form);
     $form = str_replace('!!skos_concept_search_form_composed_onclick!!', 'document.location=\'./' . $controler->get_base_resource() . 'categ=' . $params->categ . '&sub=' . $params->sub . '&id=&action=edit&composed=composed&concept_scheme=' . $params->concept_scheme . '&parent_id=' . $params->parent_id . '\'', $form);
     $form = str_replace('!!skos_concept_search_form_href!!', $base_path . '/' . $controler->get_base_resource() . 'categ=' . $params->categ . '&sub=' . $params->sub . '&action=' . $params->action . '&concept_scheme=' . $params->concept_scheme, $form);
     $form = str_replace('!!skos_concept_search_form_breadcrumb!!', self::get_breadcrumb($controler, $params), $form);
     return $form;
 }