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,23 +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
|
||||
| INVISION POWER BOARD IS NOT FREE SOFTWARE!
|
||||
| http://www.invisionboard.com
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > CP "MYCP" PAGE CLASS
|
||||
@@ -30,7 +22,7 @@
|
||||
|
||||
if ( ! defined( 'IN_ACP' ) )
|
||||
{
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -52,7 +44,7 @@ class acp_admin
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
var $section_title = "Àäìèíèñòðèðîâàíèå";
|
||||
var $section_title = "Admin";
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CONSTRUCTOR
|
||||
@@ -69,7 +61,7 @@ class acp_admin
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
$this->ipsclass->html_title = "IPB: Àäìèíèñòðèðîâàíèå";
|
||||
$this->ipsclass->html_title = "IPB: Administration";
|
||||
|
||||
$another_choice = array(
|
||||
'idx' => 'index',
|
||||
@@ -83,10 +75,12 @@ class acp_admin
|
||||
'emailerror'=> 'emailerror',
|
||||
'components'=> 'components',
|
||||
'acpperms' => 'acppermissions',
|
||||
'diag' => 'diagnostics',
|
||||
'loginlog' => 'logs_login',
|
||||
'security' => 'security',
|
||||
);
|
||||
|
||||
if ( ! $another_choice[ $this->ipsclass->input['act'] ] )
|
||||
if ( !isset($this->ipsclass->input['act']) OR !isset($another_choice[ $this->ipsclass->input['act'] ]) OR !$another_choice[ $this->ipsclass->input['act'] ] )
|
||||
{
|
||||
$this->ipsclass->input['act'] = 'idx';
|
||||
}
|
||||
@@ -114,11 +108,6 @@ class acp_admin
|
||||
$runmeagain->ipsclass =& $this->ipsclass;
|
||||
$runmeagain->auto_run();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user