aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/templates
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2013-01-13 20:11:31 -0500
committerOleg Pudeyev <oleg@bsdpower.com>2013-01-13 20:11:31 -0500
commit227f7f46dfdba990242c96f6d6e27f0d12ab4784 (patch)
tree237419120a1a8ddf5e7db0871b6b37aeda036faa /tests/template/templates
parent0b0b5e15c3b7fc55774df09025f6bb206f7df4bd (diff)
parent4c50a35b62a46de69b439f9ac8007721d76881b0 (diff)
downloadforums-227f7f46dfdba990242c96f6d6e27f0d12ab4784.tar
forums-227f7f46dfdba990242c96f6d6e27f0d12ab4784.tar.gz
forums-227f7f46dfdba990242c96f6d6e27f0d12ab4784.tar.bz2
forums-227f7f46dfdba990242c96f6d6e27f0d12ab4784.tar.xz
forums-227f7f46dfdba990242c96f6d6e27f0d12ab4784.zip
Merge PR #1194 branch 'marc1706/ticket/11323' into develop-olympus
# By Marc Alexander # Via Marc Alexander * marc1706/ticket/11323: [ticket/11323] Add tests for inclusion of defined variables
Diffstat (limited to 'tests/template/templates')
-rw-r--r--tests/template/templates/include_define_variable.html2
-rw-r--r--tests/template/templates/include_loop_define.html4
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/template/templates/include_define_variable.html b/tests/template/templates/include_define_variable.html
new file mode 100644
index 0000000000..aff9b574c2
--- /dev/null
+++ b/tests/template/templates/include_define_variable.html
@@ -0,0 +1,2 @@
+<!-- DEFINE $DEF = '{VARIABLE}' -->
+<!-- INCLUDE {$DEF} -->
diff --git a/tests/template/templates/include_loop_define.html b/tests/template/templates/include_loop_define.html
new file mode 100644
index 0000000000..f539b21396
--- /dev/null
+++ b/tests/template/templates/include_loop_define.html
@@ -0,0 +1,4 @@
+<!-- BEGIN loop -->
+<!-- DEFINE $DEF = '{loop.NESTED_FILE}' -->
+<!-- INCLUDE {$DEF} -->
+<!-- END loop -->