summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2016-04-23 15:19:22 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2016-04-23 15:19:22 +0200
commit9f76dde4ca4530d22ac66258b25f7e42c3c596fa (patch)
tree26e4c77122fd1420c6e4fd447e8261aff3523422
parentee6efd77f36a31389504c8a535c585a3cf47981d (diff)
downloadchd_gestion-9f76dde4ca4530d22ac66258b25f7e42c3c596fa.zip
chd_gestion-9f76dde4ca4530d22ac66258b25f7e42c3c596fa.tar.gz
chd_gestion-9f76dde4ca4530d22ac66258b25f7e42c3c596fa.tar.bz2
Bugfix : target="_blank" pas dans xlink
-rw-r--r--api/img_adt_svc_relais.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/img_adt_svc_relais.php b/api/img_adt_svc_relais.php
index 201ab9b..56fe7ee 100644
--- a/api/img_adt_svc_relais.php
+++ b/api/img_adt_svc_relais.php
@@ -158,6 +158,7 @@ if (!$opt_show_source) {
$image_data = stream_get_contents($pipes[1]);
if ($opt_embed) {
$image_data = str_replace('image xlink:href="icons', 'image xlink:href="/api/icons', $image_data);
+ $image_data = str_replace('xlink:title="&lt;TABLE&gt;"', 'target="_blank"', $image_data);
}
fclose($pipes[1]);
$err_data = stream_get_contents($pipes[2]);