diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 1cc71558a8..823ec15562 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -191,6 +191,8 @@ p a {
  • [Feature] Let the user choose how to update modified files (merging, using new file or using old file) within automatic updater
  • [Fix] An extra \ in an Oracle SQL regex was corrected (Bug #13151)
  • [Fix] Added a missing global to get_file() (Bug #13149)
  • +
  • [Fix] Hide autologin box when autologin is disabled (Bug #13093)
  • +
  • [Fix] Account for the forum id not being part of the request uri in prosilver (Bug #13121)
  • diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index caf26bf379..d4947a9ca0 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2235,7 +2235,6 @@ function login_box($redirect = '', $l_explain = '', $l_success = '', $admin = fa 'U_PRIVACY' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=privacy'), 'S_DISPLAY_FULL_LOGIN' => ($s_display) ? true : false, - 'S_AUTOLOGIN_ENABLED' => ($config['allow_autologin']) ? true : false, 'S_LOGIN_ACTION' => (!$admin) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=login') : append_sid("index.$phpEx", false, true, $user->session_id), // Needs to stay index.$phpEx because we are within the admin directory 'S_HIDDEN_FIELDS' => $s_hidden_fields, @@ -4134,6 +4133,7 @@ function page_header($page_title = '', $display_online_list = true) 'U_RESTORE_PERMISSIONS' => ($user->data['user_perm_from'] && $auth->acl_get('a_switchperm')) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=restore_perm') : '', 'S_USER_LOGGED_IN' => ($user->data['user_id'] != ANONYMOUS) ? true : false, + 'S_AUTOLOGIN_ENABLED' => ($config['allow_autologin']) ? true : false, 'S_BOARD_DISABLED' => ($config['board_disable']) ? true : false, 'S_REGISTERED_USER' => $user->data['is_registered'], 'S_IS_BOT' => $user->data['is_bot'], diff --git a/phpBB/styles/prosilver/template/index_body.html b/phpBB/styles/prosilver/template/index_body.html index b2f43b79aa..2a804b21cc 100644 --- a/phpBB/styles/prosilver/template/index_body.html +++ b/phpBB/styles/prosilver/template/index_body.html @@ -19,8 +19,11 @@

    {L_LOGIN_LOGOUT}  •  {L_REGISTER}

      -   | - +   + + |
    diff --git a/phpBB/styles/prosilver/template/viewforum_body.html b/phpBB/styles/prosilver/template/viewforum_body.html index c950055574..6845736c2e 100644 --- a/phpBB/styles/prosilver/template/viewforum_body.html +++ b/phpBB/styles/prosilver/template/viewforum_body.html @@ -169,7 +169,7 @@ -
    +
    {L_PREVIOUS} {L_NEXT} diff --git a/phpBB/styles/subsilver2/template/index_body.html b/phpBB/styles/subsilver2/template/index_body.html index 1a78fff7c7..024c597003 100644 --- a/phpBB/styles/subsilver2/template/index_body.html +++ b/phpBB/styles/subsilver2/template/index_body.html @@ -75,7 +75,7 @@

    {L_LOGIN_LOGOUT}

    - {L_USERNAME}:   {L_PASSWORD}:   {L_LOG_ME_IN}   + {L_USERNAME}:   {L_PASSWORD}:   {L_LOG_ME_IN}