[Ticket/9341] Correctly named template vars

Here the template vars are named correctly strictly according to coding guidelines http://tracker.phpbb.com/browse/PHPBB3-9341

PHPBB3-9341