diff --git a/phpBB/adm/style/acp_main.html b/phpBB/adm/style/acp_main.html index 46d65df7a2..7d3b6945ac 100644 --- a/phpBB/adm/style/acp_main.html +++ b/phpBB/adm/style/acp_main.html @@ -40,6 +40,12 @@ + +
+

{L_PHP_VERSION_OLD}

+
+ + diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 8f947e2f35..af2c4fd78f 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -164,10 +164,10 @@
  • [Change] SQLite is no longer autoloaded by the installer. (Bug #56105)
  • [Change] Friends and foes will not show up as private message rule options if their respective UCP modules are disabled. (Bug #51155)
  • [Change] Offer for guests to log in for egosearch and unreadposts search before the search permissions check. (Bug #51585)
  • +
  • [Change] Show warning box for users of PHP < 5.2.0 about phpBB ending support.
  • [Change] Disallow deleting the last question of the Q&A CAPTCHA.
  • [Change] Tweak Q&A CAPTCHA garbage collection.
  • [Change] Show a proper preview for the Q&A CAPTCHA. (Bug #56365)
  • -
  • [Feature] Ability to use HTTP authentication in ATOM feeds by passing the GET parameter "auth=http".
  • diff --git a/phpBB/includes/acp/acp_main.php b/phpBB/includes/acp/acp_main.php index cd83c52e01..b8712b2a3d 100644 --- a/phpBB/includes/acp/acp_main.php +++ b/phpBB/includes/acp/acp_main.php @@ -398,6 +398,14 @@ class acp_main // Version check $user->add_lang('install'); + if ($auth->acl_get('a_server') && version_compare(PHP_VERSION, '5.2.0', '<')) + { + $template->assign_vars(array( + 'S_PHP_VERSION_OLD' => true, + 'L_PHP_VERSION_OLD' => sprintf($user->lang['PHP_VERSION_OLD'], '', ''), + )); + } + $latest_version_info = false; if (($latest_version_info = obtain_latest_version_info(request_var('versioncheck_force', false))) === false) { diff --git a/phpBB/language/en/acp/common.php b/phpBB/language/en/acp/common.php index 77f388c8a4..bca19c7f12 100644 --- a/phpBB/language/en/acp/common.php +++ b/phpBB/language/en/acp/common.php @@ -339,6 +339,8 @@ $lang = array_merge($lang, array( 'NUMBER_USERS' => 'Number of users', 'NUMBER_ORPHAN' => 'Orphan attachments', + 'PHP_VERSION_OLD' => 'The version of PHP on this server will no longer be supported by future versions of phpBB. %sDetails%s', + 'POSTS_PER_DAY' => 'Posts per day', 'PURGE_CACHE' => 'Purge the cache',
    {L_FORUM_STATS}