Version 2.2.2

This commit is contained in:
Neo committed 2025-12-19 00:24:35 -08:00
1 parent 22f1b963ee
commit a3bb603c96
858 files changed
+479463 -188140

No files matched your search

+27 -6
View File
@@ -2,18 +2,28 @@
/*
+--------------------------------------------------------------------------
| Invision Power Board
| Invision Power Board 2.2.2
| =============================================
| by Matthew Mecham
| (c) 2001 - 2006 Invision Power Services, Inc.
| http://www.invisionpower.com
| =============================================
| Web: http://www.invisionboard.com
| http://www.ibresource.ru/products/invisionpowerboard/
| Time: Monday 05th of March 2007 10:10:54 PM
| Release: e3790216629e5a2aaf37070b32237f06
| Licence Info: http://www.invisionboard.com/?license
| http://www.ibresource.ru/license
+---------------------------------------------------------------------------
| > $Date: 2006-09-28 16:17:26 +0100 (Thu, 28 Sep 2006) $
| > $Revision: 586 $
| > $Author: matt $
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
+---------------------------------------------------------------------------
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
+---------------------------------------------------------------------------
| > $Date: 2006-11-21 13:35:57 -0600 (Tue, 21 Nov 2006) $
| > $Revision: 737 $
| > $Author: bfarber $
+---------------------------------------------------------------------------
|
| > Warning Module
@@ -28,7 +38,7 @@
if ( ! defined( 'IN_IPB' ) )
{
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
exit();
}
@@ -502,8 +512,15 @@ class warn {
// Contacting the member?
//-----------------------------------------
if ( $this->ipsclass->input['contact'] != "" )
// RTE likes to add <br /> when there is nothing
$test_content = $this->ipsclass->my_br2nl( str_replace( "&lt;", "<", str_replace( "&gt;", ">", $this->ipsclass->input['contact'] ) ) );
$test_content = trim($test_content);
if ( $test_content != "" )
{
unset($test_content);
if ( $this->han_editor->method == 'rte' )
{
$this->ipsclass->input['contact'] = $this->han_editor->process_raw_post( 'contact' );
@@ -572,6 +589,10 @@ class warn {
}
}
}
else
{
unset($test_content);
}
//-----------------------------------------
// Right - is we banned or wha?