Version 2.3.6
This commit is contained in:
1 parent
a3bb603c96
commit
19b38c7c74
764 files changed
+143731
-118164
No files matched your search
@@ -1,28 +1,18 @@
|
||||
<?php
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board 2.2.2
|
||||
| Invision Power Board
|
||||
| =============================================
|
||||
| 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
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-12-04 10:31:02 -0600 (Mon, 04 Dec 2006) $
|
||||
| > $Revision: 757 $
|
||||
| > $Author: matt $
|
||||
| > $Date: 2007-12-17 18:07:20 -0500 (Mon, 17 Dec 2007) $
|
||||
| > $Revision: 1149 $
|
||||
| > $Author: bfarber $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > FORUMS CLASS
|
||||
@@ -36,7 +26,7 @@
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -611,6 +601,11 @@ class forum_functions
|
||||
$forum_data['last_poster_id'] = $data['last_poster_id'];
|
||||
$forum_data['last_poster_name'] = $data['last_poster_name'];
|
||||
|
||||
if( !$forum_data['last_poster_id'] )
|
||||
{
|
||||
$forum_data['last_poster_name'] = $this->ipsclass->vars['guest_name_pre'] . $forum_data['last_poster_name'] . $this->ipsclass->vars['guest_name_suf'];
|
||||
}
|
||||
|
||||
# Bug http://forums.invisionpower.com/index.php?autocom=bugtracker&code=show_bug&bug_title_id=3931&bug_cat_id=3
|
||||
#$forum_data['status'] = $data['status'];
|
||||
|
||||
@@ -875,7 +870,7 @@ class forum_functions
|
||||
if ( isset($forum_data['last_poster_name']))
|
||||
{
|
||||
$forum_data['last_poster'] = $forum_data['last_poster_id'] ? "<a href='{$this->ipsclass->base_url}showuser={$forum_data['last_poster_id']}'>{$forum_data['last_poster_name']}</a>"
|
||||
: $forum_data['last_poster_name'];
|
||||
: $this->ipsclass->vars['guest_name_pre'] . $forum_data['last_poster_name'] . $this->ipsclass->vars['guest_name_suf'];
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -893,7 +888,7 @@ class forum_functions
|
||||
|
||||
if ( $this->ipsclass->vars['disable_subforum_show'] == 0 AND $show_subforums == 1 )
|
||||
{
|
||||
if ( is_array( $forum_data['subforums'] ) and count( $forum_data['subforums'] ) )
|
||||
if ( isset($forum_data['subforums']) and is_array( $forum_data['subforums'] ) and count( $forum_data['subforums'] ) )
|
||||
{
|
||||
$forum_data['show_subforums'] = $this->ipsclass->compiled_templates['skin_boards']->show_subforum_all_links( implode( ', ', $forum_data['subforums'] ) );
|
||||
}
|
||||
@@ -930,7 +925,7 @@ class forum_functions
|
||||
{
|
||||
$sub = 1;
|
||||
}
|
||||
|
||||
|
||||
$fid = $forum_data['fid'] == "" ? $forum_data['id'] : $forum_data['fid'];
|
||||
|
||||
# Uncomment if you want to clear markers from the last visit.
|
||||
|
||||
Reference in new issue
Block a user