[ticket/9341] Correctly named template vars

http://tracker.phpbb.com/browse/PHPBB3-9341
PHPBB3-9341