{strip} {parse_cell_params params = $column.urlParams data = $row assign = 'urlParams'} {if empty($urlParams)} {assign var = 'url' value = false} {else} {assign var = 'url' value = $column.url|vsprintf:$urlParams} {/if} {if $url === false} {assign var = 'url' value = $column.url} {/if} {if !empty($column.text)} {if empty($params)} {assign var = 'text' value = false} {else} {assign var = 'text' value = $column.text|vsprintf:$params} {/if} {if $text === false} {assign var = 'text' value = $column.text} {/if} {assign var = 'truncateLength' value=$column.truncateLength|default:'80'} {assign var = "text" value = $text|truncate:$truncateLength|htmlspecialchars|nl2br} {if empty($text) && $column.defaultLinkText} {assign var = "text" value = $column.defaultLinkText} {/if} {/if} {if $text}{$text}{else}{/if} {/parse_cell_params} {/strip}