mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.2.x'
This commit is contained in:
commit
f8978f23a6
5 changed files with 55 additions and 2 deletions
|
@ -14,7 +14,11 @@
|
||||||
|
|
||||||
<p>{L_ADMIN_INTRO}</p>
|
<p>{L_ADMIN_INTRO}</p>
|
||||||
|
|
||||||
<!-- IF S_VERSIONCHECK_FAIL -->
|
<!-- IF S_UPDATE_INCOMPLETE -->
|
||||||
|
<div class="errorbox">
|
||||||
|
<p>{L_UPDATE_INCOMPLETE} <a href="{U_VERSIONCHECK}">{L_MORE_INFORMATION}</a></p>
|
||||||
|
</div>
|
||||||
|
<!-- ELSEIF S_VERSIONCHECK_FAIL -->
|
||||||
<div class="errorbox notice">
|
<div class="errorbox notice">
|
||||||
<p>{L_VERSIONCHECK_FAIL}</p>
|
<p>{L_VERSIONCHECK_FAIL}</p>
|
||||||
<p>{VERSIONCHECK_FAIL_REASON}</p>
|
<p>{VERSIONCHECK_FAIL_REASON}</p>
|
||||||
|
|
|
@ -6,11 +6,16 @@
|
||||||
|
|
||||||
<p>{L_VERSION_CHECK_EXPLAIN}</p>
|
<p>{L_VERSION_CHECK_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<!-- IF S_UPDATE_INCOMPLETE -->
|
||||||
|
<div class="errorbox">
|
||||||
|
<p>{L_UPDATE_INCOMPLETE} {L_UPDATE_INCOMPLETE_MORE}</p>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
<!-- IF S_UP_TO_DATE -->
|
<!-- IF S_UP_TO_DATE -->
|
||||||
<div class="successbox">
|
<div class="successbox">
|
||||||
<p>{L_VERSION_UP_TO_DATE_ACP} - <a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a></p>
|
<p>{L_VERSION_UP_TO_DATE_ACP} - <a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a></p>
|
||||||
</div>
|
</div>
|
||||||
<!-- ELSE -->
|
<!-- ELSEIF not S_UPDATE_INCOMPLETE -->
|
||||||
<div class="errorbox">
|
<div class="errorbox">
|
||||||
<p>{L_VERSION_NOT_UP_TO_DATE_ACP} - <a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a></p>
|
<p>{L_VERSION_NOT_UP_TO_DATE_ACP} - <a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -18,10 +23,21 @@
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend></legend>
|
<legend></legend>
|
||||||
|
<!-- IF not S_UPDATE_INCOMPLETE -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label>{L_CURRENT_VERSION}</label></dt>
|
<dt><label>{L_CURRENT_VERSION}</label></dt>
|
||||||
<dd><strong>{CURRENT_VERSION}</strong></dd>
|
<dd><strong>{CURRENT_VERSION}</strong></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_FILES_VERSION}</label></dt>
|
||||||
|
<dd><strong>{FILES_VERSION}</strong></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_DATABASE_VERSION}</label></dt>
|
||||||
|
<dd><strong>{CURRENT_VERSION}</strong></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<!-- BEGIN updates_available -->
|
<!-- BEGIN updates_available -->
|
||||||
|
@ -38,6 +54,11 @@
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<!-- END updates_available -->
|
<!-- END updates_available -->
|
||||||
|
|
||||||
|
<!-- IF S_UPDATE_INCOMPLETE -->
|
||||||
|
{INCOMPLETE_INSTRUCTIONS}
|
||||||
|
<br>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
<!-- IF not S_UP_TO_DATE -->
|
<!-- IF not S_UP_TO_DATE -->
|
||||||
{UPDATE_INSTRUCTIONS}
|
{UPDATE_INSTRUCTIONS}
|
||||||
<br /><br />
|
<br /><br />
|
||||||
|
|
|
@ -459,6 +459,12 @@ class acp_main
|
||||||
$template->assign_var('S_VERSION_UP_TO_DATE', true);
|
$template->assign_var('S_VERSION_UP_TO_DATE', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Incomplete update?
|
||||||
|
if (phpbb_version_compare($config['version'], PHPBB_VERSION, '<'))
|
||||||
|
{
|
||||||
|
$template->assign_var('S_UPDATE_INCOMPLETE', true);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notice admin
|
* Notice admin
|
||||||
*
|
*
|
||||||
|
|
|
@ -63,5 +63,17 @@ class acp_update
|
||||||
|
|
||||||
'UPDATE_INSTRUCTIONS' => sprintf($user->lang['UPDATE_INSTRUCTIONS'], $update_link),
|
'UPDATE_INSTRUCTIONS' => sprintf($user->lang['UPDATE_INSTRUCTIONS'], $update_link),
|
||||||
));
|
));
|
||||||
|
|
||||||
|
// Incomplete update?
|
||||||
|
if (phpbb_version_compare($config['version'], PHPBB_VERSION, '<'))
|
||||||
|
{
|
||||||
|
$database_update_link = append_sid($phpbb_root_path . 'install/database_update.' . $phpEx);
|
||||||
|
|
||||||
|
$template->assign_vars(array(
|
||||||
|
'S_UPDATE_INCOMPLETE' => true,
|
||||||
|
'FILES_VERSION' => PHPBB_VERSION,
|
||||||
|
'INCOMPLETE_INSTRUCTIONS' => $user->lang('UPDATE_INCOMPLETE_EXPLAIN', $database_update_link),
|
||||||
|
));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -178,6 +178,7 @@ $lang = array_merge($lang, array(
|
||||||
'DB_PASSWORD' => 'Database password',
|
'DB_PASSWORD' => 'Database password',
|
||||||
'DB_NAME' => 'Database name',
|
'DB_NAME' => 'Database name',
|
||||||
'DB_USERNAME' => 'Database username',
|
'DB_USERNAME' => 'Database username',
|
||||||
|
'DATABASE_VERSION' => 'Database version',
|
||||||
'TABLE_PREFIX' => 'Prefix for tables in database',
|
'TABLE_PREFIX' => 'Prefix for tables in database',
|
||||||
'TABLE_PREFIX_EXPLAIN' => 'The prefix must start with a letter and must only contain letters, numbers and underscores.',
|
'TABLE_PREFIX_EXPLAIN' => 'The prefix must start with a letter and must only contain letters, numbers and underscores.',
|
||||||
|
|
||||||
|
@ -213,6 +214,14 @@ $lang = array_merge($lang, array(
|
||||||
//
|
//
|
||||||
'EMAIL_CONFIG' => 'E-mail configuration',
|
'EMAIL_CONFIG' => 'E-mail configuration',
|
||||||
|
|
||||||
|
// Package info
|
||||||
|
'PACKAGE_VERSION' => 'Package version installed',
|
||||||
|
'UPDATE_INCOMPLETE' => 'Your phpBB installation has not been correctly updated.',
|
||||||
|
'UPDATE_INCOMPLETE_MORE' => 'Please read the information below in order to fix this error.',
|
||||||
|
'UPDATE_INCOMPLETE_EXPLAIN' => '<h1>Incomplete update</h1>
|
||||||
|
|
||||||
|
<p>We noticed that the last update of your phpBB installation hasn’t been completed. Visit the <a href="%1$s" title="%1$s">database_update script</a> and run it. If it is missing, please <a href="https://www.phpbb.com/downloads/" title="phpBB downloads">download your package version</a>, upload the "install" folder to your phpBB root directory (where your config.php file is) and <a href="%1$s" title="%1$s">run the database update script</a>.</p>',
|
||||||
|
|
||||||
//
|
//
|
||||||
// Server data
|
// Server data
|
||||||
//
|
//
|
||||||
|
@ -432,6 +441,7 @@ $lang = array_merge($lang, array(
|
||||||
'FILES_NOT_MODIFIED_EXPLAIN' => 'The following files are not modified and represent the original phpBB files from the version you want to update from.',
|
'FILES_NOT_MODIFIED_EXPLAIN' => 'The following files are not modified and represent the original phpBB files from the version you want to update from.',
|
||||||
'FILES_UP_TO_DATE' => 'Already updated files',
|
'FILES_UP_TO_DATE' => 'Already updated files',
|
||||||
'FILES_UP_TO_DATE_EXPLAIN' => 'The following files are already up to date and do not need to be updated.',
|
'FILES_UP_TO_DATE_EXPLAIN' => 'The following files are already up to date and do not need to be updated.',
|
||||||
|
'FILES_VERSION' => 'Files Version',
|
||||||
'TOGGLE_DISPLAY' => 'View/Hide file list',
|
'TOGGLE_DISPLAY' => 'View/Hide file list',
|
||||||
|
|
||||||
// File updater
|
// File updater
|
||||||
|
|
Loading…
Add table
Reference in a new issue