1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-02 04:24:56 +02:00

[ticket/12382] Add template test for subloops inside events

PHPBB3-12382
This commit is contained in:
Joas Schilling 2014-04-10 16:06:00 +02:00
parent 377fb770fb
commit 09804bbae8
3 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,2 @@
[{event_loop.S_ROW_COUNT}<!-- BEGIN subloop -->[subloop:{event_loop.subloop.S_ROW_COUNT}]
<!-- END subloop -->]

View File

@ -0,0 +1,3 @@
<!-- BEGIN event_loop -->
event_loop<!-- EVENT test_event_subloop -->
<!-- END event_loop -->

View File

@ -90,6 +90,19 @@ Zeta test event in all',
array(),
'event_loop0|event_loop1|event_loop2',
),
array(
'EVENT with subloop in loop',
'ext_trivial',
array('silver'),
'event_subloop.html',
array(),
array(
'event_loop' => array(array()),
'event_loop.subloop' => array(array()),
),
array(),
'event_loop[0[subloop:0]]',
),
);
}