diff --git a/core/lib/Thelia/Core/Template/Parser.php b/core/lib/Thelia/Core/Template/Parser.php index e5d5d345e..1163171d1 100644 --- a/core/lib/Thelia/Core/Template/Parser.php +++ b/core/lib/Thelia/Core/Template/Parser.php @@ -159,8 +159,11 @@ class Parser implements ParserInterface array(), array( "secure" => "Thelia\Core\Template\BaseParam\Secure" - ) - ); + ), + array( + "equal" => "Test\TestLoop\Equal" + ) + ); $this->setContent($tpex->execute()); } diff --git a/core/lib/Thelia/Tpex b/core/lib/Thelia/Tpex index 3558c816e..ecf90ef2b 160000 --- a/core/lib/Thelia/Tpex +++ b/core/lib/Thelia/Tpex @@ -1 +1 @@ -Subproject commit 3558c816e26c31d1575432fba2177ad215e612c5 +Subproject commit ecf90ef2b83b0be6f4bef5839481eec64a0e6bba diff --git a/local/plugins/Test/TestLoop/Equal.php b/local/plugins/Test/TestLoop/Equal.php new file mode 100644 index 000000000..e9de536f2 --- /dev/null +++ b/local/plugins/Test/TestLoop/Equal.php @@ -0,0 +1,14 @@ + - + + test vrai + + test faux + Compteur = #INDEX