Commit History

Author SHA1 Message Date
  Ivan Tcholakov 5cf040b518 [svn r21467] FS#306 - Reworking the functions api_get_language_isocode() and Database::get_language_isocode() for avoiding code duplication. Caching of the returned results has been added to avoid running repetitive sql-queries. 15 years ago
  Arthur Portugal 5847a1fec8 [svn r21460] Added new path 15 years ago
  Arthur Portugal f12107a40f [svn r21459] Update with all functions 15 years ago
  Arthur Portugal 7e1e36810f [svn r21458] Minor -Added documentation to the function query 15 years ago
  Arthur Portugal c1b54b6f19 [svn r21456] Minor - Added @param documentation 15 years ago
  Ricardo Rodriguez 2ef37a03d9 [svn r21454] Minor - created file test to blog.lib.php all function have been tested 15 years ago
  Ivan Tcholakov 1c5c1f3c8f [svn r21432] FS#306 - Adding the Microsoft's alias CP65001 within the function api_get_file_system_encoding() to be recognized as UTF-8. 15 years ago
  Ivan Tcholakov 986d6ddd51 [svn r21419] FS#306 - The installation script: Implementing a more adequate logic of picking character set depending on the choosen installation language. 15 years ago
  Ivan Tcholakov 83bef50300 [svn r21415] FS#306 - Removing previously introduced functions api_is_apache and api_is_iis(), they wont be needed. Introducing new functions in the multi-byte string library: api_initialize_internal_encoding($encoding), api_is_latin1_compatible(), api_get_latin1_compatible_languages(). Minor corrections for api_in_array_nocase() and api_refine_language_id(). Corrections in some comments. 15 years ago
  Ivan Tcholakov 348c4b1928 [svn r21413] FS#306 - The installation script has logic for guessing/choosing the encoding of its pages, which is Apache-specific. For improvement/upgrading this logic and for other web-server specific needs, two functions have been added in the main API for web-server detection - api_is_apache() and api_is_iis(). The detection condition have been taken from WordPress 2.8, http://wordpress.org, GNU/GPL 2. 15 years ago
  Ivan Tcholakov 45a564b5e5 [svn r21412] FS#306 - File uploader: Fixing the function add_ext_on_mime() properly to detect file extension presense on non-ASCII encoded file name. This, this function will not duplicate sometimes the file extension in its result. 15 years ago
  Ivan Tcholakov ff618015cb [svn r21411] FS#306 - The global initialization script: Commenting a duplicate code for initialization of the global variable $charset, to be removed. Offtopic: A minor correction within the table that serves the function add_ext_on_mime() - for 'text/html' MIME type the '.html' extension will be assigned instead of '.htm'. 15 years ago
  Yannick Warnier a9323448a5 [svn r21409] Fix sso_authent bug (only bug when enabling drupal-dokeos module) 15 years ago
  Isaac Flores 31244464a3 [svn r21407] Minor - changed function nth-child by eq in script jquery - (partial FS#3909) 15 years ago
  Ivan Tcholakov cb7dfe777b [svn r21406] FS#306 - Modification of the function replace_dangerous_char(). For Latin 1 platforms (ISO-8859-15, ISO-8859-1, WINDOWS-1252, ...) its behaviour has been preserved. For other platforms (including UTF-8) safe ASCII file names are generated through using transliteration. 15 years ago
  Ivan Tcholakov f943595f2a [svn r21405] FS#306 - The multi-byte string library: Adding the function api_is_latin1($encoding) for detection aliases of the Latin 1 character set - ISO-8859-15, ISO-8859-1, WINDOWS-1252, CP1252, ... . Typically this function will be needed for code that provides backward compatibility for Latin 1 Dokeos sites. 15 years ago
  Arthur Portugal 66a3c906bf [svn r21404] Added test case 15 years ago
  Isaac Flores bc430b11e3 [svn r21403] Minor - style changes - delete unnecessary divs(actions) - (partial FS#3909) 15 years ago
  Arthur Portugal 9f96efe3e7 [svn r21401] Changed assert array by numeric 15 years ago
  Ricardo Rodriguez 3958009d8e [svn r21400] Minor - created public function test with setUp() and tearDown() 15 years ago
  Arthur Portugal 7126e9c662 [svn r21399] Added all functions 15 years ago
  Ivan Tcholakov 511972892f [svn r21394] FS#306 - The multi-byte string library: Corrections in the comments about the transliteration function. Renaming a variable according to our rules. 15 years ago
  Patrick Cool 0c742d9a17 [svn r21393] bugfix: add addslashes() to prevent broken javascript 15 years ago
  Ivan Tcholakov 5ff36ef2ef [svn r21392] FS#306 - The multi-byte string library: Adding a function that performs transliteration from UTF-8 to ASCII. Adding also a required database with character replacements. The solution has been adapted from the source code of the Drupal's module "Transliteration", version 6.x-2.1, 09-JUN-2009. 15 years ago
  Ivan Tcholakov 2b4e07706d [svn r21389] FS#306 - Adding a boolen parameter $purified to the function api_get_interface_language(). For example, when $purified is true, the function will return 'french' onstead of 'french_unicode'. In certain cases we need such purified or refined language identificators. 15 years ago
  Arthur Portugal c1dce06109 [svn r21388] Added new test case Debug 15 years ago
  Arthur Portugal 0ae725b5b9 [svn r21387] Added test Debug 15 years ago
  Arthur Portugal 480638e867 [svn r21386] Add new test class manager with all functions 15 years ago
  Arthur Portugal 2466201750 [svn r21385] Minor - Added documentation 15 years ago
  Ricardo Rodriguez 2a028f06bb [svn r21384] Minor - add documentation to functions display_rating and display_rating_form 15 years ago