Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-7305

Two formatting issues in acp_icons

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.2
    • 3.0.1
    • ACP
    • None
    • PHP Environment:
      Database:

      Around line 450 ther is:

      				$errormsgs = '<br />';
      				foreach ($errors as $img => $error)
      				{
      					$errormsgs .= '<br />' . sprintf($user->lang[$error], $img);
      				}
      				if ($action == 'modify')
      				{
      					trigger_error($user->lang[$suc_lang . '_EDITED'] . $errormsgs . adm_back_link($this->u_action), $level);
      				}
      				else
      				{
      					trigger_error($user->lang[$suc_lang . '_ADDED'] . $errormsgs .adm_back_link($this->u_action), $level);
      				}

      Since adm_back_link already adds two <br />'s it adds a too big space if there are no errors.

      Also, there is a missing space before the second adm_back_link().

            Kellanved Kellanved [X] (Inactive)
            igorw Igor Wiedler [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: