aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/templates
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-07-05 12:48:02 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-07-05 12:48:02 -0500
commit9ac61565fdb0fd3464b9c974b506f084f24e0bbd (patch)
tree75901a17561d68b3ad8be4f7ad3ddd7a5d361ded /tests/template/templates
parent05984be2c002133d1dd7f546e4238749b275f9f6 (diff)
downloadforums-9ac61565fdb0fd3464b9c974b506f084f24e0bbd.tar
forums-9ac61565fdb0fd3464b9c974b506f084f24e0bbd.tar.gz
forums-9ac61565fdb0fd3464b9c974b506f084f24e0bbd.tar.bz2
forums-9ac61565fdb0fd3464b9c974b506f084f24e0bbd.tar.xz
forums-9ac61565fdb0fd3464b9c974b506f084f24e0bbd.zip
[feature/twig] Add template tests for S_NUM_ROWS and S_BLOCK_NAME
PHPBB3-11598
Diffstat (limited to 'tests/template/templates')
-rw-r--r--tests/template/templates/loop_nested.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/template/templates/loop_nested.html b/tests/template/templates/loop_nested.html
index 3b5ffa5cac..cf099ecc15 100644
--- a/tests/template/templates/loop_nested.html
+++ b/tests/template/templates/loop_nested.html
@@ -1,6 +1,6 @@
<!-- BEGIN outer -->
-outer - {outer.S_ROW_COUNT}<!-- IF outer.VARIABLE --> - {outer.VARIABLE}<!-- ENDIF -->
+outer - {outer.S_ROW_COUNT}<!-- IF outer.VARIABLE --> - {outer.VARIABLE}<!-- ENDIF --><!-- IF TEST_MORE -->[{outer.S_BLOCK_NAME}|{outer.S_NUM_ROWS}]<!-- ENDIF -->
<!-- BEGIN middle -->
-middle - {outer.middle.S_ROW_COUNT}<!-- IF outer.middle.VARIABLE --> - {outer.middle.VARIABLE}<!-- ENDIF -->
+middle - {outer.middle.S_ROW_COUNT}<!-- IF outer.middle.VARIABLE --> - {outer.middle.VARIABLE}<!-- ENDIF --><!-- IF TEST_MORE -->[{outer.middle.S_BLOCK_NAME}|{outer.middle.S_NUM_ROWS}]<!-- ENDIF -->
<!-- END middle -->
<!-- END outer -->