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) 2001 - 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
|
||||
| Email: matt@invisionpower.com
|
||||
| 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)
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IPB Portal Core Module
|
||||
@@ -98,7 +89,7 @@ class portal
|
||||
// Get settings...
|
||||
//-----------------------------------------
|
||||
|
||||
foreach( $this->ipsclass->cache['portal'] as $portal_key => $portal_data )
|
||||
foreach( $this->ipsclass->cache['portal'] as $portal_data )
|
||||
{
|
||||
if ( $portal_data['pc_settings_keyword'] )
|
||||
{
|
||||
@@ -156,8 +147,7 @@ class portal
|
||||
|
||||
if ( ! $this->ipsclass->vars['csite_on'] )
|
||||
{
|
||||
print "Ïîðòàë îòêëþ÷åí. Ïîæàëóéñòà ïðîâåðüòå âàøè íàñòðîéêè â àäìèíöåíòðå";
|
||||
exit();
|
||||
$this->ipsclass->Error( array( 'LEVEL' => 1, 'MSG' => 'csite_not_enabled') );
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
@@ -180,9 +170,10 @@ class portal
|
||||
|
||||
//-----------------------------------------
|
||||
// Get forums we're allowed to read
|
||||
// - Use forum cache incase we have NO perms
|
||||
//-----------------------------------------
|
||||
|
||||
foreach( $this->ipsclass->forums->forum_by_id as $id => $f )
|
||||
foreach( $this->ipsclass->cache['forum_cache'] as $f )
|
||||
{
|
||||
if ( ($this->ipsclass->check_perms($f['read_perms']) != TRUE) or ($f['password'] != "" ) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user