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-10-10 14:08:54 +0100 (Mon, 10 Oct 2005) $
|
||||
| > $Revision: 23 $
|
||||
| > $Date: 2006-09-22 11:28:54 +0100 (Fri, 22 Sep 2006) $
|
||||
| > $Revision: 567 $
|
||||
| > $Author: matt $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
@@ -34,6 +24,11 @@
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class post_parser {
|
||||
|
||||
@@ -90,6 +85,8 @@ class post_parser {
|
||||
$ibforums->cache['emoticons'][] = $r;
|
||||
}
|
||||
|
||||
usort( $ibforums->cache['emoticons'] , array( 'post_parser', 'smilie_length_sort' ) );
|
||||
|
||||
if ( $load )
|
||||
{
|
||||
$std->update_cache( array( 'name' => 'emoticons', 'array' => 1, 'deletefirst' => 1 ) );
|
||||
@@ -126,6 +123,8 @@ class post_parser {
|
||||
$ibforums->cache['badwords'][] = $r;
|
||||
}
|
||||
|
||||
usort( $ibforums->cache['emoticons'] , array( 'post_parser', 'word_length_sort' ) );
|
||||
|
||||
if ( $load )
|
||||
{
|
||||
$std->update_cache( array( 'name' => 'badwords', 'array' => 1, 'deletefirst' => 1 ) );
|
||||
@@ -860,8 +859,8 @@ class post_parser {
|
||||
global $ibforums;
|
||||
|
||||
$used = array(
|
||||
'quote' => array( 'title' => 'Öèòàòà', 'css_top' => 'quotetop' , 'css_main' => 'quotemain' ),
|
||||
'code' => array( 'title' => 'Èñõîäíûé êîä' , 'css_top' => 'codetop' , 'css_main' => 'codemain' ),
|
||||
'quote' => array( 'title' => 'QUOTE', 'css_top' => 'quotetop' , 'css_main' => 'quotemain' ),
|
||||
'code' => array( 'title' => 'CODE' , 'css_top' => 'codetop' , 'css_main' => 'codemain' ),
|
||||
'sql' => array( 'title' => 'SQL' , 'css_top' => 'sqltop' , 'css_main' => 'sqlmain' ),
|
||||
'html' => array( 'title' => 'HTML' , 'css_top' => 'htmltop' , 'css_main' => 'htmlmain' )
|
||||
);
|
||||
@@ -1308,7 +1307,7 @@ class post_parser {
|
||||
|
||||
$url = str_replace( " ", "%20", $url );
|
||||
|
||||
return "<img src='$url' border='0' alt='îïóáëèêîâàííîå ïîëüçîâàòåëåì èçîáðàæåíèå' />";
|
||||
return "<img src='$url' border='0' alt='user posted image' />";
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user