aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template/path_provider.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-311-1/+1
| | | | PHPBB3-9916
* [feature/extension-manager] Clear up docs of extension related template changesNils Adermann2011-11-181-0/+3
| | | | PHPBB3-10323
* [feature/extension-manager] Correctly reset paths in set_templateNils Adermann2011-09-291-1/+1
| | | | PHPBB3-10323
* [feature/extension-manager] Make sure named styles are loaded from root dirNils Adermann2011-09-291-2/+4
| | | | PHPBB3-10323
* [feature/extension-manager] Refactoring the structure of extension providerNils Adermann2011-09-291-58/+16
| | | | PHPBB3-10323
* [feature/extension-manager] Don't use the extension manager during installNils Adermann2011-09-291-9/+11
| | | | | | Template needs to be able to work without extensions. PHPBB3-10323
* [feature/extension-manager] Add support for templates in extensions.Nils Adermann2011-09-291-0/+137
This commit adds a template path provider to separate the process of locating (cached) paths in extensions from the template engine. The locator is supplied with a list of paths from the path provider. Admin templates can now be created in ext/<ext>/adm/style/ and regular templates go into ext/<ext>/styles/<style>/template/. Extension templates override regular templates. So if an extension supplies a file with a name used in phpBB, the extension's file will be used. A side-effect of this commit: Locator and Provider are now able to deal with arbitrary levels of template inheritance. So we can expose this through phpbb_template if we choose to, and allow styles to inherit from inherited styles. PHPBB3-10323