[ticket/12155] Move icon class directly to <a> and use <span> consistently.

PHPBB3-12155
[ticket/12155] Combine the post and topic/PM button icons into a single sprite

PHPBB3-12155
[ticket/12155] Fix misplaced semicolon and ensure that value comparison works.

PHPBB3-12155