aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/templates/loop_vars.html
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-07-14 14:10:11 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-07-23 09:26:50 -0500
commitc0b9db1c626c88780b2ee5f5a237561a125c54aa (patch)
tree4ba9af94d6d7c2aa2aef8baa580dface68d00bfd /tests/template/templates/loop_vars.html
parent0d31420ae099b9284c6240bfbda0f03f1be155c1 (diff)
downloadforums-c0b9db1c626c88780b2ee5f5a237561a125c54aa.tar
forums-c0b9db1c626c88780b2ee5f5a237561a125c54aa.tar.gz
forums-c0b9db1c626c88780b2ee5f5a237561a125c54aa.tar.bz2
forums-c0b9db1c626c88780b2ee5f5a237561a125c54aa.tar.xz
forums-c0b9db1c626c88780b2ee5f5a237561a125c54aa.zip
[ticket/11701] Fix loops var check
PHPBB3-11701
Diffstat (limited to 'tests/template/templates/loop_vars.html')
-rw-r--r--tests/template/templates/loop_vars.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/template/templates/loop_vars.html b/tests/template/templates/loop_vars.html
index 7d86d4b7b6..70a3eb2cec 100644
--- a/tests/template/templates/loop_vars.html
+++ b/tests/template/templates/loop_vars.html
@@ -1,13 +1,13 @@
-<!-- BEGIN loop -->
-<!-- IF loop.S_FIRST_ROW -->first<!-- ENDIF -->
-{loop.S_ROW_NUM} - a
-{loop.VARIABLE} - b
-<!-- IF loop.VARIABLE -->set<!-- ENDIF -->
-<!-- IF loop.S_LAST_ROW -->
+<!-- BEGIN test_loop -->
+<!-- IF test_loop.S_FIRST_ROW -->first<!-- ENDIF -->
+{test_loop.S_ROW_NUM} - a
+{test_loop.VARIABLE} - b
+<!-- IF test_loop.VARIABLE -->set<!-- ENDIF -->
+<!-- IF test_loop.S_LAST_ROW -->
last
<!-- ENDIF -->
<!-- BEGIN inner -->
-{inner.S_ROW_NUM} - c
-<!-- IF inner.S_LAST_ROW and inner.S_ROW_COUNT and inner.S_NUM_ROWS -->last inner<!-- ENDIF -->
+{test_loop.inner.S_ROW_NUM} - c
+<!-- IF test_loop.inner.S_LAST_ROW and test_loop.inner.S_ROW_COUNT and test_loop.inner.S_NUM_ROWS -->last inner<!-- ENDIF -->
<!-- END inner -->
-<!-- END loop -->
+<!-- END test_loop -->