[ticket/9341]Correctely named template vars

PHPBB3-9341