| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
PHPBB3-14972
|
|
|
|
| |
PHPBB3-14972
|
|
|
|
|
|
|
|
|
|
| |
Refactor assign_block_var to use the same block selection mechanism
as is used in alter_block_array. This allows creating new blocks
at any position in the template structure, not only on the last block.
Allows selecting a block as outer[2].middle.
Added tests. Added PHP 7.2 compatibility.
PHPBB3-14994
|
|
|
|
|
|
|
|
|
|
| |
Refactor assign_block_var to use the same block selection mechanism
as is used in alter_block_array. This allows creating new blocks
at any position in the template structure, not only on the last block.
Allows selecting a block as outer[2].middle.
Added tests. Added PHP 7.2 compatibility.
PHPBB3-14994
|
|
|
|
|
|
|
|
|
| |
Refactor assign_block_var to use the same block selection mechanism
as is used in alter_block_array. This allows creating new blocks
at any position in the template structure, not only on the last block.
Allows selecting a block as outer[2].middle.
PHPBB3-14994
|
|\ |
|
|\ \ |
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add possibility to retrieve full block of vars
PHPBB3-15068
|
| | | |
| | | |
| | | |
| | | | |
PHPBB3-15068
|
| | | |
| | | |
| | | |
| | | | |
PHPBB3-14990
|
| | | |
| | | |
| | | |
| | | | |
PHPBB3-14990
|
| | | |
| | | |
| | | |
| | | | |
PHPBB3-14990
|
|\ \ \ \
| |_|/ /
|/| | |
| | | | |
[ticket/14950] Add possibility to delete a template block
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Adds a new mode to alter_block_array to allow for the deletion of
a certain block of template variables. The selection method is the
same as for the other modes for alter_block_array. The passed in
vararray is ignored, and an out of bounds index is considered an error.
Added tests for the new function, fixed.
PHPBB3-14950
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adds a new mode to alter_block_array to allow for the deletion of
a certain block of template variables. The selection method is the
same as for the other modes for alter_block_array. The passed in
vararray is ignored, and an out of bounds index is considered an error.
PHPBB3-14944
|
|\ \ \
| | |/
| |/| |
|
| |\ \
| | | |
| | | |
| | | | |
[ticket/14943] Fix template loop access by index
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Allows inserting elements in a loop specified as 'outer[3].inner'.
This was coded, but malfunctioning. Name incorrectly set on insert.
If block was empty, the insertion process should create it.
Checking for out of bounds indexes.
PHPBB3-14943
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Allows inserting elements in a loop specified as 'outer[3].inner'.
This was coded, but malfunctioning. Name incorrectly set on insert.
PHPBB3-14943
|
|\ \ \ \
| |/ / / |
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
[ticket/14944] Add search for template loop indexes by key
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Adds a new function to the template interface, and implements it in the
context class. The function returns the ordinal index for a specified key,
with the same structure that the key for alter_block_array.
Reuses same code. Remove unneeded references, do nothing for int keys.
Check out of bounds or wrong blockname errors. Added tests.
Remove default parameter value.
PHPBB3-14944
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Adds a new function to the template interface, and implements it in the
context class. The function returns the ordinal index for a specified key,
with the same structure that the key for alter_block_array.
Reuses same code. Remove unneeded references, do nothing for int keys.
Check out of bounds or wrong blockname errors. Added tests.
PHPBB3-14944
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Adds a new function to the template interface, and implements it in the
context class. The function returns the ordinal index for a specified key,
with the same structure that the key for alter_block_array.
Reuses same code. Remove unneeded references, do nothing for int keys.
PHPBB3-14944
|
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Adds a new function to the template interface, and implements it in the
context class. The function returns the ordinal index for a specified key,
with the same structure that the key for alter_block_array.
Reuses same code.
PHPBB3-14944
|
|\ \ \ \
| |/ / / |
|
| | |/
| |/|
| | |
| | | |
PHPBB3-14958
|
|\ \ \
| |/ / |
|
| |/
| |
| |
| |
| |
| |
| | |
Allows inserting elements in a loop specified as 'outer[3].inner'.
This was coded, but malfunctioning.
PHPBB3-14943
|
| |
| |
| |
| | |
PHPBB3-14661
|
| |
| |
| |
| | |
PHPBB3-14099
|
| |
| |
| |
| | |
PHPBB3-14099
|
| |
| |
| |
| |
| |
| |
| |
| | |
The revert of twig back to 1.26.* is necessary due to a breaking
change in the way the Filesystem loader returns the paths to
template files.
PHPBB3-14867
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This addresses some issues with symfony that resulted in
issues when open_basedir restrictions were enabled, as well
as issues with JPEG images in fast-image-size.
The phpBB class extending the twig lexer also had to be
modified to ensure compatibility after BC was broken by
the PR https://github.com/twigphp/Twig/pull/2182 for twig
1.27.
PHPBB3-14716
|
| |
| |
| |
| | |
PHPBB3-14807
|
| |
| |
| |
| | |
PHPBB3-14807
|
| |
| |
| |
| | |
PHPBB3-13616
|
| |
| |
| |
| | |
PHPBB3-14457
|
| |
| |
| |
| | |
PHPBB3-14457
|
| |
| |
| |
| | |
PHPBB3-14457
|
| |
| |
| |
| | |
PHPBB3-14457
|
| |
| |
| |
| | |
PHPBB3-14457
|
| |
| |
| |
| | |
PHPBB3-14446
|
| |
| |
| |
| | |
PHPBB3-13717
|
| |
| |
| |
| |
| |
| | |
The goal being to be able to call INCLUDECSS/JS from anywhere in any tempalte or event
PHPBB3-13717
|
| |
| |
| |
| |
| |
| | |
This is the first part of the changes. More to come.
PHPBB3-13454
|
| |
| |
| |
| |
| |
| | |
Check the templates events on runtime only when Twig debug is on
PHPBB3-12633
|
| |
| |
| |
| | |
PHPBB3-13645
|
|\ \
| |/
| |
| |
| | |
Conflicts:
tests/template/template_includecss_test.php
|