Version 2.3.6
This commit is contained in:
1 parent
a3bb603c96
commit
19b38c7c74
764 files changed
+143731
-118164
No files matched your search
@@ -2,25 +2,17 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| 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 ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-11-15 16:28:37 -0600 (Wed, 15 Nov 2006) $
|
||||
| > $Revision: 730 $
|
||||
| > $Date: 2008-01-21 17:34:24 -0500 (Mon, 21 Jan 2008) $
|
||||
| > $Revision: 1169 $
|
||||
| > $Author: bfarber $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
@@ -33,8 +25,8 @@
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
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();
|
||||
}
|
||||
|
||||
class han_editor
|
||||
@@ -192,11 +184,99 @@ class han_editor
|
||||
$this->class_editor->allow_unicode = $this->ipsclass->allow_unicode;
|
||||
$this->class_editor->get_magic_quotes = $this->ipsclass->get_magic_quotes;
|
||||
|
||||
//-----------------------------------------
|
||||
// Load lang file
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->load_language( 'lang_editors' );
|
||||
|
||||
//-----------------------------------------
|
||||
// Get the smilies from the DB
|
||||
//-----------------------------------------
|
||||
|
||||
if ( ! is_array( $this->ipsclass->cache['emoticons'] ) )
|
||||
{
|
||||
$this->ipsclass->cache['emoticons'] = array();
|
||||
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => 'typed,image,clickable,emo_set', 'from' => 'emoticons' ) );
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
while ( $r = $this->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$this->ipsclass->cache['emoticons'][] = $r;
|
||||
}
|
||||
|
||||
@usort( $this->ipsclass->cache['emoticons'] , array( 'class_bbcode_core', 'smilie_alpha_sort' ) );
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// BBCode
|
||||
//-----------------------------------------
|
||||
|
||||
if ( ! is_array( $this->ipsclass->cache['bbcode'] ) )
|
||||
{
|
||||
$this->ipsclass->cache['bbcode'] = array();
|
||||
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => '*', 'from' => 'custom_bbcode' ) );
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
while ( $r = $this->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$this->ipsclass->cache['bbcode'][] = $r;
|
||||
}
|
||||
|
||||
@usort( $this->ipsclass->cache['bbcode'] , array( 'class_bbcode_core', 'smilie_alpha_sort' ) );
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Init class
|
||||
//-----------------------------------------
|
||||
|
||||
$this->class_editor->main_init();
|
||||
|
||||
//-----------------------------------------
|
||||
// Load skin and language
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $this->from_acp == 1 )
|
||||
{
|
||||
if ( !isset($this->ipsclass->compiled_templates['skin_editors']) )
|
||||
{
|
||||
$this->ipsclass->compiled_templates['skin_editors'] = $this->ipsclass->acp_load_template('cp_skin_editors');
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Set up for replacement
|
||||
//-----------------------------------------
|
||||
|
||||
//$this->ipsclass->vars['img_url'] = "<#IMG_DIR#>";
|
||||
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => 'set_image_dir, set_emoticon_folder', 'from' => 'skin_sets', 'where' => 'set_default=1' ) );
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
$image_set = $this->ipsclass->DB->fetch_row();
|
||||
|
||||
$this->image_dir = $image_set['set_image_dir'];
|
||||
$this->emo_dir = $image_set['set_emoticon_folder'];
|
||||
|
||||
$this->ipsclass->vars['img_url'] = $this->ipsclass->vars['board_url'] . "/style_images/{$this->image_dir}";
|
||||
|
||||
//-----------------------------------------
|
||||
// Remove side panel
|
||||
//-----------------------------------------
|
||||
|
||||
$this->remove_side_panel = 1;
|
||||
$this->remove_emoticons = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( ! isset($this->ipsclass->compiled_templates['skin_editors']) )
|
||||
{
|
||||
$this->ipsclass->load_template( 'skin_editors' );
|
||||
}
|
||||
|
||||
$this->emo_dir = $this->ipsclass->skin['_emodir'];
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
@@ -224,32 +304,6 @@ class han_editor
|
||||
|
||||
if ( $this->from_acp == 1 )
|
||||
{
|
||||
if ( !isset($this->ipsclass->compiled_templates['skin_editors']) )
|
||||
{
|
||||
$this->ipsclass->compiled_templates['skin_editors'] = $this->ipsclass->acp_load_template('cp_skin_editors');
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Set up for replacement
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->vars['img_url'] = "<#IMG_DIR#>";
|
||||
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => 'set_image_dir, set_emoticon_folder', 'from' => 'skin_sets', 'where' => 'set_default=1' ) );
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
$image_set = $this->ipsclass->DB->fetch_row();
|
||||
|
||||
$this->image_dir = $image_set['set_image_dir'];
|
||||
$this->emo_dir = $image_set['set_emoticon_folder'];
|
||||
|
||||
//-----------------------------------------
|
||||
// Remove side panel
|
||||
//-----------------------------------------
|
||||
|
||||
$this->remove_side_panel = 1;
|
||||
$this->remove_emoticons = 1;
|
||||
|
||||
//-----------------------------------------
|
||||
// Sort out editor id
|
||||
//-----------------------------------------
|
||||
@@ -257,39 +311,8 @@ class han_editor
|
||||
$this->editor_id = 'ed-'.$this->acp_editor_id;
|
||||
|
||||
$this->acp_editor_id++;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( ! isset($this->ipsclass->compiled_templates['skin_editors']) )
|
||||
{
|
||||
$this->ipsclass->load_template( 'skin_editors' );
|
||||
}
|
||||
|
||||
$this->emo_dir = $this->ipsclass->skin['_emodir'];
|
||||
}
|
||||
|
||||
$this->ipsclass->load_language( 'lang_editors' );
|
||||
|
||||
//-----------------------------------------
|
||||
// Get the smilies from the DB
|
||||
//-----------------------------------------
|
||||
|
||||
if ( ! is_array( $this->ipsclass->cache['emoticons'] ) )
|
||||
{
|
||||
$this->ipsclass->cache['emoticons'] = array();
|
||||
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => 'typed,image,clickable,emo_set', 'from' => 'emoticons' ) );
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
while ( $r = $this->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$this->ipsclass->cache['emoticons'][] = $r;
|
||||
}
|
||||
|
||||
@usort( $this->ipsclass->cache['emoticons'] , array( 'class_bbcode_core', 'smilie_alpha_sort' ) );
|
||||
}
|
||||
|
||||
|
||||
foreach( $this->ipsclass->cache['emoticons'] as $clickable )
|
||||
{
|
||||
if ( $clickable['emo_set'] != $this->emo_dir )
|
||||
@@ -344,25 +367,6 @@ class han_editor
|
||||
$smilies = implode( ",\n", $smilie_array );
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// BBCode
|
||||
//-----------------------------------------
|
||||
|
||||
if ( ! is_array( $this->ipsclass->cache['bbcode'] ) )
|
||||
{
|
||||
$this->ipsclass->cache['bbcode'] = array();
|
||||
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => '*', 'from' => 'custom_bbcode' ) );
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
while ( $r = $this->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$this->ipsclass->cache['bbcode'][] = $r;
|
||||
}
|
||||
|
||||
@usort( $this->ipsclass->cache['bbcode'] , array( 'class_bbcode_core', 'smilie_alpha_sort' ) );
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Showing any?
|
||||
//-----------------------------------------
|
||||
@@ -408,14 +412,17 @@ class han_editor
|
||||
//-----------------------------------------
|
||||
// Pre parse...
|
||||
//-----------------------------------------
|
||||
|
||||
|
||||
$text = $this->class_editor->process_before_form( $text );
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Weird script tag stuff...
|
||||
//-----------------------------------------
|
||||
|
||||
$text = preg_replace( "#(<|<|&lt;|&\#60;)script#si", "&lt;script", $text );
|
||||
if( $this->method == 'rte' )
|
||||
{
|
||||
$text = preg_replace( "#(<|<|&lt;|&\#60;)script#si", "&lt;script", $text );
|
||||
}
|
||||
|
||||
$return_html = $this->ipsclass->compiled_templates['skin_editors']->ips_editor( $form_field, $text, $this->ipsclass->vars['img_url'].'/folder_editor_images/', 'jscripts/folder_rte_files/', $this->rte_on, $this->editor_id, $smilies, $bbcode );
|
||||
|
||||
|
||||
@@ -2,26 +2,18 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| 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 ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-09-22 05:28:54 -0500 (Fri, 22 Sep 2006) $
|
||||
| > $Revision: 567 $
|
||||
| > $Author: matt $
|
||||
| > $Date: 2007-03-23 17:27:09 -0400 (Fri, 23 Mar 2007) $
|
||||
| > $Revision: 904 $
|
||||
| > $Author: bfarber $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Post Handler
|
||||
@@ -33,8 +25,8 @@
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
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();
|
||||
}
|
||||
|
||||
class han_login
|
||||
@@ -44,14 +36,15 @@ class han_login
|
||||
|
||||
var $module;
|
||||
|
||||
var $is_admin_auth = 0;
|
||||
var $return_code = 'WRONG_AUTH';
|
||||
var $is_admin_auth = 0;
|
||||
var $return_code = 'WRONG_AUTH';
|
||||
var $return_details = "";
|
||||
var $account_unlock = 0;
|
||||
var $member = array( 'id' => 0 );
|
||||
var $member = array( 'id' => 0 );
|
||||
|
||||
# Work
|
||||
var $login_method = array();
|
||||
var $login_conf = array();
|
||||
var $login_method = array();
|
||||
var $login_conf = array();
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// INIT
|
||||
@@ -202,6 +195,90 @@ class han_login
|
||||
$this->member = $this->module->member;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Check for existing email
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function email_exists_check( $email )
|
||||
{
|
||||
if( method_exists( $this->module, 'email_exists_check' ) )
|
||||
{
|
||||
$this->module->email_exists_check( $email );
|
||||
|
||||
$this->return_code = $this->module->return_code;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->return_code = 'METHOD_NOT_DEFINED';
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Change email
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function change_email( $old_email, $new_email )
|
||||
{
|
||||
if( method_exists( $this->module, 'change_email' ) )
|
||||
{
|
||||
$this->module->change_email( $old_email, $new_email );
|
||||
|
||||
$this->return_code = $this->module->return_code;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->return_code = 'METHOD_NOT_DEFINED';
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Change email
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function change_pass( $email, $new_pass )
|
||||
{
|
||||
if( method_exists( $this->module, 'change_pass' ) )
|
||||
{
|
||||
$this->module->change_pass( $email, $new_pass );
|
||||
|
||||
$this->return_code = $this->module->return_code;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->return_code = 'METHOD_NOT_DEFINED';
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Create Account
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function create_account( $member=array() )
|
||||
{
|
||||
if( !is_array( $member ) )
|
||||
{
|
||||
$this->return_code = 'FAIL';
|
||||
return;
|
||||
}
|
||||
|
||||
if( method_exists( $this->module, 'create_account' ) )
|
||||
{
|
||||
$this->module->create_account( $member );
|
||||
|
||||
$this->return_code = $this->module->return_code;
|
||||
$this->return_details = $this->module->return_details;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->return_code = 'METHOD_NOT_DEFINED';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -1,26 +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 ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-10-16 07:01:42 -0500 (Mon, 16 Oct 2006) $
|
||||
| > $Revision: 649 $
|
||||
| > $Author: matt $
|
||||
| > $Date: 2007-12-17 18:07:20 -0500 (Mon, 17 Dec 2007) $
|
||||
| > $Revision: 1149 $
|
||||
| > $Author: bfarber $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Handler for BBCode parsing
|
||||
@@ -31,7 +23,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 'admin.php'.";
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -90,7 +82,10 @@ class parse_bbcode
|
||||
// Get the correct class
|
||||
//-----------------------------------------
|
||||
|
||||
$this->_load_classes();
|
||||
if ( ! $this->classes_loaded )
|
||||
{
|
||||
$this->_load_classes();
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Check the DB cache
|
||||
@@ -142,7 +137,10 @@ class parse_bbcode
|
||||
// Get the correct class
|
||||
//-----------------------------------------
|
||||
|
||||
$this->_load_classes();
|
||||
if ( ! $this->classes_loaded )
|
||||
{
|
||||
$this->_load_classes();
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Decide the settings...
|
||||
@@ -180,16 +178,18 @@ class parse_bbcode
|
||||
|
||||
//-----------------------------------------
|
||||
// Check the DB cache
|
||||
// { Dont need this, for this }
|
||||
//-----------------------------------------
|
||||
|
||||
///$this->check_caches();
|
||||
$this->check_caches();
|
||||
|
||||
//-----------------------------------------
|
||||
// Get the correct class
|
||||
//-----------------------------------------
|
||||
|
||||
$this->_load_classes();
|
||||
if ( ! $this->classes_loaded )
|
||||
{
|
||||
$this->_load_classes();
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Decide the settings...
|
||||
@@ -232,7 +232,10 @@ class parse_bbcode
|
||||
// Get the correct class
|
||||
//-----------------------------------------
|
||||
|
||||
$this->_load_classes();
|
||||
if ( ! $this->classes_loaded )
|
||||
{
|
||||
$this->_load_classes();
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Ensure no slashy slashy
|
||||
@@ -244,6 +247,7 @@ class parse_bbcode
|
||||
//-----------------------------------------
|
||||
// Convert <>
|
||||
//-----------------------------------------
|
||||
if( $this->parse_nl2br ) { $t = str_replace( "<br />", "\n", $t ); }
|
||||
|
||||
$t = str_replace( '<', '<', $t );
|
||||
$t = str_replace( '>', '>', $t );
|
||||
@@ -259,6 +263,7 @@ class parse_bbcode
|
||||
//-----------------------------------------
|
||||
|
||||
$t = $this->pre_db_parse( $t );
|
||||
|
||||
$t = $this->bbclass->clean_ipb_html( $t );
|
||||
|
||||
return $t;
|
||||
@@ -274,7 +279,10 @@ class parse_bbcode
|
||||
// Get the correct class
|
||||
//-----------------------------------------
|
||||
|
||||
$this->_load_classes();
|
||||
if ( ! $this->classes_loaded )
|
||||
{
|
||||
$this->_load_classes();
|
||||
}
|
||||
|
||||
return $this->bbclass->clean_ipb_html( $t );
|
||||
}
|
||||
@@ -283,15 +291,39 @@ class parse_bbcode
|
||||
// Passthrough function: Strip all tags
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function strip_all_tags( $t )
|
||||
function strip_all_tags( $t, $pre_edit_parse=1 )
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Check the DB cache
|
||||
//-----------------------------------------
|
||||
|
||||
$this->check_caches();
|
||||
|
||||
//-----------------------------------------
|
||||
// Get the correct class
|
||||
//-----------------------------------------
|
||||
|
||||
$this->_load_classes();
|
||||
if ( ! $this->classes_loaded )
|
||||
{
|
||||
$this->_load_classes();
|
||||
}
|
||||
|
||||
return $this->bbclass->strip_all_tags( $t );
|
||||
//-----------------------------------------
|
||||
// Decide the settings...
|
||||
//-----------------------------------------
|
||||
|
||||
$this->bbclass->bypass_badwords = $this->bypass_badwords ? $this->bypass_badwords : intval($this->ipsclass->member['g_bypass_badwords']);
|
||||
$this->bbclass->parse_smilies = $this->parse_smilies;
|
||||
$this->bbclass->parse_html = $this->parse_html;
|
||||
$this->bbclass->parse_bbcode = $this->parse_bbcode;
|
||||
$this->bbclass->strip_quotes = $this->ipsclass->vars['strip_quotes'];
|
||||
$this->bbclass->parse_nl2br = $this->parse_nl2br;
|
||||
$this->bbclass->parse_wordwrap = $this->ipsclass->vars['post_wordwrap'];
|
||||
$this->bbclass->max_embed_quotes = $this->ipsclass->vars['max_quotes_per_post'];
|
||||
$this->bbclass->parse_custombbcode = $this->parse_custombbcode;
|
||||
$this->bbclass->parsing_signature = $this->parsing_signature;
|
||||
|
||||
return $this->bbclass->strip_all_tags( $t, $pre_edit_parse );
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
@@ -304,7 +336,12 @@ class parse_bbcode
|
||||
// Get the correct class
|
||||
//-----------------------------------------
|
||||
|
||||
$this->_load_classes();
|
||||
if ( ! $this->classes_loaded )
|
||||
{
|
||||
$this->_load_classes();
|
||||
}
|
||||
|
||||
$this->check_caches();
|
||||
|
||||
$this->bbclass->bypass_badwords = isset( $this->bypass_badwords ) ? $this->bypass_badwords : intval($this->ipsclass->member['g_bypass_badwords']);
|
||||
|
||||
@@ -321,7 +358,10 @@ class parse_bbcode
|
||||
// Get the correct class
|
||||
//-----------------------------------------
|
||||
|
||||
$this->_load_classes();
|
||||
if ( ! $this->classes_loaded )
|
||||
{
|
||||
$this->_load_classes();
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// [url]http://www.index.com[/url]
|
||||
@@ -350,7 +390,10 @@ class parse_bbcode
|
||||
// Get the correct class
|
||||
//-----------------------------------------
|
||||
|
||||
$this->_load_classes();
|
||||
if ( ! $this->classes_loaded )
|
||||
{
|
||||
$this->_load_classes();
|
||||
}
|
||||
|
||||
return $this->bbclass->_make_quote_safe( $t );
|
||||
}
|
||||
@@ -365,7 +408,10 @@ class parse_bbcode
|
||||
// Get the correct class
|
||||
//-----------------------------------------
|
||||
|
||||
$this->_load_classes();
|
||||
if ( ! $this->classes_loaded )
|
||||
{
|
||||
$this->_load_classes();
|
||||
}
|
||||
|
||||
return $this->bbclass->strip_quotes( $t );
|
||||
}
|
||||
@@ -393,7 +439,7 @@ class parse_bbcode
|
||||
$this->ipsclass->cache['emoticons'][] = $r;
|
||||
}
|
||||
|
||||
@usort( $this->ipsclass->cache['emoticons'] , array( 'class_bbcode_core', 'smilie_length_sort' ) );
|
||||
@usort( $this->ipsclass->cache['emoticons'] , array( &$this->bbclass, 'smilie_length_sort' ) );
|
||||
|
||||
if ( $this->allow_update_caches )
|
||||
{
|
||||
@@ -441,7 +487,7 @@ class parse_bbcode
|
||||
|
||||
if( count($this->ipsclass->cache['badwords']) )
|
||||
{
|
||||
@usort( $this->ipsclass->cache['badwords'] , array( 'class_bbcode_core', 'word_length_sort' ) );
|
||||
@usort( $this->ipsclass->cache['badwords'] , array( &$this->bbclass, 'word_length_sort' ) );
|
||||
}
|
||||
|
||||
if ( $this->allow_update_caches )
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -2,24 +2,16 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| 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 ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-09-22 05:28:54 -0500 (Fri, 22 Sep 2006) $
|
||||
| > $Date: 2006-09-22 06:28:54 -0400 (Fri, 22 Sep 2006) $
|
||||
| > $Revision: 567 $
|
||||
| > $Author: matt $
|
||||
+---------------------------------------------------------------------------
|
||||
@@ -33,8 +25,8 @@
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
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();
|
||||
}
|
||||
|
||||
class han_post
|
||||
|
||||
@@ -1,10 +1 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
|
||||
<meta name="author" content="Êîìïàíèÿ IBResource è Invision Power Services Inc.">
|
||||
<title>Îøèáêà ðóññêîé âåðñèè Invision Power Board</title>
|
||||
</head><body>
|
||||
<h1>Îøèáêà <a href="http://www.ibresource.ru/">ðóññêîé âåðñèè Invision Power Board</a></h1>
|
||||
<font size="4">Âû ïîïàëè íà íåñóùåñòâóþùóþ ñòðàíèöó!<br>Ïîæàëóéñòà íàæìèòå íà êíîïî÷êó «<b>Íàçàä</b>» â âàøåì áðàóçåðå äëÿ âîçâðàùåíèÿ íà ïðåäûäóùóþ ñòðàíèöó.</font>
|
||||
</body>
|
||||
</html>
|
||||
<html>␍<head><title>Invision Power Board - Bulletin Board System</title></head>␍<body>␍<h1>403: Invision Power Board -> Forbidden</h1>␍<hr>␍You have reached this Page in error, please use␍your back button to return to Invision Board.␍<hr>␍<a href="http://anonym.to/http://www.invisionboard.com/">Invision Power Board</a>␍</body>␍</html>␍
|
||||
Reference in new issue
Block a user