mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[feature/template-engine] Corrected miscompilation of loop size constructs.
PHPBB3-9726
This commit is contained in:
39
tests/template/templates/loop_size.html
Normal file
39
tests/template/templates/loop_size.html
Normal file
@@ -0,0 +1,39 @@
|
||||
<!-- IF .nonexistent_loop -->
|
||||
nonexistent
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF .nonexistent_loop == 0 -->
|
||||
nonexistent = 0
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF ! .nonexistent_loop -->
|
||||
! nonexistent
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF .empty_loop -->
|
||||
empty
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF .empty_loop == 0 -->
|
||||
empty = 0
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF ! .empty_loop -->
|
||||
! empty
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF .loop -->
|
||||
loop
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF .loop == 0 -->
|
||||
loop = 0
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF ! .loop -->
|
||||
! loop
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- BEGIN loop -->
|
||||
in loop
|
||||
<!-- END -->
|
Reference in New Issue
Block a user