mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/11724] Support "ELSE IF" and "ELSEIF" in the same way
PHPBB3-11724
This commit is contained in:
@@ -62,6 +62,13 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
|
||||
array(),
|
||||
'1!false',
|
||||
),
|
||||
array(
|
||||
'if.html',
|
||||
array('S_OTHER_OTHER_VALUE' => true),
|
||||
array(),
|
||||
array(),
|
||||
'|S_OTHER_OTHER_VALUE|!false',
|
||||
),
|
||||
array(
|
||||
'if.html',
|
||||
array('S_VALUE' => false, 'S_OTHER_VALUE' => true),
|
||||
|
@@ -2,6 +2,8 @@
|
||||
1
|
||||
<!-- ELSEIF S_OTHER_VALUE -->
|
||||
2
|
||||
<!-- ELSE IF S_OTHER_OTHER_VALUE -->
|
||||
|S_OTHER_OTHER_VALUE|
|
||||
<!-- ELSE -->
|
||||
03
|
||||
<!-- ENDIF -->
|
||||
|
Reference in New Issue
Block a user