Changeset 2122 for trunk/include/functions.inc.php
- Timestamp:
- Oct 6, 2007, 12:46:10 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r2089 r2122 1116 1116 1117 1117 /** 1118 * Translate string in string ascii7bits1119 * It's possible to do that with iconv_substr1120 * but this fonction is not avaible on all the providers.1121 *1122 * @param string str1123 * @return string1124 */1125 function str_translate_to_ascii7bits($str)1126 {1127 global $lang_table_translate_ascii7bits;1128 1129 $src_table = array_keys($lang_table_translate_ascii7bits);1130 $dst_table = array_values($lang_table_translate_ascii7bits);1131 1132 return str_replace($src_table , $dst_table, $str);1133 }1134 1135 /**1136 1118 * returns the corresponding value from $themeconf if existing. Else, the 1137 1119 * key is returned
Note: See TracChangeset
for help on using the changeset viewer.