Laurent Destailleur
30cf3f2bda
Merge branch '5.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/compta/bank/class/account.class.php
htdocs/core/class/html.formfile.class.php
htdocs/core/lib/functions.lib.php
htdocs/filefunc.inc.php
htdocs/install/mysql/tables/llx_bank_account.sql
2017-05-11 00:03:06 +02:00
Laurent Destailleur
922fa088b4
Merge branch '4.0' of git@github.com:Dolibarr/dolibarr.git into 5.0
...
Conflicts:
htdocs/commande/class/commande.class.php
htdocs/core/boxes/box_services_expired.php
2017-05-10 23:47:33 +02:00
Laurent Destailleur
b2e9d4cc21
Merge branch '3.9' of git@github.com:Dolibarr/dolibarr.git into 4.0
2017-05-10 23:42:49 +02:00
jfefe
d410a320d7
WIP #6504 : CVE-2017-7886
...
'defaultlang' attribute was not filtered before database request which cause an SQL injection.
2017-05-10 20:32:54 +02:00
Laurent Destailleur
9fe28c9b2c
NEW Can disable all overwrote translations in one click.
2017-05-09 10:08:04 +02:00
Laurent Destailleur
885a636351
Debug new journal list page
2017-05-05 16:35:05 +02:00
Laurent Destailleur
436f60a784
FIX Cache to load currencies was not working when loading all currencies
2017-04-14 18:08:02 +02:00
Laurent Destailleur
39ebaec064
Replace usage of $bc[$var] with class="oddeven"
2017-04-14 11:22:48 +02:00
Laurent Destailleur
07c828d38f
Introduce method loadLangs to save code lines
2017-03-03 13:27:51 +01:00
Laurent Destailleur
53661e1e4f
Merge pull request #6211 from GPCsolutions/optimizetranslate
...
[Qual] Optimize language file loading
2017-02-03 11:55:29 +01:00
Laurent Destailleur
6ab9ba3284
Fix management of alternative language for Greek (el_CY)
2017-01-21 21:52:42 +01:00
Laurent Destailleur
3a2d9c8610
Fix for rtl languages
2017-01-21 16:12:25 +01:00
Raphaël Doursenaud
ac92e23b59
[Qual] Optimize language file loading
...
Using fscanf() and the proper format is about twice as fast as
using fgets() followed by explode() and trim().
This is a small optimization per se but since this code is
called often it yields about 33% rendering time improvement on
the homepage where about 50% of the time is spent on loading the
translation files.
2016-12-23 01:11:50 +01:00
Laurent Destailleur
d24045d831
NEW Editing translation GUI become easier with search translation tool.
2016-09-04 14:45:43 +02:00
Laurent Destailleur
8505c5db09
Code comment
2016-07-06 13:26:49 +02:00
Laurent Destailleur
5aa561598f
Fix exit into functions
2016-06-28 02:22:01 +02:00
Laurent Destailleur
e6a78739bd
Fix translation from a key that is a numeric
2016-05-19 21:12:09 +02:00
Laurent Destailleur
97bf91cc5d
Show both currency symbol and code
2016-04-30 14:09:00 +02:00
Laurent Destailleur
28b8258acb
Fix in most cases, we don't need translated value of languages, jsut
...
list of language code.
Fix cost price was not updated.
2016-02-23 19:50:33 +01:00
Laurent Destailleur
18725b554b
Option MAIN_REPLACE_TRANS_xx_XX is now completely implemented.
2015-10-19 13:23:45 +02:00
Laurent Destailleur
9f0c0bfc92
NEW Introduce hidden option MAIN_REPLACE_TRANS_xx_XX to allow simple
...
replacement of translated string on the fly.
2015-10-13 13:27:44 +02:00
Laurent Destailleur
b1168d223a
NEW Introduce table llx_overwrite_trans to be able to overwrite
...
translations by simple database edition.
2015-09-17 18:44:42 +02:00
Laurent Destailleur
8ff41a8ded
Enhance performance of option MAIN_OVERWRITE_TRANS_
2015-09-17 15:35:51 +02:00
Laurent Destailleur
0a6451d72c
Fix memcached effect was lost because init was done each time.
2015-09-07 20:17:05 +02:00
Laurent Destailleur
39cbd7629f
Fix error message during import
2015-08-27 23:49:25 +02:00
Laurent Destailleur
ae5b779652
Uniformize code
2015-06-30 01:34:17 +02:00
Raphaël Doursenaud
3f9270ea78
Qual: added deprecation hinting
...
Added deprecation hinting for class properties
Added syslog warning events for deprecated functions, methods and/or their parameters
Added hinting for some constants
2015-06-01 11:00:11 +02:00
Scrutinizer Auto-Fixer
27e99793a3
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-03-06 02:10:01 +00:00
Laurent Destailleur
608fa5eaed
Fix: Avoid to load language when we can not.
2014-11-12 10:25:56 +01:00
Laurent Destailleur
47ebe21f7b
Fix: Removed unused property
2014-11-11 23:38:56 +01:00
Laurent Destailleur
c8dd0383d8
New: Function getCurrencyAmount is marked as deprecated. Use function
...
price to output a price including currency symbol.
2014-10-16 01:26:44 +02:00
aspangaro
1a87d98357
Qual: Renamed table llx_c_civilite into llx_c_civility
...
field civilite into label in the same table and field civilite into civility in other table
2014-08-12 06:03:27 +02:00
Laurent Destailleur
4922071af9
New: When a translation is not available we always jump to en_US and
...
only en_US.
2014-08-08 10:50:37 +02:00
Laurent Destailleur
bb8ec0c8f9
Fix: Too many parameter
2014-08-01 14:26:13 +02:00
Marcos García de La Fuente
7e1cf124b8
Merge branch 'develop' into syslog
...
Conflicts:
htdocs/commande/class/commande.class.php
htdocs/compta/facture/class/facture.class.php
htdocs/core/class/commonobject.class.php
htdocs/fourn/class/fournisseur.commande.class.php
htdocs/product/class/product.class.php
htdocs/product/stock/lib/replenishment.lib.php
htdocs/societe/soc.php
2014-07-02 21:20:02 +02:00
Laurent Destailleur
2dc3e5b104
Fix: [ bug #1471 ] Several PHP warnings when intercepting USER_CREATE
...
trigger (Add a protection to avoid multiple errors).
2014-06-20 16:20:39 +02:00
Marcos García de La Fuente
56abf1cd72
Removed duplicated SQL error logging
2014-06-13 02:28:30 +02:00
Marcos García de La Fuente
ca0a6cb307
Removed SQL string from call debug log
2014-06-13 01:34:39 +02:00
Laurent Destailleur
15796ec592
Fix: checkstyle errors
2014-05-14 12:19:45 +02:00
Florian HENRY
1f1a9e46fd
Fix warning
2014-05-13 19:12:14 +02:00
Laurent Destailleur
c2c0a9b4bb
Merge pull request #1568 from GPCsolutions/closingtagremoval
...
Qual: Remove the closing PHP tag
2014-05-04 18:08:37 +02:00
Raphaël Doursenaud
f8f502d013
Removed closing php tag
...
http://php.net/manual/en/language.basic-syntax.phptags.php
2014-05-03 18:18:44 +02:00
Marcos García de La Fuente
105d892d27
Corrected Translate::getLabelFromKey doc
2014-05-03 13:42:34 +02:00
Laurent Destailleur
ee6cac8294
Doc
2014-05-01 16:11:29 +02:00
Raphaël Doursenaud
43606c8ac4
Qual: Fixed typo
2014-04-23 18:23:58 +02:00
Laurent Destailleur
b0e38f7619
Fix: Manage strange language code reported bu chrome browsers.
2013-10-11 10:01:47 +02:00
Maxime Kohlhaas
845deb9a63
Add multilang management in ODT models
2013-10-08 09:17:04 +02:00
Laurent Destailleur
7f660302e2
Fix: Inconsistency arrays into php function
2013-06-19 23:46:18 +02:00
Laurent Destailleur
bae17bc39b
Fix: Removed warning
2013-05-16 12:37:46 +02:00
Laurent Destailleur
df6c796413
Fix: [ bug #889 ] Titre civilité ne s'affiche
2013-05-12 17:09:48 +02:00