diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-10-07 20:51:08 +0200 |
---|---|---|
committer | Nicofuma <github@nicofuma.fr> | 2015-03-05 21:38:59 +0100 |
commit | cf39cfc5939f9407082f8f5c1f876ea0ee607a45 (patch) | |
tree | 06e9c0406bded428501015eb10b43718f0d0db1a /tests/template/templates/loop_expressions.html | |
parent | 70990bc86ff66238ae2e9ccbc03bcf1afd49da07 (diff) | |
download | forums-cf39cfc5939f9407082f8f5c1f876ea0ee607a45.tar forums-cf39cfc5939f9407082f8f5c1f876ea0ee607a45.tar.gz forums-cf39cfc5939f9407082f8f5c1f876ea0ee607a45.tar.bz2 forums-cf39cfc5939f9407082f8f5c1f876ea0ee607a45.tar.xz forums-cf39cfc5939f9407082f8f5c1f876ea0ee607a45.zip |
[ticket/13132] Twig: Add loops content to the root context
PHPBB3-13132
Diffstat (limited to 'tests/template/templates/loop_expressions.html')
-rw-r--r-- | tests/template/templates/loop_expressions.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/template/templates/loop_expressions.html b/tests/template/templates/loop_expressions.html index 6bff53f388..278bce1eca 100644 --- a/tests/template/templates/loop_expressions.html +++ b/tests/template/templates/loop_expressions.html @@ -1,11 +1,11 @@ <!-- BEGIN loop --> -<!-- IF loop.S_ROW_NUM is even by 4 -->on<!-- ELSE -->off<!-- ENDIF --> +<!-- IF loop.S_ROW_NUM is divisible by 4 -->on<!-- ELSE -->off<!-- ENDIF --> <!-- END loop --> <!-- BEGIN loop --> -<!-- IF loop.S_ROW_NUM is odd by 3 -->on<!-- ELSE -->off<!-- ENDIF --> +<!-- IF loop.S_ROW_NUM is divisible by 3 -->on<!-- ELSE -->off<!-- ENDIF --> <!-- END loop --> |