/** * Fonction qui va wrapper le html embeded dans le contenu * @param $texte * @param $html * @return string */ function inc_wrap_embed_html_dist($texte,$html){ if (isset($GLOBALS['wrap_embed_html']) AND $GLOBALS['wrap_embed_html']){ if (strpos($texte,"base64")!==false){ $texte = echappe_retour($texte); } $texte = base64_encode($texte); return "
$html
"; } return $html; }