[ticket/13346] Fix indentation, spacing and missing divs

[PHPBB3-13346](https://tracker.phpbb.com/browse/PHPBB3-13346)