[ticket/12026] Correct path for template files

Correct path for template files in MCP and UCP modules, which are added
via extenstions

http://tracker.phpbb.com/browse/PHPBB3-12026

PHPBB3-12026