aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template
Commit message (Collapse)AuthorAgeFilesLines
...
| * [feature/template-events] Outline for RUNHOOKS template tag.Oleg Pudeyev2012-11-171-0/+27
| | | | | | | | | | | | Ported to the new develop, hopefully this is still sensible. 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
* Merge remote-tracking branch 'p/ticket/10933' into developIgor Wiedler2012-11-172-80/+47
|\ | | | | | | | | | | | | | | | | | | | | | | * p/ticket/10933: [ticket/10933] Prose for get_first_file_location. [ticket/10933] Remaining documentation for added functions in resource locator [ticket/10933] Update template locator test to use style resource locator. [ticket/10933] Dispose of locate function in template class. [ticket/10933] Add mutators for template_path to style resource locator. [ticket/10933] Delete template_path assignment. [ticket/10933] Delete template_path from template class. [ticket/10933] Add get_first_template_location.
| * [ticket/10933] Prose for get_first_file_location.Oleg Pudeyev2012-11-021-5/+47
| | | | | | | | | | | | | | Also rewrite get_first_template_location prose a little to be less repetitive with get_first_file_location. PHPBB3-10933
| * [ticket/10933] Dispose of locate function in template class.Oleg Pudeyev2012-11-021-54/+0
| | | | | | | | | | | | It had no callers other than the test suite. PHPBB3-10933
| * [ticket/10933] Delete template_path from template class.Oleg Pudeyev2012-11-021-7/+0
| | | | | | | | | | | | template_path is now only present in style resource locator. PHPBB3-10933
| * [ticket/10933] Add get_first_template_location.Oleg Pudeyev2012-11-021-15/+1
| | | | | | | | | | | | | | | | This localizes template_path to style resource locator. locate function on template will be removed in a subsequent commit. PHPBB3-10933
* | Merge remote-tracking branch 'EXreaction/ticket/11189' into developAndreas Fischer2012-11-101-2/+2
|\ \ | | | | | | | | | | | | | | | * EXreaction/ticket/11189: [ticket/11189] Replace DEBUG_EXTRA with DEBUG [ticket/11189] Always log critical errors when in cron or in image output
| * | [ticket/11189] Replace DEBUG_EXTRA with DEBUGNathaniel Guse2012-11-101-2/+2
| |/ | | | | | | PHPBB3-11189
* | Merge pull request #881 from Fyorl/ticket/10970Nils Adermann2012-11-102-16/+51
|\ \ | |/ |/| Allow INCLUDE template macros to accept paths of the form {FOO}/a/{BAR}/c
| * [ticket/10970] Added extra documentation to parse_dynamic_path.Fyorl2012-11-101-1/+2
| | | | | | | | PHPBB3-10970
| * [ticket/10970] Added newline in docblockFyorl2012-08-191-0/+1
| | | | | | | | PHPBB3-10970
| * [ticket/10970] Removed unused $varsFyorl2012-08-101-2/+0
| | | | | | | | PHPBB3-10970
| * [ticket/10970] Fixed a problem with prepending root pathsFyorl2012-07-241-1/+5
| | | | | | | | PHPBB3-10970
| * [ticket/10970] Added missing initialisations and modified the regexFyorl2012-07-241-2/+5
| | | | | | | | | | | | Non-existent variables now become empty strings. PHPBB3-10970
| * [ticket/10970] Added support for forms such as {FOO}bar.{EXT}Fyorl2012-07-081-21/+9
| | | | | | | | PHPBB3-10970
| * [ticket/10970] Paths of the form {FOO}/a/{BAR}/b parsed correctlyFyorl2012-07-081-15/+55
| | | | | | | | | | | | | | | | | | | | A new method to handle this type of path was added and compile_tag_include, compile_tag_include_php and compile_tag_include_js were modified to use it appropriately. Tests were added for these three macros also. PHPBB3-10970
* | [ticket/10933] Dependency inject template context.Oleg Pudeyev2012-11-021-2/+3
| | | | | | | | PHPBB3-10933
* | [ticket/10933] Useful documentation for template locate functionOleg Pudeyev2012-11-021-2/+34
| | | | | | | | PHPBB3-10933
* | [ticket/10933] Typo fixesOleg Pudeyev2012-11-021-1/+1
| | | | | | | | PHPBB3-10933
* | [ticket/10933] Initialize template context when template is constructed.Oleg Pudeyev2012-11-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | There is no apparent reason for either initializing or clearing the context in set_style/set_custom_style. Initially the initialization there was added in 0501640d5db158a010741e27803191ab469834c4, for reasons that presently I do not see. This permits making context property back private. PHPBB3-10933
* | Merge remote-tracking branch 'nickvergessen/ticket/10876' into developDavid King2012-09-081-1/+1
|\ \
| * | [ticket/10876] Update regex to a version which still matches our testsJoas Schilling2012-08-211-1/+1
| | | | | | | | | | | | PHPBB3-10876
| * | [ticket/10876] Revert "add newline after php tag"-regex back to 3.0 versionJoas Schilling2012-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The old regex just results in some additional new lines in the output. So this is only beautifying and considered unworthy in respect to the dying php servers we observed on windows. PHPBB3-10876
* | | [ticket/11043] Allow call_hook() to be called from more than one location.Andreas Fischer2012-08-031-5/+6
|/ / | | | | | | | | | | | | | | Allow the helper function call_hook() of class phpbb_template to be called from more than once location and thus for more than one hook (although there is only one) by adding the method name as a parameter. PHPBB3-11043
* | [ticket/11012] Normalize $phpEx member vars to $php_extIgor Wiedler2012-07-211-4/+4
|/ | | | PHPBB3-11012
* [ticket/10799] Removing global variable from includejsVjacheslav Trushkin2012-05-012-3/+8
| | | | | | Removing global $phpbb_root_path from includejs implementation PHPBB3-10799
* [ticket/10756] Fixing variable declarations in style and template classesVjacheslav Trushkin2012-04-192-18/+12
| | | | | | Fixing variable declaration, removing function from template locator that does not belong there PHPBB3-10756
* [ticket/10756] Renaming phpbb_style_template to phpbb_templateVjacheslav Trushkin2012-04-193-2/+511
| | | | | | Renaming phpbb_style_template to phpbb_template PHPBB3-10756
* [ticket/10756] Creating locator interfaceVjacheslav Trushkin2012-04-191-0/+133
| | | | | | Creating locator interface to be used in template class PHPBB3-10756
* [ticket/10756] Renaming template classesVjacheslav Trushkin2012-04-196-10/+10
| | | | | | Renaming template classes from phpbb_style_template_ to phpbb_template_ PHPBB3-10756
* [ticket/10756] Moving template classesVjacheslav Trushkin2012-04-196-0/+1670
| | | | | | 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-1411-2611/+0
| | | | | | Moving includes/template/ to includes/style/, adding template_ prefix to classes that deal only with templates PHPBB3-10632
* [feature/append_var] Adding append_var template class functionVjacheslav Trushkin2012-03-052-2/+34
| | | | | | Adding append_var template class function PHPBB3-10666
* [ticket/10652] Fixing typo in template classVjacheslav Trushkin2012-02-151-1/+1
| | | | | | Fixing typo in template class that prevents template inheritance from working PHPBB3-10652
* Merge pull request #526 from p/ticket/10500Igor Wiedler2012-02-141-1/+1
|\ | | | | Ticket/10500 Miscellaneous issues in the new template engine
| * [ticket/10500] Use correct class name in @uses.Oleg Pudeyev2011-12-031-1/+1
| | | | | | | | PHPBB3-10500
* | [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-3111-11/+11
|/ | | | PHPBB3-9916
* [feature/extension-manager] Clear up docs of extension related template changesNils Adermann2011-11-183-15/+35
| | | | 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-294-6/+12
| | | | PHPBB3-10323
* [feature/extension-manager] Fallback template might not always be setNils Adermann2011-09-291-4/+8
| | | | PHPBB3-10323
* [feature/extension-manager] Reset all template paths after a set_templates callNils Adermann2011-09-291-0/+1
| | | | PHPBB3-10323
* [feature/extension-manager] Refactoring the structure of extension providerNils Adermann2011-09-294-59/+179
| | | | 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-293-81/+220
| | | | | | | | | | | | | | | | | | 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' of git://github.com/phpbb/phpbb3 into developAndreas Fischer2011-09-271-5/+14
|\ | | | | | | | | | | | | | | * 'develop' of git://github.com/phpbb/phpbb3: [ticket/10392] Alter parent namespace stripping. [ticket/10392] Test for magic loop variables with nested namespaces. [ticket/10392] Missed fix for S_BLOCK_NAME. [ticket/10392] Fix access to nested special block variables.
| * [ticket/10392] Alter parent namespace stripping.Chris Smith2011-09-271-2/+9
| | | | | | | | PHPBB3-10392
| * [ticket/10392] Missed fix for S_BLOCK_NAME.Chris Smith2011-09-271-1/+1
| | | | | | | | PHPBB3-10392