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

+14 -33
View File
@@ -2,26 +2,17 @@
/*
+--------------------------------------------------------------------------
| 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
+---------------------------------------------------------------------------
| > $Date: 2005-10-10 14:08:54 +0100 (Mon, 10 Oct 2005) $
| > $Revision: 23 $
| > $Date: 2006-10-05 17:04:08 +0100 (Thu, 05 Oct 2006) $
| > $Revision: 609 $
| > $Author: matt $
+---------------------------------------------------------------------------
|
@@ -36,7 +27,7 @@
if ( ! defined( 'IN_ACP' ) )
{
print "<h1>Íåâåðíûé âõîä</h1> Ó Âàñ íåò äîñòóïà ê äèðåêòèâå ýòîãî ôàéëà. Åñëè Âû ïðîâîäèëè îáíîâëåíèÿ, óáåäèòåñü, ÷òî íå çàáûëè îáíîâèòü 'admin.php'.";
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
exit();
}
@@ -46,17 +37,6 @@ class ad_prefs {
function auto_run()
{
//-----------------------------------------
// Kill globals - globals bad, Homer good.
//-----------------------------------------
$tmp_in = array_merge( $_GET, $_POST, $_COOKIE );
foreach ( $tmp_in as $k => $v )
{
unset($$k);
}
//-----------------------------------------
// Show the wee form
//-----------------------------------------
@@ -67,7 +47,7 @@ class ad_prefs {
if ( $this->ipsclass->input['tx'] == "" or $this->ipsclass->input['ty'] == "" )
{
$this->msg = 'Ïîæàëóéñòà, çàïîëíèòå ôîðìó';
$this->msg = 'Please complete the form';
print $this->get_html();
}
@@ -75,7 +55,7 @@ class ad_prefs {
{
$this->ipsclass->my_setcookie( 'acpprefs', $this->ipsclass->input['menu'] .','. $this->ipsclass->input['tx'] .','. $this->ipsclass->input['ty'] .','. $this->ipsclass->input['preview']);
$this->msg = 'Íàñòðîéêè ñîõðàíåíû ';
$this->msg = 'Settings saved';
$this->tx = $this->ipsclass->input['tx'];
$this->ty = $this->ipsclass->input['ty'];
@@ -156,7 +136,7 @@ class ad_prefs {
$hit_muhl = <<<EOF
<html>
<head>
<title>IPB-âàøè ïðåäïî÷òåíèÿ</title>
<title>IPB-ACP Prefs</title>
<style type='text/css'>
BODY {
font-size: 10px;
@@ -190,15 +170,16 @@ $hit_muhl = <<<EOF
</head>
<body>
<form action="{$this->ipsclass->base_url}&act=prefs&set=1" method="post">
<input type='hidden' name='_admin_auth_key' value='{$this->ipsclass->_admin_auth_key}' />
<fieldset style='padding:10px'>
<legend>Âàøè ïðåäïî÷òåíèÿ â àäìèíöåíòðå</legend>
<strong>Ñîõðàíèòü ðàñïîëîæåíèå ìåíþ àäìèíöåíòðà</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<select class='textinput' name='menu'><option value='1' {$this->s_yes}>Äà</option><option value='0' {$this->s_no}>Íåò</option></select>
<legend>Your ACP Prefs</legend>
<strong>Save ACP Menu State</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<select class='textinput' name='menu'><option value='1' {$this->s_yes}>Yes</option><option value='0' {$this->s_no}>No</option></select>
<br /><br />
<strong>Ðàçìåð øðèôòà â òåêñòáîêñàõ</strong>&nbsp;<input class='textinput' type='text' size='3' name='tx' value='{$this->tx}' /> <strong>X</strong> <input class='textinput' type='text' size='3' name='ty' value='{$this->ty}' />
<strong>Template's Textbox Size</strong>&nbsp;<input class='textinput' type='text' size='3' name='tx' value='{$this->tx}' /> <strong>X</strong> <input class='textinput' type='text' size='3' name='ty' value='{$this->ty}' />
<br /><br />
<strong>Ïîêàçûâàòü ïðåäïðîñìîòðò ìàêðîñà</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<select class='textinput' name='preview'><option value='1' {$this->p_yes}>Äà</option><option value='0' {$this->p_no}>Íåò</option></select>
<strong>Show Macro Preview?</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<select class='textinput' name='preview'><option value='1' {$this->p_yes}>Yes</option><option value='0' {$this->p_no}>No</option></select>
<br /><br />
<center><input type='submit' class='textinput' value='Ñîõðàíèòü' /></center>
<center><input type='submit' class='textinput' value='Save' /></center>
</fieldset>
</form>
</body>