From c95f0c793543e4af68df133a09d0db5af3b4a822 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Tue, 25 Nov 2008 00:31:32 +0000 Subject: - 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 --- tests/template/templates/loop_nested.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/template/templates/loop_nested.html (limited to 'tests/template/templates/loop_nested.html') 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 @@ + + {outer.S_BLOCK_NAME} - {outer.S_ROW_NUM}/{outer.S_NUM_ROWS} - {outer.VARIABLE} + + + {middle.S_BLOCK_NAME} - {middle.S_ROW_NUM}/{middle.S_NUM_ROWS} - {middle.VARIABLE} + + + -- cgit v1.2.1