X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;ds=sidebyside;f=smarty%2FSmarty-2.6.10%2Funit_test%2Ftemplates%2Fparse_math.tpl;fp=smarty%2FSmarty-2.6.10%2Funit_test%2Ftemplates%2Fparse_math.tpl;h=0b787d363ca4f6fd9d2516701f11ca94380e3eb1;hb=b42b2bf946332ad8544d53f610be9cb05e80bf56;hp=0000000000000000000000000000000000000000;hpb=e586807dafc64c3fe152ab518599e6cf3f0f84e1;p=mirrors%2FKyberia-bloodline.git diff --git a/smarty/Smarty-2.6.10/unit_test/templates/parse_math.tpl b/smarty/Smarty-2.6.10/unit_test/templates/parse_math.tpl new file mode 100644 index 0000000..0b787d3 --- /dev/null +++ b/smarty/Smarty-2.6.10/unit_test/templates/parse_math.tpl @@ -0,0 +1,12 @@ +{foreach name=loop from=$items item=i} +{$smarty.foreach.loop.iteration+2} +{$smarty.foreach.loop.iteration+$flt} +{$smarty.foreach.loop.iteration+$obj->six()} +{$smarty.foreach.loop.iteration+$obj->ten} +{/foreach} +{$obj->ten+$flt} +{$obj->ten*$flt} +{$obj->six()+$obj->ten} +{$obj->ten+$obj->ten} +{$obj->six()+$flt} +{$obj->six()+$items.0}