Version 2.3.6

This commit is contained in:
Neo committed 2025-12-19 00:26:08 -08:00
1 parent a3bb603c96
commit 19b38c7c74
764 files changed
+143731 -118164

No files matched your search

+52 -53
View File
@@ -35,11 +35,11 @@ class install_template
if ( file_exists( INS_ROOT_PATH . 'installfiles/sequence.xml' ) )
{
$config = implode( '', file( INS_ROOT_PATH . 'installfiles/sequence.xml' ) );
$xml = new class_xml();
$config = $xml->xml_parse_document( $config );
$config = implode( '', file( INS_ROOT_PATH . 'installfiles/sequence.xml' ) );
$xml = new class_xml();
$config = $xml->xml_parse_document( $config );
//-----------------------------------------
// Loop through and sort out settings...
//-----------------------------------------
@@ -54,11 +54,11 @@ class install_template
foreach( $_pages as $position => $data )
{
$this->install_pages[ $data['file'] ] = $this->ipsclass->txt_convert_charsets( $data['menu'], 'UTF-8' );
$this->install_pages[ $data['file'] ] = $data['menu'];
}
}
$this->install_pages['done'] = 'Çàâåðøåíèå';
$this->install_pages['done'] = 'Finish';
/* Set Current Page */
$this->page_current = ( $this->ipsclass->input['p'] ) ? $this->ipsclass->input['p'] : 'requirements';
@@ -145,8 +145,7 @@ echo <<<EOF
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1251">
<title>Ìàñòåð óñòàíîâêè ïðîäóêòîâ Invision Power Services</title>
<title>IPS Installer</title>
<style type='text/css' media='all'>
@import url('install.css');
</style>
@@ -168,7 +167,7 @@ echo <<<EOF
<div id='ipswrapper'>
<div class='main_shell'>
<h1><img src='images/package_icon.gif' align='absmiddle' /> Óñòàíîâùèê ïðîäóêòîâ Invision Power Services</h1>
<h1><img src='images/package_icon.gif' align='absmiddle' /> Welcome to the IPS Product Installer</h1>
<div class='content_shell'>
<div class='package'>
<div>
@@ -195,7 +194,7 @@ echo <<<EOF
</div>
<div style='vertical-align: middle'>
<h2>Óñòàíîâêà {$this->product_name}</h2>
<h2>{$this->product_name} Installation</h2>
<strong>{$this->product_version}</strong>
</div>
</div>
@@ -210,7 +209,7 @@ echo <<<EOF
<div class='hr'></div>
<div style='padding-top: 17px; padding-right: 15px; padding-left: 15px'>
<div style='float: left'>
<input type='button' class='nav_button' value='Ïðåêðàòèòü óñòàíîâêó' onclick="window.location='index.php';return false;" />
<input type='button' class='nav_button' value='Cancel Installation' onclick="window.location='index.php';return false;" />
</div>
<div style='float: right'>
@@ -221,7 +220,7 @@ if( ! $this->hide_next )
if( $this->next_action == 'disabled' )
{
echo <<<EOF
<input type='submit' class='nav_button' value='Óñòàíîâêà íå çàâåðøåíà...' disabled='disabled' />
<input type='submit' class='nav_button' value='Install can not continue...' disabled='disabled' />
EOF;
}
else
@@ -231,11 +230,11 @@ if( !$this->next_action )
$back = $this->ipsclass->my_getenv('HTTP_REFERER');
echo <<<EOF
<input type='button' class='nav_button' value='< Íàçàä' onclick="window.location='{$back}';return false;" />
<input type='button' class='nav_button' value='< Back' onclick="window.location='{$back}';return false;" />
EOF;
}
echo <<<EOF
<input type='submit' class='nav_button' value='Äàëüøå >' />
<input type='submit' class='nav_button' value='Next >' />
EOF;
}
}
@@ -251,7 +250,7 @@ echo <<<EOF
EOF;
echo date("Y");
echo <<<EOF
Invision Power Services, Inc. & IBresource, LTD
Invision Power Services, Inc.
</div>
</div>
@@ -278,16 +277,16 @@ return <<<EOF
<img src='images/wizard.gif' align='absmiddle' />
</div>
<div>
Âàñ ïðèâåòñòâóåò óñòàíîâùèê {$this->product_name}. Äàííûé ìàñòåð ïîìîæåò âàì óñòàíîâèòü íîâóþ âåðñèþ ïðîäóêòà.
Welcome to the installer for {$this->product_name}. This wizard will guide you through the installation process.
</div>
</div>
<br/><br/>
<h3>Ñèñòåìíûå òðåáîâàíèÿ:</h3>
<h3>System Requirements</h3>
<br />
<strong>PHP:</strong> v{$php_version} èëè âûøå<br />
<strong>SQL:</strong> mySQL v$sql_version èëè âûøå
<strong>PHP:</strong> v{$php_version} or better<br />
<strong>SQL:</strong> mySQL v$sql_version or better
<br /><br />
EOF;
}
@@ -309,7 +308,7 @@ check_eula = function()
}
else
{
alert( 'Âû äîëæíû ïðèíÿòü ïîëüçîâàòåëüñêîå ñîãëàøåíèå, ïðåæäå ÷åì ïðîäîëæèòü óñòàíîâêó' );
alert( 'You must agree to the license before continuing' );
return false;
}
}
@@ -318,13 +317,13 @@ document.getElementById( 'install-form' ).onsubmit = check_eula;
</script>
Ïîæàëóéñòà ïðî÷èòàéòå è ïðèìèòå ïîëüçîâàòåëüñêîå ñîãëàøåíèå.<br /><br />
Please read and agree to the End User License Agreement before continuing.<br /><br />
<div class='eula'>
$eula
</div>
<input type='checkbox' name='eula' id='eula'><strong> ß ïðèíèìàþ</strong>
<input type='checkbox' name='eula' id='eula'><strong> I agree to the license agreement</strong>
EOF;
@@ -339,16 +338,16 @@ return <<<EOF
<div id='warn-message' style='display:none;'><center><div id='warn-message-content'></div></center></div>
<fieldset>
<legend><img src='images/addresses.gif' align='absmiddle' />&nbsp; Äèðåêòîðèè óñòàíîâêè</legend>
<legend><img src='images/addresses.gif' align='absmiddle' />&nbsp; Address details</legend>
<table style='width: 100%; border: 0px; padding:0px' cellspacing='0'>
<tr>
<td width='30%' class='title'>Ïóòü óñòàíîâêè:</td>
<td width='30%' class='title'>Install Directory:</td>
<td width='70%' class='content'><input type='text' class='sql_form' name='install_dir' value='{$dir}'></td>
</tr>
<tr>
<td width='30%' class='title'>Àäðåñ óñòàíîâêè:</td>
<td width='30%' class='title'>Install Address:</td>
<td width='70%' class='content'><input type='text' class='sql_form' name='install_url' value='{$url}'></td>
</tr>
</table>
@@ -377,14 +376,14 @@ return <<<EOF
<div class='info' style='margin-top: 4px;'>
<div class='float_img'><img src='images/help.gif' /></div>
<div>Ïîæàëóéñòà óêàæèòå êàêóþ áàçà äàííûõ áóäåò èñïîëüçîâàòüñÿ.</div>
<div>Please select which database engine you wish to use.</div>
</div>
<fieldset>
<legend><img src='images/db.gif' align='absmiddle' />&nbsp; Áàçû Äàííûõ</legend>
<legend><img src='images/db.gif' align='absmiddle' />&nbsp; Database Engine</legend>
<table style='width: 100%; border: 0px; padding:0px' cellspacing='0'>
<tr>
<td width='30%' class='title'>SQL Äðàéâåð:</td>
<td width='30%' class='title'>SQL Driver:</td>
<td width='70%' class='content'>
<select name='sql_driver' class='sql_form'>$_drivers</select>
</td>
@@ -405,39 +404,39 @@ return <<<EOF
<div class='info' style='margin-top: 4px;'>
<div class='float_img'><img src='images/help.gif' /></div>
<div>Åñëè âû íå óâåðåíû èëè íå çíàåòå äàííûõ, íåîáõîäèìûõ äëÿ äàííîãî øàãà, óòî÷íèòå ó âàøåãî õîñòèíã ïðîâàéäåðà...</div>
<div>Ask your webhost if you are unsure about any of these settings. You must create the database before installing..</div>
</div>
<fieldset>
<legend><img src='images/db.gif' align='absmiddle' />&nbsp; Ñåðâåð Áàçû Äàííûõ (ÁÄ)</legend>
<legend><img src='images/db.gif' align='absmiddle' />&nbsp; Database details</legend>
<table style='width: 100%; border: 0px; padding:0px' cellspacing='0'>
<!--{TOP.SQL}-->
<tr>
<td width='30%' class='title'>Àäðåñ ñåðâåðà:</td>
<td width='30%' class='title'>SQL Host:</td>
<td width='70%' class='content'>
<input type='text' class='sql_form' value='localhost' name='db_host'>
</td>
</tr>
<tr>
<td class='title'>Èìÿ áàçû äàííûõ:</td>
<td class='title'>Database Name:</td>
<td class='content'>
<input type='text' class='sql_form' name='db_name' value='{$_REQUEST['db_name']}'>
</td>
</tr>
<tr>
<td class='title'>Ïîëüçîâàòåëü ÁÄ:</td>
<td class='title'>SQL Username:</td>
<td class='content'>
<input type='text' class='sql_form' name='db_user' value='{$_REQUEST['db_user']}'>
</td>
</tr>
<tr>
<td class='title'>Ïàðîëü ÁÄ:</td>
<td class='title'>SQL Password:</td>
<td class='content'>
<input type='password' class='sql_form' name='db_pass'>
</td>
</tr>
<tr>
<td class='title'>Ïðåôèêñ òàáëèö:</td>
<td class='title'>SQL Table Prefix:</td>
<td class='content'>
<input type='text' class='sql_form' name='db_pre' value='$prefix'>
</td>
@@ -456,24 +455,24 @@ EOF;
{
return <<<EOF
<fieldset>
<legend><img src='images/admin.gif' align='absmiddle' />&nbsp; Ó÷åòíàÿ çàïèñü Àäìèíèñòðàòîðà</legend>
<legend><img src='images/admin.gif' align='absmiddle' />&nbsp; Your administrative account</legend>
<table style='width: 100%; border: 0px; padding:0px' cellspacing='0'>
<tr>
<td width='30%' class='title'>Èìÿ ïîëüçîâàòåëÿ:</td>
<td width='30%' class='title'>Username:</td>
<td width='70%' class='content'><input type='text' class='sql_form' name='username'></td>
</tr>
<tr>
<td class='title'>Ïàðîëü:</td>
<td class='title'>Password:</td>
<td class='content'><input type='password' class='sql_form' name='password'></td>
</tr>
<tr>
<td class='title'>Ïîäòâåðæäåíèå ïàðîëÿ:</td>
<td class='title'>Confirm Password:</td>
<td class='content'><input type='password' class='sql_form' name='confirm_password'></td>
</tr>
<tr>
<td class='title'>E-mail àäðåñ:</td>
<td class='title'>E-mail Address:</td>
<td class='content'><input type='text' class='sql_form' name='email'></td>
</tr>
</table>
@@ -488,11 +487,12 @@ EOF;
function install_page()
{
return <<<EOF
Ìàñòåð ñîáðàë âñå äàííûå è ãîòîâ íà÷àòü óñòàíîâêó {$this->product_name}. Íàæìèòå <strong>Íà÷àòü óñòàíîâêó</strong> äëÿ çàïóñêà àâòîìàòè÷åñêîãî ïðîöåññà óñòàíîâêè!<br /><br />
The installer is now ready to complete the installation of your {$this->product_name}. Click <strong>Start</strong> to
begin the automatic process!<br /><br />
<div style='float: right'>
<input type='submit' class='nav_button' value='Íà÷àòü óñòàíîâêó...'>
<input type='submit' class='nav_button' value='Start installation...'>
</div>
EOF;
}
@@ -527,7 +527,7 @@ $HTML .= <<<EOF
</ul>
<br />
<div style='float: right'>
<input type='submit' class='nav_button' value='Íàæìèòå ñþäà, åñëè âàñ íå ïåðåìåñòèëî àâòîìàòè÷åñêè...' />
<input type='submit' class='nav_button' value='Click here if not forwarded' />
</div>
EOF;
@@ -568,23 +568,22 @@ EOF;
{
$extra = "<div class='warning'>
<div style='float: left; margin-right: 7px; margin-left: 5px'><img src='images/warning.gif' /></div>
<p>ÓÑÒÀÍÎÂÙÈÊ ÍÅ ÇÀÁËÎÊÈÐÎÂÀÍ<br />Ïîæàëóéñòà ïåðåèìåíóéòå èëè óäàëèòå 'install/index.php' êàê ìîæíî áûñòðåå!</p>
<p>INSTALLER NOT LOCKED<br />Please disable or remove 'install/index.php' immediately!</p>
</div>";
}
$HTML .= <<<EOF
<br />
<img src='images/install_done.gif' align='absmiddle' />&nbsp;&nbsp;<span class='done_text'>Óñòàíîâêà çàâåðøåíà!</span><Br /><Br />
Ïîçäðàâëÿåì, óñòàíîâêà <a href='$url'>{$this->product_name}</a> çàâåðøåíà! Íèæå ïðèâåäåíû íåñêîëüêî ïîëåçíûõ ññûëîê, êîòîðûå ïîìîãóò â âàøåé ðàáîòå.<br /><br />
<img src='images/install_done.gif' align='absmiddle' />&nbsp;&nbsp;<span class='done_text'>Installation complete!</span><Br /><Br />
Congratulations, your <a href='$url'>{$this->product_name}</a> is now installed and ready to use! Below are some
links you may find useful.<br /><br /><br />
$extra
<h3>Ïîëåçíûå ññûëêè:</h3>
<h3>Useful Links</h3>
<ul id='links'>
<li><img src='images/link.gif' align='absmiddle' /> <a href='http://external.iblink.ru/clientarea'>Êëèåíò-öåíòð</a></li>
<li><img src='images/link.gif' align='absmiddle' /> <a href='http://external.iblink.ru/docs-ipb'>Äîêóìåíòàöèÿ</a></li>
<li><img src='images/link.gif' align='absmiddle' /> <a href='http://external.iblink.ru/forums'>Ôîðóìû êîìïàíèè IBresource</a></li>
<li><img src='images/link.gif' align='absmiddle' /> <a href='http://external.iblink.ru/wiki'>Invison Power Book</a></li>
<li><img src='images/link.gif' align='absmiddle' /> <a href='http://external.ipslink.com/ipboard22/landing/?p=forums'>Ôîðóìû êîìïàíèè IPS</a></li>
<li><img src='images/link.gif' align='absmiddle' /> <a href='http://external.ipslink.com/ipboard22/landing/?p=clientarea'>Client area</a></li>
<li><img src='images/link.gif' align='absmiddle' /> <a href='http://external.ipslink.com/ipboard22/landing/?p=docs-ipb'>Documentation</a></li>
<li><img src='images/link.gif' align='absmiddle' /> <a href='http://external.ipslink.com/ipboard22/landing/?p=forums'>IPS Company Forum</a></li>
</ul>
EOF;