[ticket/12054] Update index_body_linklist_before/after template events

PHPBB3-12054