HomeHelpTrac

Changeset 15674 for trunk/modules


Ignore:
Timestamp:
11/14/11 20:25:08 (6 months ago)
Author:
Alexander Trofimov
Message:

Grid

Location:
trunk/modules/boonex
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/boonex/english/install/data/langs/en.xml

    r15664 r15674  
    29032903    <string name="_sys_uploader_html5_button_name"><![CDATA[Multiple Upload]]></string> 
    29042904    <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> 
    29062909    <string name="_sys_paginate_info"><![CDATA[{0}-{1}]]></string> 
    29072910    <string name="_sys_paginate_view_all"><![CDATA[View All]]></string> 
  • trunk/modules/boonex/forum/inc/util.inc.php

    r15211 r15674  
    187187function unicode_urldecode($url) 
    188188{ 
    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); 
    216190} 
    217191 
Note: See TracChangeset for help on using the changeset viewer.