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 FPDI: ----- Replace: $this->_readXref($this->_xref, $this->_findXref()); with: try { $this->_readXref($this->_xref, $this->_findXref()); } catch(Exception $e) { print $e->getMessage(); exit; } TCPDF: ------ * 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) * Removed useless directories (examples, tools) * Fix // initialize subsetchars $subsetchars = array(); into // initialize subsetchars $subsetchars = array_fill(0, 256, true); * Made freemono the default monotype font because we removed courier In htdocs/includes/tcpdf/tcpdf.php - protected $default_monospaced_font = 'courier'; + protected $default_monospaced_font = 'freemono'; * Renamed getmypid into dol_getmypid(). 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); 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: require_once(dirname(__FILE__).'/../tecnickcom/tcpdf/include/tcpdf_filters.php'); 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"]; JCROP: ------ * Remove analytics tag into file index.html JQUERYFILETREE: --------------- * Remove directory htdocs/includes/jquery/plugins/jqueryFileTree/connectors RESTLER: -------- if ($className == 'Luracast\Restler\string') return; if ($className == 'Luracast\Restler\mixed') return;