Changeset 15674 for trunk/modules
- Timestamp:
- 11/14/11 20:25:08 (6 months ago)
- Location:
- trunk/modules/boonex
- Files:
-
- 2 edited
-
english/install/data/langs/en.xml (modified) (1 diff)
-
forum/inc/util.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/boonex/english/install/data/langs/en.xml
r15664 r15674 2903 2903 <string name="_sys_uploader_html5_button_name"><![CDATA[Multiple Upload]]></string> 2904 2904 <string name="_sys_uploader_html5_shoose_file"><![CDATA[Select a file]]></string> 2905 <string name="_sys_uploader_html5_drop_area"><![CDATA[Drag and Drop files here to upload]]></string> 2905 <string name="_sys_uploader_html5_drop_area"><![CDATA[Drag and Drop files here to upload]]></string> 2906 <string name="_sys_grid_delete_failed"><![CDATA[Delete failed]]></string> 2907 <string name="_sys_grid_search"><![CDATA[Search...]]></string> 2908 <string name="_sys_grid_confirmation"><![CDATA[Are you sure?]]></string> 2906 2909 <string name="_sys_paginate_info"><![CDATA[{0}-{1}]]></string> 2907 2910 <string name="_sys_paginate_view_all"><![CDATA[View All]]></string> -
trunk/modules/boonex/forum/inc/util.inc.php
r15211 r15674 187 187 function unicode_urldecode($url) 188 188 { 189 preg_match_all('/%u([[:alnum:]]{4})/', $url, $a); 190 191 foreach ($a[1] as $uniord) 192 { 193 $dec = hexdec($uniord); 194 $utf = ''; 195 196 if ($dec < 128) 197 { 198 $utf = chr($dec); 199 } 200 else if ($dec < 2048) 201 { 202 $utf = chr(192 + (($dec - ($dec % 64)) / 64)); 203 $utf .= chr(128 + ($dec % 64)); 204 } 205 else 206 { 207 $utf = chr(224 + (($dec - ($dec % 4096)) / 4096)); 208 $utf .= chr(128 + ((($dec % 4096) - ($dec % 64)) / 64)); 209 $utf .= chr(128 + ($dec % 64)); 210 } 211 212 $url = str_replace('%u'.$uniord, $utf, $url); 213 } 214 215 return urldecode($url); 189 return bx_unicode_urldecode($url); 216 190 } 217 191
Note: See TracChangeset
for help on using the changeset viewer.