Commit Graph

81 Commits (594d410207aae5936892ff564236fce0f17ef6ac)

Author SHA1 Message Date
root 5b2ec4f888 permission commit + removes tests directory 15 years ago
Julio Montoya a4347cfb06 Adding a validation in the api_get_interface_language() file in order to check sub_language parent settings (firstname, lastname order) see BT#1598 15 years ago
Julio Montoya 4d97af9b84 Minor adding comment 15 years ago
Julio Montoya b4dd23c37b Adding validation to verify existence of an isocode when adding a new sub language + adding a function api_get_platform_isocodes() see #2492 15 years ago
Noel Dieschburg 409a1f0b06 Suppresses the test directory and sets the permission for production use 15 years ago
Julio Montoya 81b8608269 Replacing is_int to is_numeric to accept "numeric strings" 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
Juan Carlos Raña aaef46f149 more fix socialnetwork styles and update lang 15 years ago
Ivan Tcholakov f1474362cb Updating license information for the internationalization library. 15 years ago
Ivan Tcholakov 37544565b7 Feature #1768 - Restructuring code within the libraries for better serving the "Documents" tool. 15 years ago
Ivan Tcholakov e96d3641e5 Task #1761 - A minor change in the internationalozation library, inside the function api_detect_encoding_html(). 15 years ago
Yannick Warnier cf6c379ee4 Fixed problem with caching when using sub-languages (fixes CT#1304). Might have imply light performance degradation. To be watched. 16 years ago
Ivan Tcholakov e8234a4e31 Minor code simplification for the function get_lang(). 16 years ago
Ivan Tcholakov c5e36d049a Minor code cleaning for the function get_lang(). 16 years ago
Juan Carlos Raña 9adc76f893 clean and fix wiki security 16 years ago
Noel Dieschburg e6444dc928 Dummy permission commitx 16 years ago
Julio Montoya 6ed9d378dc Fixing variable name in function api_convert_and_format_date() 16 years ago
Ivan Tcholakov 3fc29d3e55 Feature #272 - Speeding up the function api_get_system_encoding(). 16 years ago
Ivan Tcholakov 957cf627c3 Feature #272: Internationalization library: Some internal default values have been changed from ISO-8859-15 to UTF-8. 16 years ago
Ivan Tcholakov 32bea653bf Task #272: Internationalization library: Removing a comment about PHP6 that maybe is not actual anymore. 16 years ago
Ivan Tcholakov c44fae9024 Bug #904 - Suppressing fatal errors in some timezone related functions when Chamilo runs on PHP < 5.2. 16 years ago
Carlos Vargas dc5871f762 improve date format 16 years ago
Ivan Tcholakov 88ecb24897 Task #272: Trying to fix a reported in a private message Fatal error: Class 'IntlDateFormatter' not found in C:\xampp\htdocs\chamilo\main\inc\lib\internationalization.lib.php on line 570 16 years ago
Ivan Tcholakov 18a568d139 Feature #272 - api_detect_encoding() has been reworked for successfull detection of "broken" UTF-8 texts as UTF-8. A test for this case has been added. 16 years ago
Ivan Tcholakov 8f19fb9fbc Feature #272 - Reverting the previous detection of "broken" UTF-8, it does not work well, reworked code should be tried. 16 years ago
Ivan Tcholakov 6df851bf20 Feature #272 - Internationalization library: A change for correct detection of "broken" UTF-8 texts as UTF-8. 16 years ago
Ivan Tcholakov 55aa7d719e Feature #272 - Internationalization library: Correction in the function api_fgetcsv(), removing "\r" or "\n" characters at the end of the processed line. 16 years ago
Ivan Tcholakov 49306a1050 Feature #272 - Internationalization library: Additional reworks and corrections about the functions get_lang() and api_is_translated(). 16 years ago
Ivan Tcholakov 88f83fb47b Feature #272 - Internationalization lubrary: A minor correction. 16 years ago
Ivan Tcholakov 4848eeda18 Feature #272 - Internationalization lubrary: Adding a new function api_is_translated(). 16 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. 16 years ago
Guillaume Viguier 4ba627cba5 Date and time management - got rid of DATE_FORMAT_LONG_WITHOUT_DAY - Chamilo - CT#696 16 years ago
Guillaume Viguier 3aa8a5b8f4 Date and time management - Chamilo - CT#696 16 years ago
Cristian Fasanando 137e3d93f1 minor - fixed formatted date with api_format_date function 16 years ago
Guillaume Viguier 7afd8c72d2 Dates refactoring - Chamilo - CT#696 16 years ago
Ivan Tcholakov d63e8ef1cd Feature #272 - The internationalization library: Making the date/time formatting functions more convenient for use. 16 years ago
Ivan Tcholakov 3aa3213d6b Feature 272 - A workaround: Creation of a new function for formatting long dates, it should work on PHP 5.2.x and PHP 5.3+. 16 years ago
Ivan Tcholakov 7f763d4188 Feature #272 - A new function api_detect_encoding_html() has been added in the internationalization library. A test for this function has been created. 16 years ago
Ivan Tcholakov 364a373bdb Feature #347 - Applying some coding rules for the internationalization library. 16 years ago
Julio Montoya 67c3626ef0 Deleting ==== from heades adding license text 16 years ago
Ivan Tcholakov e42f24dfac Feature #272 - Minor changes in the internationalization library. 16 years ago
Ivan Tcholakov f4846b5d44 Feature #272 - An insignificant change in the internationalization library. 16 years ago
Ivan Tcholakov 02d9c8a694 Feature #272 - Reworks for some functions to make them stable against non-string input parameters. 16 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. 16 years ago
Ivan Tcholakov 960c4c463b Feature #272 - Installation scripts: Testing new installation procedure, minor corrections. 16 years ago
Ivan Tcholakov 45bc777651 Feature #347 - System libraries: Removing the parameters __FILE__ and __LINE__ in the Database::query() calls. 16 years ago
Ivan Tcholakov 4260f29b98 Feature #272 - A new customized function api_html_to_text() for stripping html-tags has been added in the internationalization library. 16 years ago
Ivan Tcholakov a5d9abff6b Feature #272 - A comment has been updated in the internationalization library. 16 years ago
Ivan Tcholakov 85f1a4f977 Feature #272 - The PHP function fgetcsv() depends on the OS locale setting. When the file system encoding is different than the encoding of the CSV-file, then the imported data is damaged. For solving this problem, two new functions have been introduced in the internationalization library - api_str_getcsv() and api_fgetcsv(). 16 years ago