diff options
author | rvelices <rv-github@modusoptimus.com> | 2012-09-04 20:04:34 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2012-09-04 20:04:34 +0000 |
commit | 5f23fa1473dbbaacd9a6e76db255ac8378301e6f (patch) | |
tree | 93102ce6bc4db08a248f7531bed05faf842e62d3 /include/functions_search.inc.php | |
parent | d0be895700ca5137717768809bd303fbca86b250 (diff) |
merge -r17748 from trunk to branch 2.4 bug 2735: fix/improve non latin language tags
a. non latin tags (greek/cyrillic...) are not sorted case-insesitive and group by letter view in tag list is not case insesitive
b. quick searching tag names does not perform correctly accent folding (e.g. Köln and Koln do not match) and case insesitivity for non latin letters
c. missing from remove_accents characters in romanian language (Latin Extended-B)
? c8 98 = LATIN CAPITAL LETTER S WITH COMMA BELOW
? c8 99 = LATIN SMALL LETTER S WITH COMMA BELOW
? c8 9a = LATIN CAPITAL LETTER T WITH COMMA BELOW
? c8 9b = LATIN SMALL LETTER T WITH COMMA BELOW
d. str2url allow non latin letters in output only if the input does not contain any valid lating letter/digit. we should always allow non latin letters in output
git-svn-id: http://piwigo.org/svn/branches/2.4@17749 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_search.inc.php')
-rw-r--r-- | include/functions_search.inc.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/functions_search.inc.php b/include/functions_search.inc.php index f25cd4670..db54dc767 100644 --- a/include/functions_search.inc.php +++ b/include/functions_search.inc.php @@ -266,21 +266,6 @@ SELECT DISTINCT(id) } -if (function_exists('mb_strtolower')) -{ - function transliterate($term) - { - return remove_accents( mb_strtolower($term) ); - } -} -else -{ - function transliterate($term) - { - return remove_accents( strtolower($term) ); - } -} - function is_word_char($ch) { return ($ch>='0' && $ch<='9') || ($ch>='a' && $ch<='z') || ($ch>='A' && $ch<='Z') || ord($ch)>127; |