{* *}{strip} {* *} {searchHistory assign=items} {* *} {if !empty($items)} {capture assign=result} {$prev = []} {foreach $items as $r} {$value = $r.keyword|default:''|escape} {if !empty($value) && !in_array($value|lower, $prev)}
  • {$value}
  • {$value = array_push($prev, $value|lower)} {/if} {/foreach} {/capture} {* *} {if !empty($result)} {* *}
    {/if} {/if} {/strip}