aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template/compile.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/11435] Create new template filter option (cleanup)Nathan Guse2013-05-201-5/+34
| | | | | | | This allows us to only run cleanup on the last run of template compilation and not cleanup during event parsing PHPBB3-11435
* Merge remote-tracking branch 'p/feature/template-events' into developDavid King2012-12-101-3/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Oleg Pudeyev (36) and others # Via Oleg Pudeyev * p/feature/template-events: (47 commits) [feature/template-events] Pass arguments in correct order. [feature/template-events] Order extensions in mock extension manager. [feature/template-events] Changes per imkingdavid's review. [feature/template-events] Make style names private on template. [feature/template-events] Test for event that is defined in parent style only. [feature/template-events] Specify style names, add inheritance tests. [feature/template-events] Normalize expected directory trees. [feature/template-events] Allow dataset to be correctly selectable. [feature/template-events] Dataset for template event testing with inheritance. [feature/template-events] Use style names array in template filter. [feature/template-events] Generate style names array in set_style. [feature/template-events] Convert a single style name to array of them. [feature/template-events] Chase dependency injection for template context. [feature/template-events] Adjust template events test to use the dataset. [feature/template-events] Create a dataset for template event tests. [feature/template-events] Indentation fix. [feature/template-events] Cosmetic changes. [feature/template-events] Wording: wrongly -> improperly. [feature/template-events] Indentation fix. [feature/template-events] Rename template_name to style_name. ...
| * [feature/template-events] Changes per imkingdavid's review.Oleg Pudeyev2012-11-171-1/+1
| | | | | | | | PHPBB3-9550
| * [feature/template-events] Convert a single style name to array of them.Oleg Pudeyev2012-11-171-3/+3
| | | | | | | | | | | | | | This allows template code to know the entire style hierarchy for templates being rendered. PHPBB3-9550
| * [feature/template-events] Rename template_name to style_name.Oleg Pudeyev2012-11-171-3/+3
| | | | | | | | | | | | | | "Style name" makes a lot more sense and should be in line with recent style/template changes. PHPBB3-9550
| * [feature/template-events] Handle user access correctly.Oleg Pudeyev2012-11-171-1/+3
| | | | | | | | | | | | | | | | Pass through $user from template to filter. Allow $user to be null for standalone usage of the template engine. PHPBB3-9550
| * [feature/template-events] Pass top-level template name to template filter.Oleg Pudeyev2012-11-171-1/+3
| | | | | | | | | | | | This will be used to invoke template-specific hooks. PHPBB3-9550
| * [feature/template-events] Add template_compile to template filter params.Oleg Pudeyev2012-11-171-0/+1
| | | | | | | | PHPBB3-9550
| * [feature/template-events] Inject extension manager into template class.Oleg Pudeyev2012-11-171-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Template class passes extension manager to template compiler. Template compiler passes extension manager to template filter. Template filter will use extension manager to locate hooks as it is compiling templates. All extension manager arguments are optional. If an extension manager is not given, template hooks will not be invoked. PHPBB3-9550
* | [ticket/10103] Convert the rest of the tree to flock class.Oleg Pudeyev2012-12-041-3/+5
| | | | | | | | PHPBB3-10103
* | [ticket/11227] @return void -> @return null, per coding guidelines.Oleg Pudeyev2012-11-301-1/+1
|/ | | | PHPBB3-11227
* [ticket/10756] Renaming template classesVjacheslav Trushkin2012-04-191-2/+2
| | | | | | Renaming template classes from phpbb_style_template_ to phpbb_template_ PHPBB3-10756
* [ticket/10756] Moving template classesVjacheslav Trushkin2012-04-191-0/+128
| | | | | | Moving template class files from includes/style/ to includes/template/ and removing template_ file prefix PHPBB3-10756
* [feature/merging-style-components] Moving template classes to styleVjacheslav Trushkin2012-03-141-122/+0
| | | | | | Moving includes/template/ to includes/style/, adding template_ prefix to classes that deal only with templates PHPBB3-10632
* [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-311-1/+1
| | | | PHPBB3-9916
* [feature/template-engine] Remaining documentation.Oleg Pudeyev2011-08-071-0/+8
| | | | PHPBB3-9726
* [feature/template-engine] Refactor $config dependency out of the filterIgor Wiedler2011-07-101-1/+13
| | | | | | | | | | 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] Fix some commentsIgor Wiedler2011-07-101-15/+1
| | | | PHPBB3-9726
* [feature/template-engine] Delete @version everywhere.Oleg Pudeyev2011-05-141-1/+0
| | | | | | This is not used since the switch to git. PHPBB3-9726
* [feature/template-engine] Moved phpbb_template_filter into own file.Oleg Pudeyev2011-05-141-831/+0
| | | | PHPBB3-9726
* [feature/template-engine] Delete @access everywhere.Oleg Pudeyev2011-05-141-12/+0
| | | | | | Access specification in php 5 is done directly on functions/properties. PHPBB3-9726
* [feature/template-engine] Make INCLUDEPHP relative to board root.Oleg Pudeyev2011-05-121-1/+1
| | | | PHPBB3-9726
* [feature/template-engine] Add back IN_PHPBB preamble.Oleg Pudeyev2011-05-121-1/+20
| | | | PHPBB3-9726
* [feature/template-engine] Moved template classes to subdirectory.Oleg Pudeyev2011-05-081-0/+941
PHPBB3-9726