aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/templates/loop_reuse.html
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-04-25 21:45:10 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2011-04-25 23:19:32 -0400
commitf0b97cfdcf851eec4660412e4c061a26b921c740 (patch)
treec7106a05487d7e753ff9f119308dcfbf03fcfbea /tests/template/templates/loop_reuse.html
parentf97411b91143a0c75ef0ecec3ff03fc36a879728 (diff)
downloadforums-f0b97cfdcf851eec4660412e4c061a26b921c740.tar
forums-f0b97cfdcf851eec4660412e4c061a26b921c740.tar.gz
forums-f0b97cfdcf851eec4660412e4c061a26b921c740.tar.bz2
forums-f0b97cfdcf851eec4660412e4c061a26b921c740.tar.xz
forums-f0b97cfdcf851eec4660412e4c061a26b921c740.zip
[feature/template-engine] Added a test for reuse of loop identifiers.
This currently does not pass, thus it is commented out. The reuse appears implausible in the same file, however it may be also done across template files where it is much harder to detect. PHPBB3-9726
Diffstat (limited to 'tests/template/templates/loop_reuse.html')
-rw-r--r--tests/template/templates/loop_reuse.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/template/templates/loop_reuse.html b/tests/template/templates/loop_reuse.html
new file mode 100644
index 0000000000..bd0354ae6f
--- /dev/null
+++ b/tests/template/templates/loop_reuse.html
@@ -0,0 +1,6 @@
+<!-- BEGIN one -->
+ {one.VAR}
+ <!-- BEGIN one -->
+ {one.one.VAR}
+ <!-- END one -->
+<!-- END one -->