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,27 +2,17 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board 2.1.7
|
||||
| Invision Power Board
|
||||
| =============================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2005 Invision Power Services, Inc.
|
||||
| (c) 2001 - 2006 Invision Power Services, Inc.
|
||||
| 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)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2005-11-30 12:25:19 +0000 (Wed, 30 Nov 2005) $
|
||||
| > $Revision: 86 $
|
||||
| > $Date: 2006-09-22 11:28:54 +0100 (Fri, 22 Sep 2006) $
|
||||
| > $Revision: 567 $
|
||||
| > $Author: matt $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
@@ -159,15 +149,17 @@ class api_language extends api_core
|
||||
// Write output
|
||||
//-------------------------------
|
||||
|
||||
$start = "<?php\n\n";
|
||||
$start = "<?php\n\n".'$lang = array('."\n";
|
||||
|
||||
foreach( $lang as $key => $text)
|
||||
{
|
||||
$text = preg_replace("/\n{1,}$/", "", $text);
|
||||
$start .= "\n".'$lang['."'$key'".'] = "'.addslashes($text).'";';
|
||||
$text = stripslashes($text);
|
||||
$text = preg_replace( '/"/', '\\"', $text );
|
||||
$start .= "\n'".$key."' => \"".$text."\",";
|
||||
}
|
||||
|
||||
$start .= "\n\n?".">";
|
||||
$start .= "\n\n);\n\n?".">";
|
||||
|
||||
if ( $fh = fopen( $lang_file, 'w') )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user