Changeset 2122 for trunk/include
- Timestamp:
- Oct 6, 2007, 12:46:10 AM (17 years ago)
- Location:
- trunk/include
- Files:
-
- 2 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 -
trunk/include/functions_mail.inc.php
r2121 r2122 107 107 if ($cvt_name!="") 108 108 { 109 $cvt_name = encode_mime_header('"'.$cvt_name.'"').' '; 109 $cvt_name = encode_mime_header( 110 '"' 111 .addcslashes($cvt_name,'"') 112 .'"'); 113 $cvt_name .= ' '; 110 114 } 111 115
Note: See TracChangeset
for help on using the changeset viewer.