{$checked = ""} {$is_not_full = false} {$check_count = 0} {capture assign="select_options"} {foreach $apps as $app_id => $app} {if in_array($app_id, $user_filters) || !$user_filters} {$checked = "checked"} {$check_count = $check_count + 1} {else} {$checked = ""} {$is_not_full = true} {/if}
  • {/foreach} {/capture} [`Filter by app`]{if $is_not_full} ({$check_count}){/if}