Version 2.2.0 RC-1

This commit is contained in:
Neo committed 2025-12-19 00:22:37 -08:00
1 parent f73f8bff6d
commit 22f1b963ee
1034 files changed
+178610 -70897

No files matched your search

+10 -18
View File
@@ -2,28 +2,18 @@
/*
+--------------------------------------------------------------------------
| 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: 2006-02-01 18:16:26 +0000 (Wed, 01 Feb 2006) $
| > $Revision: 132 $
| > $Author: bfarber $
| > $Date: 2006-09-22 11:28:54 +0100 (Fri, 22 Sep 2006) $
| > $Revision: 567 $
| > $Author: matt $
+---------------------------------------------------------------------------
|
| > API: Topics and Posts
@@ -201,6 +191,7 @@ class api_topics_and_posts extends api_core
'is_invisible' => 0,
'post_date' => 0,
'ip_address' => 0,
'post_htmlstate' => 0,
'parse_html' => 0 );
/**
@@ -367,7 +358,7 @@ class api_topics_and_posts extends api_core
'author_name' => $this->author['members_display_name'],
'topic_id' => $this->topic_id,
'queued' => $this->post_settings['is_invisible'],
'post_htmlstate' => 0,
'post_htmlstate' => $this->post_settings['post_htmlstate'],
'post_key' => md5( time() ),
);
@@ -545,7 +536,7 @@ class api_topics_and_posts extends api_core
{
$this->author = $this->ipsclass->DB->build_and_exec_query( array( 'select' => '*',
'from' => 'members',
'where' => "LOWER(name) = '".$this->ipsclass->DB->add_slashes(strtolower($user_name))."'",
'where' => "members_l_username = '".$this->ipsclass->DB->add_slashes(strtolower($user_name))."'",
'limit' => array( 0, 1 ) ) );
if ( ! $this->author['id'] )
@@ -597,7 +588,7 @@ class api_topics_and_posts extends api_core
{
$this->author = $this->ipsclass->DB->build_and_exec_query( array( 'select' => '*',
'from' => 'members',
'where' => "LOWER(members_display_name) = '".$this->ipsclass->DB->add_slashes(strtolower($display_name))."'",
'where' => "members_l_display_name = '".$this->ipsclass->DB->add_slashes(strtolower($display_name))."'",
'limit' => array( 0, 1 ) ) );
if ( ! $this->author['id'] )
@@ -755,6 +746,7 @@ class api_topics_and_posts extends api_core
require_once( ROOT_PATH."sources/classes/editor/class_editor_rte.php" );
$this->editor = new class_editor_module();
$this->editor->ipsclass =& $this->ipsclass;
$this->editor->allow_html = $this->post_settings['parse_html'];
}
//-----------------------------------------