dolibarr_changes.txt 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. This file describe changes made on external library after beeing included
  2. in Dolibarr root.
  3. ALL:
  4. ----
  5. Replace "& new" by "new"
  6. CKEDITOR:
  7. ---------
  8. * In ckeditor/ckeditor/contents.css
  9. Replace:
  10. margin: 20px;
  11. With
  12. margin: 5px;
  13. NUSOAP:
  14. -------
  15. * In file nusoap.php, to avoid a warning,
  16. Replace
  17. if (isset($this->methodreturn) && ((get_class($this->methodreturn) == 'soap_fault') || (get_class($this->methodreturn) == 'nusoap_fault'))) {
  18. By
  19. if (! is_array($this->methodreturn) && isset($this->methodreturn) && ((get_class($this->methodreturn) == 'soap_fault') || (get_class($this->methodreturn) == 'nusoap_fault'))) {
  20. * In file nusoap.php, to avoid a warning,
  21. Replace call to serialize_val with no bugged value
  22. FPDI:
  23. -----
  24. Replace:
  25. $this->_readXref($this->_xref, $this->_findXref());
  26. with:
  27. try {
  28. $this->_readXref($this->_xref, $this->_findXref());
  29. }
  30. catch(Exception $e)
  31. {
  32. print $e->getMessage();
  33. exit;
  34. }
  35. TCPDF:
  36. ------
  37. * To avoid to have QRcode changed because generated with a random mask, replace
  38. define('QR_FIND_FROM_RANDOM', 2);
  39. with
  40. define('QR_FIND_FROM_RANDOM', false);
  41. * Removed useless directories (examples, tools)
  42. * Fix
  43. // initialize subsetchars
  44. $subsetchars = array();
  45. into
  46. // initialize subsetchars
  47. $subsetchars = array_fill(0, 256, true);
  48. * Optionnaly, removed all fonts except
  49. dejavusans* (used by greek, arab, persan, romanian, turkish),
  50. freemono* (russian),
  51. cid*+msungstdlight+stsongstdlight+uni2cid* (chinese),
  52. helvetica* (all other languages),
  53. zapfdingbats.php (for special chars like form checkboxes)
  54. * Optionnaly, made freemono the default monotype font because we removed courier
  55. In htdocs/includes/tcpdf/tcpdf.php
  56. - protected $default_monospaced_font = 'courier';
  57. + protected $default_monospaced_font = 'freemono';
  58. TCPDI:
  59. ------
  60. Add fpdf_tpl.php 1.2
  61. Add tcpdi.php
  62. Add tcpdi_parser.php and replace:
  63. require_once(dirname(__FILE__).'/include/tcpdf_filters.php');
  64. with:
  65. require_once(dirname(__FILE__).'/../tecnickcom/tcpdf/include/tcpdf_filters.php');
  66. JSGANTT:
  67. --------
  68. * Replace in function JSGantt.taskLink
  69. var OpenWindow=window.open(pRef, "newwin", "height="+vHeight+",width="+vWidth);
  70. with
  71. // LDR To open in same window
  72. //var OpenWindow=window.open(pRef, "newwin", "height="+vHeight+",width="+vWidth);
  73. window.location.href=pRef
  74. * Replace hard coded string with i18n["String"];
  75. JCROP:
  76. ------
  77. * Remove analytics tag into file index.html
  78. JQUERYFILETREE:
  79. ---------------
  80. * Remove directory htdocs/includes/jquery/plugins/jqueryFileTree/connectors
  81. RESTLER:
  82. --------
  83. * Add 2 lines into function
  84. private function alias($className, $currentClass)
  85. {
  86. ...
  87. to get
  88. private function alias($className, $currentClass)
  89. {
  90. if ($className == 'Luracast\Restler\string') return;
  91. if ($className == 'Luracast\Restler\mixed') return;
  92. ...