aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/templates/loop_nested_deep_multilevel_ref.html
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-04-24 22:46:34 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2011-04-24 23:13:13 -0400
commit5afc0b9b905814718ed0292fa5cc7342786c1fca (patch)
tree0efab8e912045ebba7ef199dc45f58ef2892c1e5 /tests/template/templates/loop_nested_deep_multilevel_ref.html
parente10d62badc2653d53f326cc1a3b8ab00617bc736 (diff)
downloadforums-5afc0b9b905814718ed0292fa5cc7342786c1fca.tar
forums-5afc0b9b905814718ed0292fa5cc7342786c1fca.tar.gz
forums-5afc0b9b905814718ed0292fa5cc7342786c1fca.tar.bz2
forums-5afc0b9b905814718ed0292fa5cc7342786c1fca.tar.xz
forums-5afc0b9b905814718ed0292fa5cc7342786c1fca.zip
[feature/template-engine] Corrected an off-by-one error in nested namespaces.
This error resulted in a dot from the namespace being placed into variable reference in compiled template code, thus creating bogus compiled template code. PHPBB3-9726
Diffstat (limited to 'tests/template/templates/loop_nested_deep_multilevel_ref.html')
-rw-r--r--tests/template/templates/loop_nested_deep_multilevel_ref.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/template/templates/loop_nested_deep_multilevel_ref.html b/tests/template/templates/loop_nested_deep_multilevel_ref.html
new file mode 100644
index 0000000000..60fad7b4cd
--- /dev/null
+++ b/tests/template/templates/loop_nested_deep_multilevel_ref.html
@@ -0,0 +1,12 @@
+top-level content
+<!-- BEGIN outer -->
+ outer
+ <!-- BEGIN middle -->
+ <!-- BEGIN inner -->
+ inner {inner.VARIABLE}
+ <!-- IF outer.middle.inner.S_FIRST_ROW -->
+ first row
+ <!-- ENDIF -->
+ <!-- END inner -->
+ <!-- END middle -->
+<!-- END outer -->