aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/templates/loop_vars.html
diff options
context:
space:
mode:
authorMarek A. Ruszczynski <aptx@phpbb.com>2011-03-07 16:52:22 +0100
committerOleg Pudeyev <oleg@bsdpower.com>2011-04-23 22:48:50 -0400
commit4b646c6c80712bbbc0737defc48f6fbb05bac0f3 (patch)
treeb96d68b613c8fd130c39e181702d2a9098736217 /tests/template/templates/loop_vars.html
parent513b95642eab7f8092d651a21045dc4bb1556148 (diff)
downloadforums-4b646c6c80712bbbc0737defc48f6fbb05bac0f3.tar
forums-4b646c6c80712bbbc0737defc48f6fbb05bac0f3.tar.gz
forums-4b646c6c80712bbbc0737defc48f6fbb05bac0f3.tar.bz2
forums-4b646c6c80712bbbc0737defc48f6fbb05bac0f3.tar.xz
forums-4b646c6c80712bbbc0737defc48f6fbb05bac0f3.zip
[feature/template-engine] Update tests.
PHPBB3-9726
Diffstat (limited to 'tests/template/templates/loop_vars.html')
-rw-r--r--tests/template/templates/loop_vars.html13
1 files changed, 3 insertions, 10 deletions
diff --git a/tests/template/templates/loop_vars.html b/tests/template/templates/loop_vars.html
index 4f02fd2e6c..d94a0ae0f7 100644
--- a/tests/template/templates/loop_vars.html
+++ b/tests/template/templates/loop_vars.html
@@ -1,21 +1,14 @@
<!-- BEGIN loop -->
<!-- IF loop.S_FIRST_ROW -->first<!-- ENDIF -->
-
-{loop.S_ROW_COUNT}
-
-{loop.VARIABLE}
-
+{loop.S_ROW_NUM} - a
+{loop.VARIABLE} - b
<!-- IF loop.VARIABLE -->set<!-- ENDIF -->
-
<!-- IF loop.S_LAST_ROW -->
last
<!-- ENDIF -->
<!-- BEGIN inner -->
-
-{inner.S_ROW_COUNT}
-
+{inner.S_ROW_NUM} - c
<!-- IF inner.S_LAST_ROW and inner.S_ROW_COUNT and inner.S_NUM_ROWS -->last inner<!-- ENDIF -->
-
<!-- END inner -->
<!-- END loop -->
<!-- IF .loop.inner -->inner loop<!-- ENDIF -->