getStyle($css); //HEADER : short_header = pour les popups // std_header = pour les pages standards // pb de resize de page avec IE6 et 7 : on force le rechargement de la page (position absolue qui reste absolue !) if ($opac_ie_reload_on_resize) $iecssresizepb="onresize=\"history.go(0);\""; else $iecssresizepb=""; if ($opac_default_style_addon) $css_addon = " "; else $css_addon=""; $script_analytics_html = ''; if (!isset($_COOKIE['PhpMyBibli-COOKIECONSENT']) || !$_COOKIE['PhpMyBibli-COOKIECONSENT']) { if ($opac_cookies_consent && ($opac_script_analytics || $opac_show_social_network || $pmb_logs_activate)) { $script_analytics_html .= " "; } } if (isset($_COOKIE['PhpMyBibli-COOKIECONSENT']) && $_COOKIE['PhpMyBibli-COOKIECONSENT'] != "false") { if ($opac_script_analytics) { eval("\$opac_script_analytics=\"".str_replace("\"","\\\"",$opac_script_analytics)."\";"); $script_analytics_html .= $opac_script_analytics; } } $std_header = " "; switch ($lvl) { case 'contribution_area': $title = $msg['empr_menu_contribution_area'].' '.$opac_biblio_name; $std_header .= ""; break; case 'show_cart': $std_header .= ""; break; default : $title = $msg['opac_title'].' '.$opac_biblio_name; $std_header .= ""; break; } $std_header.=" $title !!liens_rss!! ".$toolkits_scripts_html.$stylescsscodehtml.$css_addon." "; // FAVICON if ($opac_faviconurl) $std_header.=" "; else $std_header.=" "; $std_header.=" "; $src_maps_dojo_opac = ''; if($opac_map_activate){ switch($opac_map_base_layer_type){ case "GOOGLE" : $std_header.=""; break; } $std_header.=""; $std_header.=""; $src_maps_dojo_opac.= ""; } $std_header.=" "; $std_header.=$src_maps_dojo_opac; //Opposition à l'utilisation des cookies, désactivation des partages sur les réseaux sociaux if (isset($_COOKIE['PhpMyBibli-COOKIECONSENT']) && $_COOKIE['PhpMyBibli-COOKIECONSENT'] == "false") { $opac_show_social_network = 0; } $std_header.=""; if (!empty($opac_show_social_network) && !empty($opac_param_social_network)) { $addThisParams = json_decode($opac_param_social_network); if (!empty($addThisParams->addthis_share)) { $std_header .= ""; } $std_header .= " "; } if($opac_allow_affiliate_search){ $std_header.=" "; } if($opac_allow_simili_search){ $std_header.=" "; } if($opac_visionneuse_allow) { $std_header.=" "; } if ($opac_scan_request_activate) { $std_header.=" "; } $std_header.=" "; if (isset($_COOKIE['PhpMyBibli-COOKIECONSENT']) && $_COOKIE['PhpMyBibli-COOKIECONSENT'] != "false" && $pmb_logs_activate) { $std_header.=" "; } $std_header.=" !!enrichment_headers!! "; if($opac_notice_enrichment == 0){ $std_header.=" "; } if($opac_recherche_ajax_mode){ $std_header.=" "; } $std_header.="
!!main_header!!
!!home_on_top!! \n"; $std_header.=" "; $inclus_header = " !!liens_rss!! !!enrichment_headers!! ".$toolkits_scripts_html.$stylescsscodehtml.$css_addon." "; $inclus_header.=" "; //Opposition à l'utilisation des cookies, désactivation des partages sur les réseaux sociaux if (isset($_COOKIE['PhpMyBibli-COOKIECONSENT']) && $_COOKIE['PhpMyBibli-COOKIECONSENT'] == "false") { $opac_show_social_network = 0; } if (!empty($opac_show_social_network) && !empty($opac_param_social_network)) { $addThisParams = json_decode($opac_param_social_network); //ra-4d9b1e202c30dea1 if (!empty($addThisParams->addthis_share)) { $inclus_header .= ""; } $inclus_header .= " "; } if($opac_allow_affiliate_search){ $inclus_header.=" "; } if($opac_allow_simili_search){ $inclus_header.=" "; } if($opac_visionneuse_allow) { $inclus_header.=" "; } if ($opac_scan_request_activate) { $inclus_header.=" "; } if (isset($_COOKIE['PhpMyBibli-COOKIECONSENT']) && $_COOKIE['PhpMyBibli-COOKIECONSENT'] != "false" && $pmb_logs_activate) { $inclus_header.=" "; } $inclus_header.=" ".(isset($inclure_recherche) ? $inclure_recherche : '')."
!!main_header!!
!!home_on_top!! \n"; $short_header = " \n "; //Opposition à l'utilisation des cookies, désactivation des partages sur les réseaux sociaux if (isset($_COOKIE['PhpMyBibli-COOKIECONSENT']) && $_COOKIE['PhpMyBibli-COOKIECONSENT'] == "false") { $opac_show_social_network = 0; } if (!empty($opac_show_social_network) && !empty($opac_param_social_network)) { $addThisParams = json_decode($opac_param_social_network); //ra-4d9b1e202c30dea1 if (!empty($addThisParams->addthis_share)) { $short_header .= ""; } $short_header .= " "; } if ($opac_scan_request_activate) { $short_header.=" "; } $short_header.="!!liens_rss!! ".$toolkits_scripts_html.$stylescsscodehtml.$css_addon." "; $short_footer=""; $popup_header = " ".$toolkits_scripts_html.$stylescsscodehtml.$css_addon." ".$msg['opac_title']." $opac_biblio_name. "; $popup_footer=""; // liens du bas de la page $liens_bas = "
$opac_lien_bas_supplementaire   "; if ($opac_biblio_website) $liens_bas .= " $opac_biblio_name   "; $liens_bas .= " $opac_lien_moteur_recherche   ".$msg['common_tpl_motto_pmb']."
" ; // liens du bas de la page $liens_bas_disabled = "
"; // ACCESSIBILITE if ($opac_accessibility) { $accessibility="
\n
\n"; if(isset($_SESSION["pmbopac_fontSize"])) { $accessibility.=""; } } // HOME $home_on_left = "
\n

!!welcome_page!!

\n"; if ($opac_logosmall<>"") $home_on_left .= "

".$msg["welcome_page"]."

\n"; else $home_on_left .= "

".$msg["welcome_page"]."

\n"; // affichage du choix de langue $common_tpl_lang_select="

!!msg_lang_select!!

!!lang_select!!
\n"; $home_on_left.="!!common_tpl_lang_select!!
\n" ; // HOME lorsque le bandeau gauche n'est pas affiché $home_on_top ="
".$msg["welcome_page"]."
"; // LOGIN FORM=0 // Si le login est autorisé, alors afficher le formulaire de saisie utilisateur/mot de passe ou le code de l'utilisateur connecté $loginform=''; if ($opac_show_loginform) { $loginform ="
\n
!!login_form!!
\n
\n"; } else { if (!file_exists($include_path.'/ext_auth.inc.php')) { $_SESSION["user_code"]=""; } } // METEO if ($opac_show_meteo && $opac_show_meteo_url) { $meteo = "
\n

".$msg['common_tpl_meteo_invite']."

\n

$opac_show_meteo_url

\n ".$msg['common_tpl_meteo']." $opac_biblio_town\n
\n"; } else { $meteo = ""; } // ADRESSE $adresse = "
\n

!!common_tpl_address!!

\n $opac_biblio_name
$opac_biblio_adr1
$opac_biblio_cp $opac_biblio_town
$opac_biblio_country 
$opac_biblio_phone
"; if ($opac_biblio_email) $adresse.=" !!common_tpl_contact!!"; $adresse.="
" ; $adresse.="
" ; // bloc post adresse if ($opac_biblio_post_adress){ $adresse .= "
\n ".$opac_biblio_post_adress."
" ; } if ($opac_facettes_ajax && ($opac_map_activate == 1 || $opac_map_activate == 3) && ($lvl == "more_results" || strpos($lvl, "_see")) !== false) { $map_location_search = " "; } else { $map_location_search = ""; } if ($lvl == "more_results" || strpos($lvl, "_see") !== false) { $facette = "
" . $map_location_search . " !!lst_facette!!
"; $lvl1 = "
!!lst_lvl1!!
"; } //segment de recherche if ($lvl == "search_segment") { $facette = "
" . $map_location_search . " !!lst_facette!!
"; $lvl1 = "
!!lst_lvl1!!
"; } // le footer clos le
, reste ouvert le
$footer = " !!div_liens_bas!! \n
\n
\n"; $inclus_footer = " !!div_liens_bas!! \n
\n
\n"; // Si $opac_biblio_important_p1 est renseigné, alors intro_message est affiché // Ceci permet plus de liberté avec la CSS $std_header_suite="
"; if ($opac_biblio_important_p1) $std_header_suite.="
$opac_biblio_important_p1
"; // si $opac_biblio_important_p2 est renseigné alors suite d'intro_message if ($opac_biblio_important_p2 && !$std_header_suite) $std_header_suite.="
$opac_biblio_important_p2
"; else $std_header_suite.="
$opac_biblio_important_p2
"; // fin intro_message $std_header_suite.="
"; $std_header.=$std_header_suite ; $inclus_header.=$std_header_suite; if(!isset($footer_suite)) $footer_suite = ''; $footer.= $footer_suite ; $inclus_footer.= $footer_suite ; eval("\$opac_biblio_preamble_p1=\"".str_replace("\"","\\\"",$opac_biblio_preamble_p1)."\";"); eval("\$opac_biblio_preamble_p2=\"".str_replace("\"","\\\"",$opac_biblio_preamble_p2)."\";"); $footer_suite ="

$opac_biblio_name

$opac_biblio_preamble_p1
$opac_biblio_preamble_p2
"; $footer.= $footer_suite ; $inclus_footer.= $footer_suite ; $footer .=" !!contenu_bandeau!!"; $footer .="
!!cms_build_info!! ".$script_analytics_html." "; //".($surligne?"rechercher(1);":"")." $inclus_footer .=" !!contenu_bandeau!!
!!cms_build_info!! "; $inclus_footer .= $script_analytics_html; function format_lien_rech($url) { global $base_path; global $use_opac_url_base, $opac_url_base; if($use_opac_url_base) return $opac_url_base.$url; else return $base_path.'/'.$url; } $liens_opac['lien_rech_notice'] = format_lien_rech("index.php?lvl=notice_display&id=!!id!!"); $liens_opac['lien_rech_auteur'] = format_lien_rech("index.php?lvl=author_see&id=!!id!!"); $liens_opac['lien_rech_editeur'] = format_lien_rech("index.php?lvl=publisher_see&id=!!id!!"); $liens_opac['lien_rech_titre_uniforme'] = format_lien_rech("index.php?lvl=titre_uniforme_see&id=!!id!!"); $liens_opac['lien_rech_serie'] = format_lien_rech("index.php?lvl=serie_see&id=!!id!!"); $liens_opac['lien_rech_collection'] = format_lien_rech("index.php?lvl=coll_see&id=!!id!!"); $liens_opac['lien_rech_subcollection'] = format_lien_rech("index.php?lvl=subcoll_see&id=!!id!!"); $liens_opac['lien_rech_indexint'] = format_lien_rech("index.php?lvl=indexint_see&id=!!id!!"); //$liens_opac['lien_rech_motcle'] = format_lien_rech("index.php?lvl=search_result&mode=keyword&auto_submit=1&user_query=!!mot!!"); $liens_opac['lien_rech_motcle'] = format_lien_rech("index.php?lvl=more_results&mode=keyword&user_query=!!mot!!&tags=ok"); $liens_opac['lien_rech_categ'] = format_lien_rech("index.php?lvl=categ_see&id=!!id!!"); $liens_opac['lien_rech_perio'] = format_lien_rech("index.php?lvl=notice_display&id=!!id!!"); $liens_opac['lien_rech_bulletin'] = format_lien_rech("index.php?lvl=bulletin_display&id=!!id!!"); $liens_opac['lien_rech_concept'] = format_lien_rech("index.php?lvl=concept_see&id=!!id!!"); $liens_opac['lien_rech_authperso'] = format_lien_rech("index.php?lvl=authperso_see&id=!!id!!"); switch($opac_allow_simili_search){ case "1" : $simili_search_call = "show_simili_search_all();show_expl_voisin_search_all();"; break; case "2" : $simili_search_call = "show_expl_voisin_search_all();"; break; case "3" : $simili_search_call = "show_simili_search_all()"; break; default: $simili_search_call = ""; break; } $begin_result_liste = " " ; if($opac_recherche_ajax_mode){ if($opac_recherche_show_expand){ $begin_result_liste = "".$begin_result_liste.""; } }else{ if($opac_recherche_show_expand){ $begin_result_liste = "".$begin_result_liste.""; } } define( 'AFF_ETA_NOTICES_NON', 0 ); define( 'AFF_ETA_NOTICES_ISBD', 1 ); define( 'AFF_ETA_NOTICES_PUBLIC', 2 ); define( 'AFF_ETA_NOTICES_BOTH', 4 ); define( 'AFF_ETA_NOTICES_BOTH_ISBD_FIRST', 5 ); define( 'AFF_ETA_NOTICES_REDUIT', 8 ); define( 'AFF_ETA_NOTICES_DEPLIABLES_NON', 0 ); define( 'AFF_ETA_NOTICES_DEPLIABLES_OUI', 1 ); define( 'AFF_ETA_NOTICES_TEMPLATE_DJANGO', 9 ); define( 'AFF_BAN_NOTICES_NON', 0 ); define( 'AFF_BAN_NOTICES_ISBD', 1 ); define( 'AFF_BAN_NOTICES_PUBLIC', 2 ); define( 'AFF_BAN_NOTICES_BOTH', 4 ); define( 'AFF_BAN_NOTICES_BOTH_ISBD_FIRST', 5 ); define( 'AFF_BAN_NOTICES_REDUIT', 8 ); define( 'AFF_BAN_NOTICES_DEPLIABLES_NON', 0 ); define( 'AFF_BAN_NOTICES_DEPLIABLES_OUI', 1 ); define( 'AFF_BAN_NOTICES_TEMPLATE_DJANGO', 9 );