diff options
| author | Chris Smith <toonarmy@phpbb.com> | 2008-11-25 00:31:32 +0000 |
|---|---|---|
| committer | Chris Smith <toonarmy@phpbb.com> | 2008-11-25 00:31:32 +0000 |
| commit | c95f0c793543e4af68df133a09d0db5af3b4a822 (patch) | |
| tree | 083ba1a68a3ea44b83617262be62c6add84c25f1 /tests/template/templates/loop_nested.html | |
| parent | 332521a3696df8e1504933bee5658d005549f3b4 (diff) | |
| download | forums-c95f0c793543e4af68df133a09d0db5af3b4a822.tar forums-c95f0c793543e4af68df133a09d0db5af3b4a822.tar.gz forums-c95f0c793543e4af68df133a09d0db5af3b4a822.tar.bz2 forums-c95f0c793543e4af68df133a09d0db5af3b4a822.tar.xz forums-c95f0c793543e4af68df133a09d0db5af3b4a822.zip | |
- Add template variable S_BLOCK_NAME
- Modify template::alter_block_array() so it supports modification of nested blocks
- Add (incomplete) tests for template::alter_block_array()
git-svn-id: file:///svn/phpbb/trunk@9116 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'tests/template/templates/loop_nested.html')
| -rw-r--r-- | tests/template/templates/loop_nested.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/template/templates/loop_nested.html b/tests/template/templates/loop_nested.html new file mode 100644 index 0000000000..571df97b4c --- /dev/null +++ b/tests/template/templates/loop_nested.html @@ -0,0 +1,8 @@ +<!-- BEGIN outer --> + {outer.S_BLOCK_NAME} - {outer.S_ROW_NUM}/{outer.S_NUM_ROWS}<!-- IF outer.VARIABLE --> - {outer.VARIABLE}<!-- ENDIF --> + + <!-- BEGIN middle --> + {middle.S_BLOCK_NAME} - {middle.S_ROW_NUM}/{middle.S_NUM_ROWS}<!-- IF middle.VARIABLE --> - {middle.VARIABLE}<!-- ENDIF --> + + <!-- END middle --> +<!-- END outer --> |
