Version 3.2.3
This commit is contained in:
1 parent
ae5c01cc78
commit
78706903a2
2641 files changed
+228363
-201264
No files matched your search
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
<a href="http://www.invisionboard.com/">IP.Board</a>
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -2,18 +2,18 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.1.4
|
||||
* IP.Board v3.2.3
|
||||
* Setup skin file
|
||||
* Last Updated: $Date: 2010-09-13 05:53:37 -0400 (Mon, 13 Sep 2010) $
|
||||
* Last Updated: $Date: 2011-09-27 21:33:45 -0400 (Tue, 27 Sep 2011) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: terabyte $
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/community/board/license.html
|
||||
* @license This is NULLED!
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @link http://hatynka.in
|
||||
* @since Friday 19th May 2006 17:33
|
||||
* @version $Revision: 6854 $
|
||||
* @version $Revision: 9556 $
|
||||
*/
|
||||
|
||||
class skin_setup extends output
|
||||
@@ -28,7 +28,7 @@ class skin_setup extends output
|
||||
* Prevent our main destructor being called by this class
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
public function __destruct()
|
||||
{
|
||||
@@ -83,13 +83,49 @@ EOF;
|
||||
$IPBHTML .= <<<EOF
|
||||
<h3>Полезные ссылки</h3>
|
||||
<ul id='links'>
|
||||
<li><img src='{$this->registry->output->imageUrl}/link.gif' align='absmiddle' /> <a href='http://bestcms.ws'>BESTCMS.WS - Форум вебмастеров!</a></li>
|
||||
<li><img src='{$this->registry->output->imageUrl}/link.gif' align='absmiddle' /> <a href='http://myipb.in/docs-ipb'>Документация</a></li>
|
||||
<li><img src='{$this->registry->output->imageUrl}/link.gif' align='absmiddle' /> <a href='http://hatynka.in'>Форум Hatynka.in</a></li>
|
||||
</ul>
|
||||
EOF;
|
||||
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the page to manually run log query, with option to prune and run instead
|
||||
*
|
||||
* @access public
|
||||
* @return string HTML
|
||||
*/
|
||||
public function upgrade_manual_queries_logs( $queries, $id=1, $TABLE='' ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<h3>Пожалуйста выполните следующие запросы прежде чем продолжить</h3>
|
||||
<div class='message unspecified'>
|
||||
Вы можете <a href='index.php?app=upgrade&section=upgrade&s={$this->request['s']}&do=appclass&workact=logs{$id}&pruneAndRun=1'>нажать здесь</a> чтобы очистить таблицу-журнал '{$TABLE}' и мастер сам внесет изменения в структуру
|
||||
<br />
|
||||
<b>ИЛИ</b>
|
||||
<br />
|
||||
Запустите следующие запросы сами:
|
||||
<textarea style="width:100%; height: 300px">
|
||||
EOF;
|
||||
|
||||
if ( $queries )
|
||||
{
|
||||
$IPBHTML .= "\n" . $queries;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
</textarea>
|
||||
</div>
|
||||
EOF;
|
||||
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the install start page
|
||||
*
|
||||
@@ -199,8 +235,8 @@ EOF;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<strong style='font-weight:bold; font-size:14px'>{$data['app']['name']} {$data['long']}</strong>
|
||||
{$data['out']}
|
||||
<strong style='font-weight:bold; font-size:15px'>{$data['app']['name']} {$data['long']}</strong>
|
||||
{$data['out']}<br />
|
||||
EOF;
|
||||
}
|
||||
}
|
||||
@@ -316,13 +352,13 @@ EOF;
|
||||
// for them so it's irrelevant
|
||||
//-----------------------------------------
|
||||
|
||||
$img = file_exists( IPSLib::getAppDir( $key ) . '/skin_cp/appIcon.png' ) ? $this->settings['base_url'] . '/' . CP_DIRECTORY . '/applications_addon/' . $type . '/' . $key . '/skin_cp/appIcon.png' : "../skin_cp/_newimages/applications/{$key}.png";
|
||||
$img = is_file( IPSLib::getAppDir( $key ) . '/skin_cp/appIcon.png' ) ? $this->settings['base_url'] . '/' . CP_DIRECTORY . '/applications_addon/' . $type . '/' . $key . '/skin_cp/appIcon.png' : "../skin_cp/images/applications/{$key}.png";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<table style='width: 100%; border: 0px; padding:0px' cellspacing='0'>
|
||||
<tr>
|
||||
<td width='7%' valign='top' style='padding:4px'>
|
||||
<input type='checkbox' name='apps[{$key}]' value='1' $_checked style="$_style" />
|
||||
<input type='checkbox' name='apps[{$key}]' value='1' {$_checked} style="{$_style}" />
|
||||
</td>
|
||||
<td width='1%' valign='top' style='padding:4px'>
|
||||
<img src='{$img}' />
|
||||
@@ -336,7 +372,7 @@ $IPBHTML .= <<<EOF
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
if ( isset( $notices[ $key ] ) )
|
||||
if ( count( $notices[ $key ] ) )
|
||||
{
|
||||
$IPBHTML .= "<div class='warning'><ul>";
|
||||
foreach ( $notices[ $key ] as $n )
|
||||
@@ -627,7 +663,7 @@ $IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='message error'>
|
||||
$msg
|
||||
{$msg}
|
||||
</div>
|
||||
EOF;
|
||||
|
||||
@@ -679,12 +715,13 @@ $IPBHTML .= <<<EOF
|
||||
<br />
|
||||
|
||||
<span class='done_text'>Установка завершена!</span><Br /><Br />
|
||||
Поздравляем, <a href='../../index.php'>{$_productName}</a> Nulled by BESTCMS.WS установлен и готов к использованию! Ниже приведено
|
||||
Поздравляем, <a href='../../index.php'>{$_productName}</a> установлен и готов к использованию! Ниже приведено
|
||||
несколько полезных ссылок.<br /><br /><br />
|
||||
$extra
|
||||
{$extra}
|
||||
<h3>Полезные ссылки</h3>
|
||||
<ul id='links'>
|
||||
<li><img src='{$this->registry->output->imageUrl}/link.gif' align='absmiddle' /> <a href='http://bestcms.ws'>BESTCMS.WS - Форум вебмастеров!</a></li>
|
||||
<li><img src='{$this->registry->output->imageUrl}/link.gif' align='absmiddle' /> <a href='http://myipb.in/docs-ipb'>Документация</a></li>
|
||||
<li><img src='{$this->registry->output->imageUrl}/link.gif' align='absmiddle' /> <a href='http://hatynka.in'>Форум Hatynka.in</a></li>
|
||||
</ul>
|
||||
EOF;
|
||||
|
||||
@@ -846,10 +883,10 @@ $IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
/* 'lil hack here */
|
||||
if ( file_exists( DOC_IPS_ROOT_PATH . "conf_global.php" ) )
|
||||
if ( is_file( DOC_IPS_ROOT_PATH . "conf_global.php" ) )
|
||||
{
|
||||
$INFO = array();
|
||||
require DOC_IPS_ROOT_PATH . "conf_global.php";
|
||||
require( DOC_IPS_ROOT_PATH . 'conf_global.php' );/*noLibHook*/
|
||||
|
||||
if ( is_array( $INFO ) && count($INFO) )
|
||||
{
|
||||
@@ -937,7 +974,7 @@ $IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td width='30%' class='title'>SQL драйвер:</td>
|
||||
<td width='70%' class='content'>
|
||||
<select name='sql_driver' class='sql_form'>$_drivers</select>
|
||||
<select name='sql_driver' class='sql_form'>{$_drivers}</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -981,7 +1018,7 @@ $IPBHTML .= <<<EOF
|
||||
|
||||
|
||||
<div class='eula'>
|
||||
$_eula
|
||||
{$_eula}
|
||||
</div>
|
||||
<input type='checkbox' name='eula' id='eula'> <strong><label for='eula'>Я согласен с Пользовательским Соглашением</label></strong>
|
||||
|
||||
@@ -996,6 +1033,43 @@ return $IPBHTML;
|
||||
* @access public
|
||||
* @return string HTML
|
||||
*/
|
||||
public function page_license( $error ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
if ( $error )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='message error'>{$error}</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
|
||||
<br />
|
||||
<fieldset>
|
||||
<legend>Ключ лицензии</legend>
|
||||
<table style='width: 100%; border: 0px; padding:0px' cellspacing='0'>
|
||||
<tr>
|
||||
<td class='title'><b>Ключ</b></td>
|
||||
<td width='70%' class='content'><input type='text' class='sql_form' name='lkey' value='{$this->request['lkey']}'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2'><span style='color: gray'>Ввод ключа лицензии <span style='font-weight:bold'>не обязателен</span> для продолжения установки. Вы можете ввести его позже.</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<br />
|
||||
|
||||
<div class='message unspecific note'>
|
||||
Ключ - это любая комбинация символов.
|
||||
</div>
|
||||
|
||||
EOF;
|
||||
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the address info page
|
||||
@@ -1083,13 +1157,13 @@ EOF;
|
||||
// for them so it's irrelevant
|
||||
//-----------------------------------------
|
||||
|
||||
$img = file_exists( IPSLib::getAppDir( $key ) . '/skin_cp/appIcon.png' ) ? '../applications_addon/' . $type . '/' . $key . '/skin_cp/appIcon.png' : "../skin_cp/_newimages/applications/{$key}.png";
|
||||
$img = is_file( IPSLib::getAppDir( $key ) . '/skin_cp/appIcon.png' ) ? '../applications_addon/' . $type . '/' . $key . '/skin_cp/appIcon.png' : "../skin_cp/images/applications/{$key}.png";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<table style='width: 100%; border: 0px; padding:0px' cellspacing='0'>
|
||||
<tr>
|
||||
<td width='5%' class='title'>
|
||||
<input type='checkbox' name='apps[{$key}]' value='1' $_checked style="$_style" />
|
||||
<input type='checkbox' name='apps[{$key}]' value='1' {$_checked} style="{$_style}" />
|
||||
</td>
|
||||
<td width='1%' valign='top' style='padding:4px'>
|
||||
<img src='{$img}' />
|
||||
@@ -1149,6 +1223,24 @@ $IPBHTML .= <<<EOF
|
||||
<div>
|
||||
Добро пожаловать в систему установки. Мастер установки проведет вас через весь процесс {$text}.
|
||||
</div>
|
||||
EOF;
|
||||
|
||||
if( $text == 'upgrade' )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='message unspecific note'>
|
||||
If you are not comfortable performing the upgrade yourself, please stop now and submit a technical support ticket so that our technicians can perform the upgrade for you.
|
||||
<br /><br />
|
||||
You should be certain that you have a complete database backup before proceeding. By continuing, you are certifying that you have saved a database backup.
|
||||
</div>
|
||||
<br />
|
||||
EOF;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='message unspecific note'>
|
||||
Если вам нужна помощь по работе с мастером установки, то обратитесь к <b>документации</b>.
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div class='message unspecified'>
|
||||
@@ -1316,11 +1408,12 @@ $IPBHTML .= <<<EOF
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Установщик IPS: $title</title>
|
||||
<title>Установщик IPS: {$title}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<style type='text/css' media='all'>
|
||||
@import url('{$_cssPath}/install.css');
|
||||
</style>
|
||||
</style>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
</head>
|
||||
<body>
|
||||
<p> </p>
|
||||
@@ -1340,7 +1433,7 @@ EOF;
|
||||
if ( ! IPS_IS_UPGRADER )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
|
||||
<p><a href='http://myipb.in/installation-guide' target='_blank'><b>Руководство по установке</b></a> ></p>
|
||||
EOF;
|
||||
}
|
||||
|
||||
@@ -1397,7 +1490,7 @@ EOF;
|
||||
|
||||
foreach( $messages as $msg )
|
||||
{
|
||||
$IPBHTML .= "<p>$msg</p>\n";
|
||||
$IPBHTML .= "<p>{$msg}</p>\n";
|
||||
}
|
||||
|
||||
$IPBHTML.= <<<EOF
|
||||
@@ -1414,12 +1507,12 @@ EOF;
|
||||
|
||||
foreach( $errors as $msg )
|
||||
{
|
||||
$IPBHTML .= "<p>Ошибка: $msg</p>\n";
|
||||
$IPBHTML .= "<p>Ошибка: {$msg}</p>\n";
|
||||
}
|
||||
|
||||
foreach( $warnings as $msg )
|
||||
{
|
||||
$IPBHTML .= "<p>Предупреждение: $msg</p>\n";
|
||||
$IPBHTML .= "<p>Предупреждение: {$msg}</p>\n";
|
||||
}
|
||||
|
||||
|
||||
@@ -1526,7 +1619,7 @@ $errors = $this->registry->output->fetchWarnings();
|
||||
$HTML = <<<EOF
|
||||
<script type='text/javascript'>
|
||||
//<![CDATA[
|
||||
setTimeout("form_redirect()",2000);
|
||||
setTimeout("form_redirect()",100);
|
||||
|
||||
function form_redirect()
|
||||
{
|
||||
@@ -1597,21 +1690,9 @@ $IPBHTML = <<<EOF
|
||||
|
||||
<b>Воспользоваться инструкциями по перекодированию базы данных через SSH</b>
|
||||
</div>
|
||||
|
||||
<div class='message unspecific'>
|
||||
<a href='http://wiki.iblink.ru/sources/db/mysqlcharsetconversion'>Ознакомиться с инструкциями по перекодированию базы форума</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<br />
|
||||
<b>Заказать услугу по конвертации базы форума в нашем <a href="http://external.iblink.ru/clientarea">клиент-центре</a>.
|
||||
</b>
|
||||
<br /><br />
|
||||
После того как ваша база будет в правильной кодировке, повторно запустите скрипт обновления.
|
||||
</div>
|
||||
</div>
|
||||
EOF;
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user