{assign var = 'date_format' value = $column.format|default:$smarty.const.DATE_FORMAT} {if '0000-00-00' == $params|@current} {$column.emptyText} {else} {$params|@current|date_format:$date_format|default:$column.emptyText} {/if}