Version 2.2.0 RC-1
This commit is contained in:
1 parent
f73f8bff6d
commit
22f1b963ee
1034 files changed
+178610
-70897
No files matched your search
@@ -2,24 +2,15 @@
|
||||
|
||||
/*
|
||||
+---------------------------------------------------------------------------
|
||||
| Invision Power Board 2.1.7
|
||||
| =============================================
|
||||
| Invision Power Board
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2005 Invision Power Services, Inc.
|
||||
| (c) 2004 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| =============================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| http://www.ibresource.ru/products/invisionpowerboard/
|
||||
| Time: Tuesday 18th of July 2006 05:56:00 PM
|
||||
| Release: 52f408a29988b02f45b5e6f4ba5af0ae
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
| http://www.ibresource.ru/license
|
||||
| ========================================
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
| INVISION POWER BOARD IS NOT FREE SOFTWARE!
|
||||
| http://www.invisionboard.com
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > CONVERT CHAR SET FUNCTIONS (Simple, light parser)
|
||||
@@ -110,11 +101,16 @@ class class_convert_charset
|
||||
return;
|
||||
}
|
||||
|
||||
if( !$t OR $t == '' )
|
||||
{
|
||||
return $string;
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Do the convert
|
||||
// Do the convert - internally..
|
||||
//-----------------------------------------
|
||||
|
||||
if ( function_exists( 'mb_convert_encoding' ) )
|
||||
/*if ( function_exists( 'mb_convert_encoding' ) )
|
||||
{
|
||||
$text = mb_convert_encoding( $string, $destination_char_set, $string_char_set );
|
||||
}
|
||||
@@ -127,11 +123,11 @@ class class_convert_charset
|
||||
$text = iconv( $string_char_set, $destination_char_set.'//TRANSLIT', $string);
|
||||
}
|
||||
else
|
||||
{
|
||||
{*/
|
||||
require_once( IPS_CLASSES_PATH . '/i18n/convertcharset/ConvertCharset.class.php' );
|
||||
$convert = new ConvertCharset();
|
||||
$text = $convert->Convert($string, $string_char_set, $destination_char_set, false );
|
||||
}
|
||||
//}
|
||||
|
||||
return $text ? $text : $t;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user