get_search_perso ();
foreach ( $search_perso as $perso_id ) {
$search_persopac = new search_persopac ( $perso_id );
$search_persopac->url_base = static::$url_base;
$search_others_tabs .= $search_persopac->get_tab ();
}
if ($opac_allow_extended_search) {
$search_others_tabs .= static::get_search_others_tab ( 'extended_search', $msg ["extended_search"] );
}
if (($opac_show_onglet_empr == 1) || (($opac_show_onglet_empr == 2) && ($_SESSION ["user_code"]))) {
if (! $_SESSION ["user_code"]) {
$search_others_tabs .= static::get_search_others_tab ( 'connect_empr', $msg ["onglet_empr_connect"] );
} else {
switch ($opac_show_onglet_empr) {
case 1 :
$empr_link_onglet = "./index.php?search_type_asked=connect_empr";
break;
case 2 :
$empr_link_onglet = "./empr.php";
break;
}
$search_others_tabs .= "
" . $msg ["onglet_empr_compte"] . "";
}
}
return $search_others_tabs;
}
public static function set_object_id($object_id) {
static::$object_id = intval($object_id);
}
public static function get_display_simple_search_form() {
static::$user_query = '';
global $msg;
global $opac_autolevel2;
global $opac_simple_search_suggestions;
global $include_path;
global $base_path;
global $opac_focus_user_query;
global $opac_search_other_function;
global $id;
global $charset;
$form = "
";
return $form;
}
public static function get_display_search() {
global $msg;
global $include_path;
global $base_path;
global $charset;
$form = "
".$msg["search_segment_refine_search"]."
";
return $form;
}
public static function format_url($url) {
$return_url = parent::format_url($url);
$return_url .= search_universe::get_parameters();
return $return_url;
}
}