diff options
author | nomind60s <nomind60s@users.noreply.github.com> | 2017-02-17 13:44:42 -0700 |
---|---|---|
committer | nomind60s <nomind60s@users.noreply.github.com> | 2017-02-17 15:30:02 -0700 |
commit | c06f4756eca4dfbbdad8984a62976745aeb183dd (patch) | |
tree | fada609f0d1ad9c54c1c42923859c6fd6dcaa80b | |
parent | b567c6e2414d069ba54f7a924c952069aa115237 (diff) | |
download | forums-c06f4756eca4dfbbdad8984a62976745aeb183dd.tar forums-c06f4756eca4dfbbdad8984a62976745aeb183dd.tar.gz forums-c06f4756eca4dfbbdad8984a62976745aeb183dd.tar.bz2 forums-c06f4756eca4dfbbdad8984a62976745aeb183dd.tar.xz forums-c06f4756eca4dfbbdad8984a62976745aeb183dd.zip |
[ticket/15097] Add PHP version to Board statistics
The ACP main page shows the phpBB version and the database version,
but didn't show the PHP version.
With this change the PHP version is displayed as part of the
Board statistics.
PHPBB3-15097
-rw-r--r-- | phpBB/adm/style/acp_main.html | 4 | ||||
-rw-r--r-- | phpBB/includes/acp/acp_main.php | 1 | ||||
-rw-r--r-- | phpBB/language/en/acp/common.php | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/adm/style/acp_main.html b/phpBB/adm/style/acp_main.html index 1bdb7b8d2a..944cf10ea5 100644 --- a/phpBB/adm/style/acp_main.html +++ b/phpBB/adm/style/acp_main.html @@ -167,6 +167,10 @@ <td> </td> <!-- ENDIF --> </tr> + <tr> + <td>{L_PHP_VERSION}{L_COLON} </td> + <td><strong>{PHP_VERSION}</strong></td> + </tr> <!-- ENDIF --> </tbody> </table> diff --git a/phpBB/includes/acp/acp_main.php b/phpBB/includes/acp/acp_main.php index 6e7bd91a86..0c750abc0a 100644 --- a/phpBB/includes/acp/acp_main.php +++ b/phpBB/includes/acp/acp_main.php @@ -569,6 +569,7 @@ class acp_main 'S_TOTAL_ORPHAN' => ($total_orphan === false) ? false : true, 'GZIP_COMPRESSION' => ($config['gzip_compress'] && @extension_loaded('zlib')) ? $user->lang['ON'] : $user->lang['OFF'], 'DATABASE_INFO' => $db->sql_server_info(), + 'PHP_VERSION' => PHP_VERSION, 'BOARD_VERSION' => $config['version'], 'U_ACTION' => $this->u_action, diff --git a/phpBB/language/en/acp/common.php b/phpBB/language/en/acp/common.php index 562b446f8a..3cb2828d09 100644 --- a/phpBB/language/en/acp/common.php +++ b/phpBB/language/en/acp/common.php @@ -373,6 +373,7 @@ $lang = array_merge($lang, array( 'NUMBER_USERS' => 'Number of users', 'NUMBER_ORPHAN' => 'Orphan attachments', + 'PHP_VERSION' => 'PHP version', 'PHP_VERSION_OLD' => 'The version of PHP on this server (%1$s) will no longer be supported by future versions of phpBB. The minimum required version will be PHP %2$s. %3$sDetails%4$s', 'POSTS_PER_DAY' => 'Posts per day', |