\n" ."$tarteaucitron_config\n"; } return $flux; } /** * Inserer les JS correspondants aux services activés dans la configuration du plugin * * @pipeline affichage_final * * @param string $flux * @return mixed */ function tarteaucitron_affichage_final($page) { if (!test_espace_prive() and tarteaucitron_actif()) { foreach($GLOBALS['contexte'] as $k => &$v) { if (preg_match(',^id_(\w+)$,S', $k, $r) AND ($id = intval($v))>0 ) { $objet = 'id_'.$r[1]; $id_objet = $id; } } $ajouter_services = ''; $ajouter_services .= ''; if ($ajouter_services) { $page = str_replace('', $ajouter_services. '', $page); } } return $page; }