create new smarty function for displaying date in expected format

This commit is contained in:
Manuel Raynaud
2013-09-02 23:36:34 +02:00
parent 5568f2dc62
commit eeea885543
8 changed files with 187 additions and 7 deletions

View File

@@ -121,6 +121,11 @@
<tag name="thelia.parser.register_plugin"/>
</service>
<service id="smarty.plugin.format" class="Thelia\Core\Template\Smarty\Plugins\Format" scope="request">
<argument type="service" id="request"/>
<tag name="thelia.parser.register_plugin"/>
</service>
<service id="smarty.plugin.thelialoop" class="Thelia\Core\Template\Smarty\Plugins\TheliaLoop" scope="request">
<tag name="thelia.parser.register_plugin"/>