2006-09-16 18:16:19 +02:00
|
|
|
|
2008-04-17 02:16:07 +02:00
|
|
|
This file describe changes made on external library after beeing included
|
|
|
|
|
in Dolibarr root.
|
|
|
|
|
|
2011-07-06 15:01:36 +02:00
|
|
|
|
2009-10-25 18:57:23 +01:00
|
|
|
ALL:
|
|
|
|
|
----
|
2017-07-17 20:20:38 +02:00
|
|
|
Check "@CHANGE"
|
2009-01-21 18:28:56 +01:00
|
|
|
|
2011-04-09 18:14:19 +02:00
|
|
|
|
2017-02-28 10:49:58 +01:00
|
|
|
CKEDITOR (4.6.2):
|
|
|
|
|
-----------------
|
2016-04-22 11:09:47 +02:00
|
|
|
* In ckeditor/ckeditor/contents.css
|
|
|
|
|
Replace:
|
2017-02-28 10:49:58 +01:00
|
|
|
body { ... margin: 20px;
|
2016-04-22 11:09:47 +02:00
|
|
|
With
|
2017-02-28 10:49:58 +01:00
|
|
|
body { ... margin: 5px;
|
2016-04-22 11:09:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-13 23:33:02 +02:00
|
|
|
NUSOAP:
|
|
|
|
|
-------
|
|
|
|
|
* In file nusoap.php, to avoid a warning,
|
|
|
|
|
Replace
|
|
|
|
|
if (isset($this->methodreturn) && ((get_class($this->methodreturn) == 'soap_fault') || (get_class($this->methodreturn) == 'nusoap_fault'))) {
|
|
|
|
|
By
|
|
|
|
|
if (! is_array($this->methodreturn) && isset($this->methodreturn) && ((get_class($this->methodreturn) == 'soap_fault') || (get_class($this->methodreturn) == 'nusoap_fault'))) {
|
|
|
|
|
|
2011-05-04 17:19:38 +02:00
|
|
|
* In file nusoap.php, to avoid a warning,
|
|
|
|
|
Replace call to serialize_val with no bugged value
|
|
|
|
|
|
2010-04-13 23:33:02 +02:00
|
|
|
|
2009-01-21 18:28:56 +01:00
|
|
|
|
2016-04-22 11:09:47 +02:00
|
|
|
|
2010-09-16 19:51:28 +02:00
|
|
|
TCPDF:
|
|
|
|
|
------
|
2016-04-08 15:09:31 +02:00
|
|
|
* To avoid to have QRcode changed because generated with a random mask, replace
|
|
|
|
|
define('QR_FIND_FROM_RANDOM', 2);
|
|
|
|
|
with
|
|
|
|
|
define('QR_FIND_FROM_RANDOM', false);
|
|
|
|
|
|
2017-02-28 10:49:58 +01:00
|
|
|
* Removed useless directories ("examples", "tools")
|
2016-04-22 11:09:47 +02:00
|
|
|
|
2013-06-08 16:29:59 +02:00
|
|
|
* Fix
|
|
|
|
|
// initialize subsetchars
|
|
|
|
|
$subsetchars = array();
|
|
|
|
|
into
|
|
|
|
|
// initialize subsetchars
|
|
|
|
|
$subsetchars = array_fill(0, 256, true);
|
2010-09-16 19:51:28 +02:00
|
|
|
|
2016-04-22 11:09:47 +02:00
|
|
|
* Optionnaly, removed all fonts except
|
|
|
|
|
dejavusans* (used by greek, arab, persan, romanian, turkish),
|
|
|
|
|
freemono* (russian),
|
|
|
|
|
cid*+msungstdlight+stsongstdlight+uni2cid* (chinese),
|
|
|
|
|
helvetica* (all other languages),
|
|
|
|
|
zapfdingbats.php (for special chars like form checkboxes)
|
|
|
|
|
|
|
|
|
|
* Optionnaly, made freemono the default monotype font because we removed courier
|
2014-03-06 18:15:50 +01:00
|
|
|
In htdocs/includes/tcpdf/tcpdf.php
|
|
|
|
|
- protected $default_monospaced_font = 'courier';
|
|
|
|
|
+ protected $default_monospaced_font = 'freemono';
|
|
|
|
|
|
2011-08-11 21:12:37 +02:00
|
|
|
|
2015-12-20 21:28:05 +01:00
|
|
|
|
2015-03-02 01:38:40 +01:00
|
|
|
TCPDI:
|
|
|
|
|
------
|
|
|
|
|
Add fpdf_tpl.php 1.2
|
|
|
|
|
Add tcpdi.php
|
|
|
|
|
Add tcpdi_parser.php and replace:
|
|
|
|
|
require_once(dirname(__FILE__).'/include/tcpdf_filters.php');
|
|
|
|
|
with:
|
2015-11-03 11:01:22 +01:00
|
|
|
require_once(dirname(__FILE__).'/../tecnickcom/tcpdf/include/tcpdf_filters.php');
|
2015-03-02 01:38:40 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-05-22 18:53:36 +02:00
|
|
|
JSGANTT:
|
|
|
|
|
--------
|
|
|
|
|
* Replace in function JSGantt.taskLink
|
|
|
|
|
var OpenWindow=window.open(pRef, "newwin", "height="+vHeight+",width="+vWidth);
|
|
|
|
|
with
|
|
|
|
|
// LDR To open in same window
|
|
|
|
|
//var OpenWindow=window.open(pRef, "newwin", "height="+vHeight+",width="+vWidth);
|
|
|
|
|
window.location.href=pRef
|
2013-12-30 12:35:32 +01:00
|
|
|
|
2017-10-18 21:24:17 +02:00
|
|
|
* Replace
|
|
|
|
|
vTmpDiv=this.newNode(vTmpCell, 'div', null, null, vTaskList[i].getResource());
|
|
|
|
|
with
|
|
|
|
|
var vTmpNode=this.newNode(vTmpCell, 'div', null, '');
|
|
|
|
|
vTmpNode=this.newNode(vTmpNode, 'a', null, '', vLangs[vLang]['moreinfo']);
|
|
|
|
|
vTmpNode.setAttribute('href',vTaskList[i].getLink());
|
|
|
|
|
|
2018-05-04 11:01:22 +02:00
|
|
|
* Replace '% Comp.' to have a smaller text column header
|
|
|
|
|
'comp':'% Comp.'
|
|
|
|
|
with
|
|
|
|
|
'comp':'%'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-30 12:35:32 +01:00
|
|
|
|
|
|
|
|
JCROP:
|
|
|
|
|
------
|
|
|
|
|
* Remove analytics tag into file index.html
|
2014-01-20 02:21:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
JQUERYFILETREE:
|
|
|
|
|
---------------
|
|
|
|
|
* Remove directory htdocs/includes/jquery/plugins/jqueryFileTree/connectors
|
|
|
|
|
|
2015-11-22 17:17:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
RESTLER:
|
|
|
|
|
--------
|
|
|
|
|
|
2017-11-13 11:41:37 +01:00
|
|
|
* Add 2 lines into file AutoLoader.php to complete function
|
2016-05-18 00:45:13 +02:00
|
|
|
private function alias($className, $currentClass)
|
|
|
|
|
{
|
|
|
|
|
...
|
|
|
|
|
to get
|
2015-11-22 17:17:06 +01:00
|
|
|
|
2016-05-18 00:45:13 +02:00
|
|
|
private function alias($className, $currentClass)
|
|
|
|
|
{
|
|
|
|
|
if ($className == 'Luracast\Restler\string') return;
|
|
|
|
|
if ($className == 'Luracast\Restler\mixed') return;
|
|
|
|
|
...
|
2017-11-17 12:54:49 +01:00
|
|
|
|
|
|
|
|
Change also file Luracast/Restler/explorer/index.html
|
|
|
|
|
|
|
|
|
|
+With swagger 2:
|
|
|
|
|
|
|
|
|
|
* Add line into Util.php to complete function
|
|
|
|
|
|
|
|
|
|
public static function getShortName($className)
|
|
|
|
|
{
|
|
|
|
|
// @CHANGE LDR
|
|
|
|
|
if (! is_string($className)) return;
|
|
|
|
|
//var_dump($className);
|
2017-11-25 02:32:25 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PARSEDOWN
|
|
|
|
|
---------
|
|
|
|
|
|
2017-12-16 12:11:46 +01:00
|
|
|
* Add support of css by adding in Parsedown.php:
|
|
|
|
|
|
|
|
|
|
// @CHANGE LDR
|
|
|
|
|
'class' => $Link['element']['attributes']['class']
|
|
|
|
|
|
|
|
|
|
...
|
|
|
|
|
|
|
|
|
|
// @CHANGE LDR
|
|
|
|
|
if (preg_match('/{([^}]+)}/', $remainder, $matches2))
|
|
|
|
|
{
|
|
|
|
|
$Element['attributes']['class'] = $matches2[1];
|
|
|
|
|
$remainder = preg_replace('/{'.preg_quote($matches2[1],'/').'}/', '', $remainder);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// @CHANGE LDR
|
|
|
|
|
//$markup .= $this->{$Element['handler']}($Element['text']);
|
|
|
|
|
$markup .= preg_replace('/>{[^}]+}/', '>', $this->{$Element['handler']}($Element['text']));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-11-25 02:32:25 +01:00
|
|
|
* Fix to avoid fatal error when mb_strlen not available:
|
|
|
|
|
|
|
|
|
|
// @CHANGE LDR Fix when mb_strlen is not available
|
|
|
|
|
//$shortage = 4 - mb_strlen($line, 'utf-8') % 4;
|
|
|
|
|
if (function_exists('mb_strlen')) $len = mb_strlen($line, 'utf-8');
|
|
|
|
|
else $len = strlen($line);
|
|
|
|
|
$shortage = 4 - $len % 4;
|
2017-12-20 13:17:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
JEDITABLE.JS
|
|
|
|
|
------------
|
|
|
|
|
|
|
|
|
|
* <button type="submit" /> => <button class="button" type="submit" />
|
|
|
|
|
* <button type="cancel" /> => <button class="button" type="cancel" />
|
|
|
|
|
|