[ticket/13070] Use old 'template' class for template class hook

PHPBB3-13070
Merge pull request #2982 from marc1706/ticket/13070

[ticket/13070] Use old 'template' class for template class hook

* marc1706/ticket/13070:
  [ticket/13070] Use old 'template' class for template class hook