63 lines
1.7 KiB
Plaintext
63 lines
1.7 KiB
Plaintext
|
|
This file describe changes made on external library after beeing included
|
|
in Dolibarr root.
|
|
|
|
|
|
|
|
ALL:
|
|
----
|
|
Replace "& new" by "new"
|
|
|
|
|
|
|
|
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'))) {
|
|
|
|
* In file nusoap.php, to avoid a warning,
|
|
Replace call to serialize_val with no bugged value
|
|
|
|
|
|
|
|
TCPDF:
|
|
------
|
|
* To be compatible with FPDF, replace line
|
|
public function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false, $ln=1, $x='', $y='', $reseth=true, $stretch=0, $ishtml=false, $autopadding=true, $maxh=0, $valign='T', $fitcell=false) {
|
|
by
|
|
public function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false, $ln=1, $x='', $y='', $reseth=true, $stretch=0, $ishtml=false, $autopadding=false, $maxh=0, $valign='T', $fitcell=false) {
|
|
|
|
|
|
|
|
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
|
|
* Replace hard coded string with i18n["String"];
|
|
|
|
|
|
|
|
PHP-BARCODE:
|
|
------------
|
|
If files are replaced by new version, following changes must be done:
|
|
|
|
* Restore changes done into php-barcode.php marked with DOL_CHANGE LDR
|
|
|
|
* Add lines into barcode_outimage function:
|
|
// DOLCHANGE LDR
|
|
global $filebarcode;
|
|
|
|
|
|
// Begin DOLCHANGE LDR
|
|
} else if (! empty($filebarcode))
|
|
{
|
|
imagepng($im,$filebarcode);
|
|
// End DOLCHANGE LDR
|