[ticket/11785] Revert change that added _listener to template events

PHPBB3-11785