Commit Graph

31 Commits (90652cc7972fc41d7da529b5f092c56f06f05070)

Author SHA1 Message Date
ywarnier 603e8d15b8 Minor - Fixed typos in variable names 14 years ago
Yannick Warnier 889ac0304f Minor - Adapting code comments to phpdoc 14 years ago
root 5b2ec4f888 permission commit + removes tests directory 14 years ago
Noel Dieschburg 409a1f0b06 Suppresses the test directory and sets the permission for production use 15 years ago
Ivan Tcholakov fdcb66faaf Task #1765 - Some functions related to xml-processing have been moved to the library text.lib.php. 15 years ago
Ivan Tcholakov 63a60aad0a Task #1765 - Tabs conversion to spaces in some files. 15 years ago
Ivan Tcholakov f1474362cb Updating license information for the internationalization library. 15 years ago
Ivan Tcholakov e4ce4078f5 A correction in the internationalization library. 15 years ago
Noel Dieschburg e6444dc928 Dummy permission commitx 15 years ago
Ivan Tcholakov 957cf627c3 Feature #272: Internationalization library: Some internal default values have been changed from ISO-8859-15 to UTF-8. 15 years ago
Ivan Tcholakov 93d1d9e25d Tasks #272 and #605 - Intrnationalization library: The function get_lang() has been rewoked. Suggestion links to the former language translation tool are not shown anymore. Code has been simplified. The current tool "Chamilo Translation Application" produces UTF-8 strings, so dynamic string purification is no more needed. 15 years ago
Ivan Tcholakov 364a373bdb Feature #347 - Applying some coding rules for the internationalization library. 15 years ago
Ivan Tcholakov 02d9c8a694 Feature #272 - Reworks for some functions to make them stable against non-string input parameters. 15 years ago
Ivan Tcholakov af63dfa703 Feature #272 - Fixing a bug in the internationalization library. The bug appeared when mbstring was not installed. The symptom: api_htmlentities() returned empty result when the input parameter wasn't string-type. 15 years ago
Ivan Tcholakov 45bc777651 Feature #347 - System libraries: Removing the parameters __FILE__ and __LINE__ in the Database::query() calls. 15 years ago
Ivan Tcholakov ceac02e510 Feature #272 - The internationalization library: A minor change about the function api_get_language_isocode(), a new optional parameter has been added. 15 years ago
Ivan Tcholakov c923639275 Feature #272 - The intenationalization library: Adding code for language and encoding detection support. 15 years ago
cvargas e969a4161a merge 16 years ago
Ivan Tcholakov a8962d7cd1 Feature #306 - Upgrading the function api_get_person_name(), now it can turn to upercase selected parts or all name parts. 16 years ago
Ivan Tcholakov aa41e35567 Feature #306 - Line endigs cohrrence, Part 2: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 16 years ago
Ivan Tcholakov 877e78510f Feature #306 - Adding a sanity check in api_get_language_isocode() for Database class presense (whether it is loaded). 16 years ago
Yannick Warnier 47022680ce Accept gzopen64() too as a test of the zlib extension load 16 years ago
Ivan Tcholakov df06189daf Feature #306 - The internationalization library: The function api_refine_language_id() ahs been renamed as api_purify_language_id(). I hope, the new name is more understandable. 16 years ago
Ivan Tcholakov 7409c475af Feature #306 - Fixing logic about encoding aliases recognition in the internationalization library. 16 years ago
Ivan Tcholakov cf200bcdee Feature #306 - Optimization of the function get_lang(). 16 years ago
Ivan Tcholakov ff6f2e3984 Feature #306 - The internationalization library: Minor, cosmetic changes. 16 years ago
Ivan Tcholakov 91f2b784f6 Feature #306 - It is all about internationalization: Moving code form the multibyte string library (which is removed as of now) to the internationalization library. 16 years ago
Ivan Tcholakov 88fffff15f Issue #306 - Cleaning trailing whitespace in some files. 16 years ago
Ivan Tcholakov 7a02b21ed9 Bug #3646 and Issue #306 - Internationalization library: Adding posibility to set sorting persons' full names independently for the name order convention, people's preferencies might differ. So, a new function api_sort_by_first_name() has been added. The table in the file name_order_conventions.php has been reworked to maintain the new name-sorting option for every language. 16 years ago
Ivan Tcholakov 0a0e7f66c7 Bug #3646 and Issue #306 - The functions api_get_person_name() and api_is_western_name_order() have been reworked (optimizations + title to person name support). The function api_get_person_name() has been made similar to the implementation Display::user_name() by Carlos Vargas, a good idea. I suggest we to deprecate Display::user_name(). The internationalization library is a better place for such a feature, I think. 16 years ago
Ivan Tcholakov ccaf540550 Issue #306 - The internationalization library: Creation of two functions api_is_western_name_order() and api_get_person_name() for maintaining the conventions for full person name constructed from the first name and the last name. The functions are documented and stable, developers may freely use them. 16 years ago
Ivan Tcholakov 2392071769 Issue #306 - Moving the functions get_lang() and api_get_interface_language() to the internationalization library. 16 years ago
Ivan Tcholakov 0cb59eb5a7 Issue #306 - Adding a new library about internationalization issues. Currently it contains routines for date/time formatting. 16 years ago