FsPages laisse la place à Gitlab Pages ! Voici la documentation pour vous en servir : https://docs.gitlab.com/ce/user/project/pages/index.html

Commit 8d0a32db by Denis Chenu

[feature] Allow usage of data URI for image src

1 parent dd7e9469
# Change Log
Only partial changelog, [commit history](https://framagit.org/Shnoulle/LimeSurvey/commits/2.06_SondagesPro) show all changelog.
## Unreleased
### Feature
- Allow usage of data URI for image src
## [1.2.0] 2016-08-10 (Stable working release)
### Feature
- Allow to send pdf report in email with style, image, break-page
......@@ -67,6 +67,9 @@ class pdfReport extends pdf
{
$file=$this->sAbsoluteUrl.$file;
}
if(strpos($file,"data:image")===0){
return parent::Image($file, $x, $y, $w, $h, $type, $link, $align, $resize, $dpi, $palign, $ismask, $imgmask, $border, $fitbox, $hidden, true, $alt, $altimgs);
}
$imageInfo=$this->getImageInfo($file);
if($imageInfo['size'][0] && $imageInfo['size'][1])
{
......
......@@ -7,7 +7,7 @@
* @copyright 2015-2016 Denis Chenu <http://sondages.pro>
* @copyright 2015 Ingeus <http://www.ingeus.fr/>
* @license GPL v3
* @version 1.2
* @version 1.2.0
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -399,6 +399,7 @@ class sendPdfReport extends PluginBase {
'ftp' => true,
'nntp' => true,
'news' => true,
'data' => true,
)
);
$sText=$oPurifier->purify($sText);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!