aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_test_case.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'develop-olympus' into developAndreas Fischer2013-06-271-4/+15
| | | | | | | | * develop-olympus: [ticket/11618] Replace glob() with scandir() and string matching Conflicts: tests/template/template_test.php
* [feature/template-events] Convert a single style name to array of them.Oleg Pudeyev2012-11-171-1/+1
| | | | | | | This allows template code to know the entire style hierarchy for templates being rendered. PHPBB3-9550
* [ticket/10933] Dependency inject template context.Oleg Pudeyev2012-11-021-1/+1
| | | | PHPBB3-10933
* [ticket/10973] Drop all require_once for mocks. Use autoloading.Andreas Fischer2012-07-081-1/+0
| | | | PHPBB3-10973
* [ticket/10800] Changing template paths in testsVjacheslav Trushkin2012-04-291-1/+3
| | | | | | Changing template paths in tests from absolute to relative PHPBB3-10800
* [ticket/10756] Renaming phpbb_style_template to phpbb_templateVjacheslav Trushkin2012-04-191-1/+1
| | | | | | Renaming phpbb_style_template to phpbb_template PHPBB3-10756
* [ticket/10756] Removing path provider from template classVjacheslav Trushkin2012-04-191-1/+1
| | | | | | Removing path provider from template class because it is not used by template class PHPBB3-10756
* [feature/merging-style-components] Fix for unit testsVjacheslav Trushkin2012-03-311-1/+1
| | | | | | Fixing typo in template unit tests PHPBB3-10632
* [feature/merging-style-components] Moving template initialization out of styleVjacheslav Trushkin2012-03-311-2/+2
| | | | | | Moving template initialization out of style constructor PHPBB3-10632
* [feature/merging-style-components] Initializing locator and provider separatelyVjacheslav Trushkin2012-03-311-1/+5
| | | | | | Moving locator and path provider initialization out of style class PHPBB3-10632
* [feature/merging-style-components] Updating test casesVjacheslav Trushkin2012-03-151-1/+1
| | | | | | Updating code in test cases for new template classes. PHPBB3-10632
* [feature/merging-style-components] Creating style classVjacheslav Trushkin2012-03-151-5/+3
| | | | | | Creating phpbb_style class, changing template initialization to style initialization PHPBB3-10632
* [feature/merging-style-components] Renaming template classesVjacheslav Trushkin2012-03-141-3/+3
| | | | | | Changing template classes prefixes from phpbb_template to phpbb_style (for classes that will work with styles) or phpbb_style_template (for classes that are specific to templates) PHPBB3-10632
* [ticket/10685] Refactor template test defaults for php 5.4 compatibility.Oleg Pudeyev2012-03-061-3/+8
| | | | PHPBB3-10685
* [ticket/9916] Updating license in non-distributed filesUnknown2012-01-021-1/+1
| | | | PHPBB3-9916
* [feature/extension-manager] Refactoring the structure of extension providerNils Adermann2011-09-291-1/+1
| | | | PHPBB3-10323
* [feature/extension-manager] Add support for templates in extensions.Nils Adermann2011-09-291-1/+4
| | | | | | | | | | | | | | | | | | 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
* Merge branch 'develop-olympus' into developIgor Wiedler2011-09-051-2/+3
| | | | | | | | * develop-olympus: [ticket/10354] Include cache directory path in unwritable message. Conflicts: tests/template/template_test.php
* [ticket/10355] Correctly end output buffering in template tests.Oleg Pudeyev2011-09-051-2/+16
| | | | | | This code was copied verbatim from develop-olympus. PHPBB3-10355
* [feature/template-engine] Dependency inject locator into template.Oleg Pudeyev2011-08-091-1/+3
| | | | PHPBB3-9726
* [feature/template-engine] Remove $include_once argument of display()Igor Wiedler2011-07-101-1/+1
| | | | PHPBB3-9726
* [feature/template-engine] Refactor $config dependency out of the filterIgor Wiedler2011-07-101-6/+10
| | | | | | | | | | The template stream filter no longer depends on the $config global. Instead it uses a 'allow_php' param that is passed via stream_bucket_append's last argument. Tests also adjusted. PHPBB3-9726
* [feature/template-engine] Move template.php to includes/templateIgor Wiedler2011-07-101-1/+0
| | | | | | This allows making use of autoloading. PHPBB3-9726
* [feature/template-engine] Added a test for inclusion of php files from subdir.Oleg Pudeyev2011-05-141-0/+113
PHPBB3-9726