<?php

function smarty_function_insert_date_interval($params, &$smarty)
{
    $_smarty_tpl_vars = $smarty->tpl_vars;
    echo $smarty->_subTemplateRender('block.intervalsDate.tpl', $smarty->cache_id, $smarty->compile_id, 0, null, $params, 0, false);
    $smarty->tpl_vars = $_smarty_tpl_vars;
}
