mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-30 02:59:29 +02:00
[ticket/10322] Dynamic template include test
PHPBB3-10322
This commit is contained in:
parent
fbec7c9b2b
commit
b5ecb2f7a8
@ -162,6 +162,13 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
|
||||
array(),
|
||||
'value',
|
||||
),
|
||||
array(
|
||||
'include_variable.html',
|
||||
array('FILE' => 'variable.html', 'VARIABLE' => 'value'),
|
||||
array(),
|
||||
array(),
|
||||
"value\nvalue",
|
||||
),
|
||||
array(
|
||||
'loop_vars.html',
|
||||
array(),
|
||||
|
3
tests/template/templates/include_variable.html
Normal file
3
tests/template/templates/include_variable.html
Normal file
@ -0,0 +1,3 @@
|
||||
<!-- INCLUDE {FILE} -->
|
||||
<!-- DEFINE $DEF = 'variable.html' -->
|
||||
<!-- INCLUDE {$DEF} -->
|
Loading…
x
Reference in New Issue
Block a user