diff options
author | Chris Smith <toonarmy@phpbb.com> | 2008-11-22 23:53:40 +0000 |
---|---|---|
committer | Chris Smith <toonarmy@phpbb.com> | 2008-11-22 23:53:40 +0000 |
commit | 416270ee77c32d9ff876dedc4b6c4a2eb7296a96 (patch) | |
tree | 3a433621dab6ce4832d7b7d6e8868725e7fb99d5 /tests/template/templates | |
parent | efe06af91327e0eb30b98b6c848d72c66774c0e9 (diff) | |
download | forums-416270ee77c32d9ff876dedc4b6c4a2eb7296a96.tar forums-416270ee77c32d9ff876dedc4b6c4a2eb7296a96.tar.gz forums-416270ee77c32d9ff876dedc4b6c4a2eb7296a96.tar.bz2 forums-416270ee77c32d9ff876dedc4b6c4a2eb7296a96.tar.xz forums-416270ee77c32d9ff876dedc4b6c4a2eb7296a96.zip |
- Deprecate S_ROW_COUNT use S_ROW_NUM
- S_ROW_NUM, S_FIRST_ROW, S_LAST_ROW are now using internal template engine variables saving memory
- Other small changes
- Update of template tests
git-svn-id: file:///svn/phpbb/trunk@9087 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'tests/template/templates')
-rw-r--r-- | tests/template/templates/loop.html | 4 | ||||
-rw-r--r-- | tests/template/templates/loop_vars.html | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/template/templates/loop.html b/tests/template/templates/loop.html index ae921fc929..3912635e9d 100644 --- a/tests/template/templates/loop.html +++ b/tests/template/templates/loop.html @@ -9,3 +9,7 @@ loop <!-- ELSE --> noloop <!-- ENDIF --> + +<!-- IF .loop == 2 --> +loop +<!-- ENDIF --> diff --git a/tests/template/templates/loop_vars.html b/tests/template/templates/loop_vars.html index 0da0af4758..c2924ae18f 100644 --- a/tests/template/templates/loop_vars.html +++ b/tests/template/templates/loop_vars.html @@ -3,6 +3,8 @@ {loop.S_ROW_COUNT} +{loop.S_ROW_NUM} + {loop.VARIABLE} <!-- IF loop.S_LAST_ROW -->last<!-- ENDIF --> |