mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11718] Quick test for fixes in ELSEIF
PHPBB3-11718
This commit is contained in:
parent
b92f660ed3
commit
1c59ad87b0
2 changed files with 6 additions and 1 deletions
|
@ -151,7 +151,7 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
|
|||
array(),
|
||||
array('loop' => array(array(), array(), array(), array(), array(), array(), array()), 'test' => array(array()), 'test.deep' => array(array()), 'test.deep.defines' => array(array())),
|
||||
array(),
|
||||
"xyz\nabc\nabc\nbar\nbar\nabc",
|
||||
"xyz\nabc\n\$VALUE == 'abc'\nabc\nbar\nbar\nabc",
|
||||
),
|
||||
array(
|
||||
'define_advanced.html',
|
||||
|
|
|
@ -2,6 +2,11 @@
|
|||
{$VALUE}
|
||||
<!-- DEFINE $VALUE = 'abc' -->
|
||||
{$VALUE}
|
||||
<!-- IF $VALUE != 'abc' -->
|
||||
$VALUE != 'abc'
|
||||
<!-- ELSEIF $VALUE == 'abc' -->
|
||||
$VALUE == 'abc'
|
||||
<!-- ENDIF -->
|
||||
<!-- INCLUDE define_include.html -->
|
||||
{$INCLUDED_VALUE}
|
||||
{$VALUE}
|
||||
|
|
Loading…
Add table
Reference in a new issue