Browse Source

pétouille, ; fermant même si ça ne génère pas d'erreur

master
b_b 9 months ago
parent
commit
42a4c9a3a6
  1. 4
      select2_pipelines.php

4
select2_pipelines.php

@ -50,7 +50,7 @@ function select2_jquery_plugins($flux) {
function select2_header_prive($flux) {
include_spip('inc/config');
$flux .= '<script type="text/javascript">/* <![CDATA[ */
var select2 = select2 || {}
var select2 = select2 || {};
select2.selector = "' . trim(lire_config('select2/selecteur_commun')) . '";
/* ]]> */</script>'."\n";
return $flux;
@ -100,7 +100,7 @@ function select2_insert_head($flux) {
$config = lire_config('select2', array());
if (isset($config['active']) and $config['active']=='oui') {
$flux .= '<script type="text/javascript">/* <![CDATA[ */
var select2 = select2 || {}
var select2 = select2 || {};
select2.selector = "' . trim(isset($config['selecteur_commun']) ? $config['selecteur_commun'] : '') . '";
/* ]]> */</script>'."\n";
}

Loading…
Cancel
Save