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

+2 -2
View File
@@ -5,7 +5,7 @@ $WRAPPER = <<<EOF
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><% TITLE %></title>
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<% GENERATOR %>
<% CSS %>
<% JAVASCRIPT %>
@@ -466,7 +466,7 @@ ul#help{
.wrapmini{
float: left;
line-height: 1.5em;
width: 30%;
width: 25%;
}
.pagelinks{
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="windows-1251"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<settingexport exported="1094651620">
<settinggroup>
<setting>
<conf_id>110</conf_id>
<conf_title>?????? ??? ???????? ????????</conf_title>
<conf_description><![CDATA[??????, ???? ?? ??????? ????? ???????????????? ? ??????, ??? ???????. ?? ?????? ??????? ????????? ???????, ????????? &laquo;Ctrl&raquo;.]]></conf_description>
<conf_id>218</conf_id>
<conf_title>Forums to export articles from</conf_title>
<conf_description>You may select more than one.</conf_description>
<conf_group>22</conf_group>
<conf_type>multi</conf_type>
<conf_key>csite_article_forum</conf_key>
@@ -36,11 +36,31 @@ $key = 'csite_article_forum[]';
<conf_add_cache>0</conf_add_cache>
</setting>
<setting>
<conf_id>265</conf_id>
<conf_title>Caching PATH</conf_title>
<conf_description><![CDATA[<b>This can be left blank</b>
<br />This is useful for specifing a PATH for the IPB written files (skin_cache, style_avatars, style_emoticons, style_images) when dealing with load balanced/clustered servers. If you enter a PATH, please ensure that it ends with a trailing slash]]></conf_description>
<conf_group>1</conf_group>
<conf_type>input</conf_type>
<conf_key>ipb_cache_path</conf_key>
<conf_value></conf_value>
<conf_default></conf_default>
<conf_extra></conf_extra>
<conf_evalphp></conf_evalphp>
<conf_protected>1</conf_protected>
<conf_position>8</conf_position>
<conf_start_group></conf_start_group>
<conf_end_group>0</conf_end_group>
<conf_help_key></conf_help_key>
<conf_add_cache>1</conf_add_cache>
</setting>
<setting>
<conf_id>61</conf_id>
<conf_title>URL ????? ? ????????????</conf_title>
<conf_description><![CDATA[<b>????????????? ? ??????????</b><br />??? ??????? ???? ?? ??????? ????????? ??????????? ?? ?????? ??????? ??? ????? ???????????? ?????????? ??????.<br /><br />???? ?? ??????? ????? ????, ?????????, ??? ?? ???????????? &laquo;??????&raquo;.]]></conf_description>
<conf_id>264</conf_id>
<conf_title>Image URL</conf_title>
<conf_description><![CDATA[<b>This can be left blank</b>
<br />This can be used if you wish to serve images from a different server or when using clustered servers. Please ensure that you use a trailing slash and that it starts with http(s):// if entering a URL]]></conf_description>
<conf_group>1</conf_group>
<conf_type>input</conf_type>
<conf_key>ipb_img_url</conf_key>
+33 -22
View File
@@ -2,23 +2,17 @@
/*
+--------------------------------------------------------------------------
| Invision Power Board 2.1.7
| =============================================
| Invision Power Board v<{%dyn.down.var.human.version%}>
| ========================================
| 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
| Time: <{%dyn.down.var.time%}>
| Release: <{%dyn.down.var.md5%}>
| 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
+---------------------------------------------------------------------------
|
| > IPB UPGRADE MODULE:: IPB 2.0.0 PF3 -> PF 4
@@ -31,7 +25,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();
}
@@ -39,10 +33,11 @@ class version_upgrade
{
var $this_version = '20009';
var $upgrade_from = '20008';
var $first_step = 'îáíîâèò âàøó áàçó äàííûõ äëÿ âñòàâêè íîâûõ ïîëåé è òàáëèö.';
var $first_step = 'update your database to include the new schematic modifications.';
var $md5_check = '';
var $base_url = '';
var $mod_to_run = '';
var $error = array();
/*-------------------------------------------------------------------------*/
// CONSTRUCTOR
@@ -113,11 +108,20 @@ class version_upgrade
{
require_once( THIS_PATH.'upg_'.$this->ipsclass->current_upgrade.'/'.strtolower($this->ipsclass->vars['sql_driver']).'_updates.php' );
$this->ipsclass->DB->return_die = 1;
foreach( $SQL as $q )
{
$this->ipsclass->DB->query( $q );
$cnt++;
if ( $this->ipsclass->DB->error )
{
$this->error[] = $this->ipsclass->DB->error;
}
else
{
$cnt++;
}
}
}
@@ -139,7 +143,14 @@ class version_upgrade
// Next page...
//--------------------------------
$this->ipsclass->core->redirect( "index.php?act=done&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}", "$cnt çàïðîñîâ âûïîëíåíî...." );
if ( count($this->error) )
{
$this->ipsclass->core->show_error( implode( "<br />", $this->error ), "done" );
}
else
{
$this->ipsclass->core->redirect( "index.php?act=done&loginkey={$this->ipsclass->input['loginkey']}&securekey={$this->ipsclass->input['securekey']}&mid={$this->ipsclass->input['mid']}", "$cnt queries run...." );
}
}
@@ -153,15 +164,15 @@ class version_upgrade
$this->ipsclass->template->content .= "
<div class='tableborder'>
<div class='maintitle'>Äîáðî ïîæàëîâàòü â ñèñòåìó îáíîâëåíèÿ IPB</div>
<div class='tdrow1' style='padding:6px'>Ýòîò ìîäóëü îáíîâèò âàø ôîðóì ñ <b>{$this->ipsclass->versions[$this->upgrade_from]}</b> äî <b>{$this->ipsclass->versions[$this->this_version]}</b>
<br /><br />Ýòîò ïåðâûé ýòàï {$this->first_step}
<div class='maintitle'>Welcome to the IPB Upgrade System</div>
<div class='tdrow1' style='padding:6px'>This upgrade module will upgrade you from <b>{$this->ipsclass->versions[$this->upgrade_from]}</b> to <b>{$this->ipsclass->versions[$this->this_version]}</b>
<br /><br />This first step will {$this->first_step}
<br /><br />
<div align='center'><span style='font-weight:bold;font-size:14px'>&raquo; <a href='{$this->base_url}&workact=sql'>Äàëåå...</a></span></div>
<div align='center'><span style='font-weight:bold;font-size:14px'>&raquo; <a href='{$this->base_url}&workact=sql'>Proceed...</a></span></div>
</div>
</div>
<br />
<div align='center'>Ïîñëå ýòîãî ìîäóëÿ áóäåò çàïóùåíî: {$this->mod_to_run}</div>
<div align='center'>Modules to run after this module: {$this->mod_to_run}</div>
";
$this->ipsclass->template->output();