diff options
author | rvelices <rv-github@modusoptimus.com> | 2007-10-05 22:46:10 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2007-10-05 22:46:10 +0000 |
commit | f045ffd1327e598e89605684f6ad8f4d408de12a (patch) | |
tree | 4849b5fb4e0f9a9c8d0a5a51c535da27a13695b2 /include/functions.inc.php | |
parent | c4a4ea480652d8589707667e678e2fb74982161c (diff) |
- remove str_translate_to_ascii7bits and lang_table_translate_ascii7bits
git-svn-id: http://piwigo.org/svn/trunk@2122 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r-- | include/functions.inc.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php index b58d67d78..a34215fd5 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -1115,24 +1115,6 @@ function l10n_args($key_args, $sep = "\n") } /** - * Translate string in string ascii7bits - * It's possible to do that with iconv_substr - * but this fonction is not avaible on all the providers. - * - * @param string str - * @return string - */ -function str_translate_to_ascii7bits($str) -{ - global $lang_table_translate_ascii7bits; - - $src_table = array_keys($lang_table_translate_ascii7bits); - $dst_table = array_values($lang_table_translate_ascii7bits); - - return str_replace($src_table , $dst_table, $str); -} - -/** * returns the corresponding value from $themeconf if existing. Else, the * key is returned * |