| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This provides a straightforward way of iterating over all styles
looking for templates in extensions.
PHPBB3-9550
|
| |
|
|
| |
PHPBB3-9550
|
| |
|
|
|
|
|
| |
This allows template code to know the entire style hierarchy for
templates being rendered.
PHPBB3-9550
|
| |
|
|
| |
PHPBB3-9550
|
| |
|
|
| |
PHPBB3-9550
|
| |
|
|
| |
PHPBB3-9550
|
| |
|
|
| |
PHPBB3-9550
|
| |
|
|
|
|
|
| |
"Style name" makes a lot more sense and should be in line with
recent style/template changes.
PHPBB3-9550
|
| |
|
|
| |
PHPBB3-9550
|
| |
|
|
|
|
| |
It should now fairly closely reflect what actually happens.
PHPBB3-9550
|
| |
|
|
| |
PHPBB3-9550
|
| |
|
|
| |
PHPBB3-9550
|
| |
|
|
|
|
|
|
| |
Pass through $user from template to filter.
Allow $user to be null for standalone usage of the template engine.
PHPBB3-9550
|
| |
|
|
|
|
|
|
|
| |
Note: suicide happens for syntactically invalid event names,
e.g. event names containing punctuation.
Event names for which there are no events are silently dropped.
PHPBB3-9550
|
| |
|
|
| |
PHPBB3-9550
|
| |
|
|
| |
PHPBB3-9550
|
| |
|
|
|
|
|
| |
Use `' ?'. '>'` rather than `' ?>'` as the latter causes problems
in some editors.
PHPBB3-9550
|
| |
|
|
|
|
| |
Remove comment per Nils in the PR.
PHPBB3-9550
|
| |
|
|
|
|
|
|
| |
If the template event identifier is wrongly formatted phpBB will
triggern an `E_USER_NOTICE` if the `DEBUG` constant is set, otherwise
the location is ignored.
PHPBB3-9550
|
| |
|
|
| |
PHPBB3-9550
|
| |
|
|
| |
PHPBB3-9550
|
| |
|
|
|
|
| |
Rename the way to add template events
PHPBB3-9550
|
| |
|
|
| |
PHPBB3-9550
|
| |
|
|
| |
PHPBB3-9550
|
| |
|
|
|
|
| |
This will be used to invoke template-specific hooks.
PHPBB3-9550
|
| |
|
|
| |
PHPBB3-9550
|
| |
|
|
| |
PHPBB3-9550
|
| |
|
|
| |
PHPBB3-9550
|
| |
|
|
| |
PHPBB3-9550
|
| |
|
|
|
|
|
| |
This is needed for hooks in order for the filter to compile
template files from extensions.
PHPBB3-9550
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Ported to the new develop, hopefully this is still sensible.
PHPBB3-9550
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| | |
| |
| |
| |
| |
| |
| | |
Also rewrite get_first_template_location prose a little to be
less repetitive with get_first_file_location.
PHPBB3-10933
|
| | |
| |
| |
| | |
PHPBB3-10933
|
| | |
| |
| |
| |
| |
| | |
It had no callers other than the test suite.
PHPBB3-10933
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
template_path is now private.
Change semantics of passing false for template path - now this resets
template path to default which I think makes sense.
PHPBB3-10933
|
| | |
| |
| |
| |
| |
| |
| | |
template_path is now only present in style resource locator and
should not be assigned to.
PHPBB3-10933
|
| | |
| |
| |
| |
| |
| | |
template_path is now only present in style resource locator.
PHPBB3-10933
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This localizes template_path to style resource locator.
locate function on template will be removed in a subsequent commit.
PHPBB3-10933
|
| | |
| |
| |
| | |
PHPBB3-11212
|
| | |
| |
| |
| | |
PHPBB3-11212
|
| | |
| |
| |
| | |
PHPBB3-11212
|
| | |
| |
| |
| | |
PHPBB3-11212
|
| | |
| |
| |
| | |
PHPBB3-11212
|
| | |
| |
| |
| | |
PHPBB3-11211
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* develop-olympus:
[ticket/11192] Merge dataProvider arrays because the test is the same now.
[ticket/11192] Update $value parameter description to support other types.
[ticket/11192] Mark negative byte numbers as unsupported.
[ticket/11192] Test strings not converted to int/float before.
[ticket/11192] Also test strings, e.g. sums returned by the database.
[ticket/11192] Also test powers of 10 / 1000.
[ticket/11192] Add tests.
[ticket/11192] Add Tebibyte to get_formatted_filesize().
|
| | |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* bantu/ticket/11192:
[ticket/11192] Merge dataProvider arrays because the test is the same now.
[ticket/11192] Update $value parameter description to support other types.
[ticket/11192] Mark negative byte numbers as unsupported.
[ticket/11192] Test strings not converted to int/float before.
[ticket/11192] Also test strings, e.g. sums returned by the database.
[ticket/11192] Also test powers of 10 / 1000.
[ticket/11192] Add tests.
[ticket/11192] Add Tebibyte to get_formatted_filesize().
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-11192
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-11192
|