mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@8215 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
56a1db7d7b
commit
2adef2c457
2 changed files with 22 additions and 12 deletions
10
phpBB/download/index.htm
Executable file
10
phpBB/download/index.htm
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title></title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body bgcolor="#FFFFFF" text="#000000">
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -184,8 +184,8 @@ class install_convert extends module
|
||||||
'L_CONTINUE' => $lang['CONTINUE_OLD_CONVERSION'],
|
'L_CONTINUE' => $lang['CONTINUE_OLD_CONVERSION'],
|
||||||
'S_CONTINUE' => true,
|
'S_CONTINUE' => true,
|
||||||
|
|
||||||
'U_NEW_ACTION' => $this->p_master->module_url . "?mode={$this->mode}&sub=intro&new_conv=1",
|
'U_NEW_ACTION' => $this->p_master->module_url . "?mode={$this->mode}&sub=intro&new_conv=1&language=$language",
|
||||||
'U_CONTINUE_ACTION' => $this->p_master->module_url . "?mode={$this->mode}&sub=in_progress&tag={$options['tag']}{$options['step']}",
|
'U_CONTINUE_ACTION' => $this->p_master->module_url . "?mode={$this->mode}&sub=in_progress&tag={$options['tag']}{$options['step']}&language=$language",
|
||||||
));
|
));
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
@ -261,7 +261,7 @@ class install_convert extends module
|
||||||
*/
|
*/
|
||||||
function list_convertors($sub)
|
function list_convertors($sub)
|
||||||
{
|
{
|
||||||
global $lang, $template, $phpbb_root_path, $phpEx;
|
global $lang, $language, $template, $phpbb_root_path, $phpEx;
|
||||||
|
|
||||||
$this->page_title = $lang['SUB_INTRO'];
|
$this->page_title = $lang['SUB_INTRO'];
|
||||||
|
|
||||||
|
@ -327,7 +327,7 @@ class install_convert extends module
|
||||||
'SOFTWARE' => $convertors[$index]['forum_name'],
|
'SOFTWARE' => $convertors[$index]['forum_name'],
|
||||||
'VERSION' => $convertors[$index]['version'],
|
'VERSION' => $convertors[$index]['version'],
|
||||||
|
|
||||||
'U_CONVERT' => $this->p_master->module_url . "?mode={$this->mode}&sub=settings&tag=" . $convertors[$index]['tag'],
|
'U_CONVERT' => $this->p_master->module_url . "?mode={$this->mode}&language=$language&sub=settings&tag=" . $convertors[$index]['tag'],
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -336,7 +336,7 @@ class install_convert extends module
|
||||||
*/
|
*/
|
||||||
function get_convert_settings($sub)
|
function get_convert_settings($sub)
|
||||||
{
|
{
|
||||||
global $lang, $template, $db, $phpbb_root_path, $phpEx, $config, $cache;
|
global $lang, $language, $template, $db, $phpbb_root_path, $phpEx, $config, $cache;
|
||||||
|
|
||||||
require($phpbb_root_path . 'config.' . $phpEx);
|
require($phpbb_root_path . 'config.' . $phpEx);
|
||||||
require($phpbb_root_path . 'includes/constants.' . $phpEx);
|
require($phpbb_root_path . 'includes/constants.' . $phpEx);
|
||||||
|
@ -528,7 +528,7 @@ class install_convert extends module
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'L_SUBMIT' => $lang['BEGIN_CONVERT'],
|
'L_SUBMIT' => $lang['BEGIN_CONVERT'],
|
||||||
// 'S_HIDDEN' => $s_hidden_fields,
|
// 'S_HIDDEN' => $s_hidden_fields,
|
||||||
'U_ACTION' => $this->p_master->module_url . "?mode={$this->mode}&sub=in_progress&tag=$convertor_tag",
|
'U_ACTION' => $this->p_master->module_url . "?mode={$this->mode}&sub=in_progress&tag=$convertor_tag&language=$language",
|
||||||
));
|
));
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
@ -576,7 +576,7 @@ class install_convert extends module
|
||||||
'TITLE' => $lang['STAGE_SETTINGS'],
|
'TITLE' => $lang['STAGE_SETTINGS'],
|
||||||
'BODY' => $lang['CONV_OPTIONS_BODY'],
|
'BODY' => $lang['CONV_OPTIONS_BODY'],
|
||||||
'L_SUBMIT' => $lang['BEGIN_CONVERT'],
|
'L_SUBMIT' => $lang['BEGIN_CONVERT'],
|
||||||
'U_ACTION' => $this->p_master->module_url . "?mode={$this->mode}&sub=settings&tag=$convertor_tag",
|
'U_ACTION' => $this->p_master->module_url . "?mode={$this->mode}&sub=settings&tag=$convertor_tag&language=$language",
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -858,7 +858,7 @@ class install_convert extends module
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'L_SUBMIT' => $user->lang['INSTALL_TEST'],
|
'L_SUBMIT' => $user->lang['INSTALL_TEST'],
|
||||||
'U_ACTION' => $this->p_master->module_url . "?mode={$this->mode}&sub=in_progress&tag={$convert->convertor_tag}",
|
'U_ACTION' => $this->p_master->module_url . "?mode={$this->mode}&sub=in_progress&tag={$convert->convertor_tag}&language=$language",
|
||||||
));
|
));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1530,7 +1530,7 @@ class install_convert extends module
|
||||||
*/
|
*/
|
||||||
function save_convert_progress($step)
|
function save_convert_progress($step)
|
||||||
{
|
{
|
||||||
global $convert;
|
global $convert, $language;
|
||||||
|
|
||||||
// Save convertor Status
|
// Save convertor Status
|
||||||
set_config('convert_progress', serialize(array(
|
set_config('convert_progress', serialize(array(
|
||||||
|
@ -1551,7 +1551,7 @@ class install_convert extends module
|
||||||
'dbpasswd' => $convert->src_dbpasswd,
|
'dbpasswd' => $convert->src_dbpasswd,
|
||||||
)), true);
|
)), true);
|
||||||
|
|
||||||
return $this->p_master->module_url . "?mode={$this->mode}&sub=in_progress&tag={$convert->convertor_tag}$step";
|
return $this->p_master->module_url . "?mode={$this->mode}&sub=in_progress&tag={$convert->convertor_tag}$step&language=$language";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1559,7 +1559,7 @@ class install_convert extends module
|
||||||
*/
|
*/
|
||||||
function finish_conversion()
|
function finish_conversion()
|
||||||
{
|
{
|
||||||
global $db, $phpbb_root_path, $convert, $config, $user, $template;
|
global $db, $phpbb_root_path, $convert, $config, $language, $user, $template;
|
||||||
|
|
||||||
$db->sql_query('DELETE FROM ' . CONFIG_TABLE . "
|
$db->sql_query('DELETE FROM ' . CONFIG_TABLE . "
|
||||||
WHERE config_name = 'convert_progress'
|
WHERE config_name = 'convert_progress'
|
||||||
|
@ -1574,7 +1574,7 @@ class install_convert extends module
|
||||||
// And finally, add a note to the log
|
// And finally, add a note to the log
|
||||||
add_log('admin', 'LOG_INSTALL_CONVERTED', $convert->convertor_data['forum_name'], $config['version']);
|
add_log('admin', 'LOG_INSTALL_CONVERTED', $convert->convertor_data['forum_name'], $config['version']);
|
||||||
|
|
||||||
$url = $this->p_master->module_url . "?mode={$this->mode}&sub=final";
|
$url = $this->p_master->module_url . "?mode={$this->mode}&sub=final&language=$language";
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'L_SUBMIT' => $user->lang['FINAL_STEP'],
|
'L_SUBMIT' => $user->lang['FINAL_STEP'],
|
||||||
|
|
Loading…
Add table
Reference in a new issue