{$PALANG.searchparams} {foreach key=key item=field from=$search} {if $struct.$key.label}{$struct.$key.label}{else}{$key}{/if} {if isset($searchmode.$key)}{$searchmode.$key}{else}={/if} {$field} {/foreach} [x]
{$field.label} | {/if} {/foreach}Special handling (complete table row) for {$table} / {$key} | {else}
{if $table == 'foo' && $key == 'bar'}
Special handling (td content) for {$table} / {$key}
{* {elseif $table == 'domain' && $key == 'domain'}
{$item.domain}
*}
{elseif $key == 'active'}
{$item._active}
{elseif $field.type == 'bool'}
{assign "tmpkey" "_{$key}"}{$item.{$tmpkey}}
{elseif $field.type == 'list'}
{foreach key=key2 item=field2 from=$value_{$key}} {$field2} {/foreach} {elseif $field.type == 'pass'} (hidden) {elseif $field.type == 'quot'} {assign "tmpkey" "_{$key}_percent"} {if $item[$tmpkey]>90} {assign var="quota_level" value="high"} {elseif $item[$tmpkey]>55} {assign var="quota_level" value="mid"} {else} {assign var="quota_level" value="low"} {/if} {if $item[$tmpkey] > -1} {$linktext}
{else}
{$item[$key]}
{/if}
{elseif $field.type == 'txtl'}
{foreach key=key2 item=field2 from=$value_{$key}}{$field2} {/foreach} {else} {$linktext} {/if} |
{/if}
{/if}
{/foreach}
{if $item._can_edit}{$PALANG.edit}{else} {/if} | {if $item._can_delete}{$PALANG.del}{else} {/if} | {/foreach}