Code commits
phpBB Master
-
Marc c309b4cd8d3e8e1221e54bc76c2b433d97e88913
Merge branch '3.2.x'
-
Marc 22e97296af7e81ae8ec1a290ab6f00c80440dc48 m
Merge pull request #5019 from marc1706/ticket/14994
[ticket/14994] Refactor template->assign_block_var -
javiexin <javiexin@gmail.com> c2043e47dabc23100ecc388ae1e9d8ae20c2257e m
[ticket/14994] Refactor template->assign_block_var
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- phpBB/phpbb/template/context.php (version c2043e47dabc23100ecc388ae1e9d8ae20c2257e)
-
javiexin <javiexin@gmail.com> a30693a5948861cf6e1f330bc54c8c539d60cdcc m
[ticket/14994] Refactor template->assign_block_var
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- phpBB/phpbb/template/context.php (version a30693a5948861cf6e1f330bc54c8c539d60cdcc)
-
javiexin <javiexin@gmail.com> bf882826e48d4f29ca4c48ecb7d65cbdf459d5fb m
[ticket/14994] Refactor template->assign_block_var
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.
PHPBB3-14994- tests/template/template_test.php (version bf882826e48d4f29ca4c48ecb7d65cbdf459d5fb)
- tests/template/templates/loop_nested.html (version bf882826e48d4f29ca4c48ecb7d65cbdf459d5fb)
-
javiexin <javiexin@gmail.com> e32324c72a33b9ef5baf5233a88963bc13066f8e m
[ticket/14994] Refactor template->assign_block_var
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- phpBB/phpbb/template/context.php (version e32324c72a33b9ef5baf5233a88963bc13066f8e)