From 5f23fa1473dbbaacd9a6e76db255ac8378301e6f Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 4 Sep 2012 20:04:34 +0000 Subject: =?UTF-8?q?merge=20-r17748=20from=20trunk=20to=20branch=202.4=20?= =?UTF-8?q?=20bug=202735:=20fix/improve=20non=20latin=20language=20tags=20?= =?UTF-8?q?a.=20non=20latin=20tags=20(greek/cyrillic...)=20are=20not=20sor?= =?UTF-8?q?ted=20case-insesitive=20and=20group=20by=20letter=20view=20in?= =?UTF-8?q?=20tag=20list=20is=20not=20case=20insesitive=20b.=20quick=20sea?= =?UTF-8?q?rching=20tag=20names=20does=20not=20perform=20correctly=20accen?= =?UTF-8?q?t=20folding=20(e.g.=20K=C3=B6ln=20and=20Koln=20do=20not=20match?= =?UTF-8?q?)=20and=20case=20insesitivity=20for=20non=20latin=20letters=20c?= =?UTF-8?q?.=20missing=20from=20remove=5Faccents=20characters=20in=20roman?= =?UTF-8?q?ian=20language=20(Latin=20Extended-B)=20=20=20=3F=20c8=2098=20?= =?UTF-8?q?=3D=20LATIN=20CAPITAL=20LETTER=20S=20WITH=20COMMA=20BELOW=20=20?= =?UTF-8?q?=20=3F=20c8=2099=20=3D=20LATIN=20SMALL=20LETTER=20S=20WITH=20CO?= =?UTF-8?q?MMA=20BELOW=20=20=20=3F=20c8=209a=20=3D=20LATIN=20CAPITAL=20LET?= =?UTF-8?q?TER=20T=20WITH=20COMMA=20BELOW=20=20=20=3F=20c8=209b=20=3D=20LA?= =?UTF-8?q?TIN=20SMALL=20LETTER=20T=20WITH=20COMMA=20BELOW=20d.=20str2url?= =?UTF-8?q?=20allow=20non=20latin=20letters=20in=20output=20only=20if=20th?= =?UTF-8?q?e=20input=20does=20not=20contain=20any=20valid=20lating=20lette?= =?UTF-8?q?r/digit.=20we=20should=20always=20allow=20non=20latin=20letters?= =?UTF-8?q?=20in=20output?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://piwigo.org/svn/branches/2.4@17749 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_search.inc.php | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'include/functions_search.inc.php') 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; -- cgit v1.2.3