|
|
|
@ -156,7 +156,8 @@ if (!function_exists("include_svg")) {
|
|
|
|
|
|
|
|
|
|
$tag_svg = vider_attribut($tag_svg, "width"); |
|
|
|
|
$tag_svg = vider_attribut($tag_svg, "height"); |
|
|
|
|
$tag_svg = inserer_attribut($tag_svg, "style", "position:absolute;"); |
|
|
|
|
$style = extraire_attribut($tag_svg,"style"); |
|
|
|
|
$tag_svg = inserer_attribut($tag_svg, "style", "position:absolute;$style"); |
|
|
|
|
$tag_svg = preg_replace(",\ xmlns(\:[a-z]+)?\=[\"\']([^\"\']*)[\"\'],", "", $tag_svg); |
|
|
|
|
$texte = $tag_svg.$m[2]."/svg>"; |
|
|
|
|
|
|
|
|
@ -180,5 +181,4 @@ if (!function_exists("inclure_svg")) {
|
|
|
|
|
function inclure_svg($file) { |
|
|
|
|
return include_svg($file); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|