aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/templates/loop_nested2.html
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-07-04 10:40:14 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-07-04 10:40:14 -0500
commit81f27fd87ee2e8ffc1ad1ad06c5b255c5436e86c (patch)
treed2acaf41a4fcffcd8c839fa8f1f804099b3c2f01 /tests/template/templates/loop_nested2.html
parent84e0943c7bee5061bc53aed2a14f82751d238bf8 (diff)
downloadforums-81f27fd87ee2e8ffc1ad1ad06c5b255c5436e86c.tar
forums-81f27fd87ee2e8ffc1ad1ad06c5b255c5436e86c.tar.gz
forums-81f27fd87ee2e8ffc1ad1ad06c5b255c5436e86c.tar.bz2
forums-81f27fd87ee2e8ffc1ad1ad06c5b255c5436e86c.tar.xz
forums-81f27fd87ee2e8ffc1ad1ad06c5b255c5436e86c.zip
[feature/twig] Add test to make sure nested loops get the correct S_ROW_COUNT
PHPBB3-11598
Diffstat (limited to 'tests/template/templates/loop_nested2.html')
-rw-r--r--tests/template/templates/loop_nested2.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/template/templates/loop_nested2.html b/tests/template/templates/loop_nested2.html
new file mode 100644
index 0000000000..3eeeb5e36a
--- /dev/null
+++ b/tests/template/templates/loop_nested2.html
@@ -0,0 +1,6 @@
+<!-- BEGIN outer -->
+o{outer.S_ROW_COUNT}
+<!-- BEGIN middle -->
+m{outer.middle.S_ROW_COUNT}{outer.S_ROW_COUNT}
+<!-- END middle -->
+<!-- END outer -->