Code commits
phpBB Master
-
Marc e24d3a6ade7dbc4e6f2c6b286659d93ea340fdc0
Merge branch '3.2.x'
-
Marc bdaa6e4909a0b0553c40cecdbbf951e5d90a5f32 m
Merge branch '3.1.x' into 3.2.x
-
Marc 481a592b8dc04a09330bd302048e7a6f445121d8 m
Merge pull request #4598 from javiexin/ticket/14944
[ticket/14944] Add search for template loop indexes by key -
javiexin <javiexin@gmail.com> 849fd9df7d9b2e449801e14ef54584fc8e063d43 m
[ticket/14944] Add possibility to 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- phpBB/phpbb/template/base.php (version 849fd9df7d9b2e449801e14ef54584fc8e063d43)
- phpBB/phpbb/template/context.php (version 849fd9df7d9b2e449801e14ef54584fc8e063d43)
- phpBB/phpbb/template/template.php (version 849fd9df7d9b2e449801e14ef54584fc8e063d43)
- tests/template/template_test.php (version 849fd9df7d9b2e449801e14ef54584fc8e063d43)
-
javiexin <javiexin@gmail.com> 20c03cccdde2302412d1e14adda370e7eb57b8e8 m
[ticket/14944] Add possibility to 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.
PHPBB3-14944- phpBB/phpbb/template/context.php (version 20c03cccdde2302412d1e14adda370e7eb57b8e8)
- tests/template/template_test.php (version 20c03cccdde2302412d1e14adda370e7eb57b8e8)
-
javiexin <javiexin@gmail.com> c656bd60ef99218a710882b6f640fea099e9c6e2 m
[ticket/14944] Add possibility to 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.
PHPBB3-14944- phpBB/phpbb/template/context.php (version c656bd60ef99218a710882b6f640fea099e9c6e2)
-
javiexin <javiexin@gmail.com> cff57f9076dd160b2185895f7298d4acbc5b5bb3 m
[ticket/14944] Add possibility to 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.
PHPBB3-14944- phpBB/phpbb/template/base.php (version cff57f9076dd160b2185895f7298d4acbc5b5bb3)
- phpBB/phpbb/template/context.php (version cff57f9076dd160b2185895f7298d4acbc5b5bb3)
- phpBB/phpbb/template/template.php (version cff57f9076dd160b2185895f7298d4acbc5b5bb3)