{counter assign=subCategoryCount start=0}
    {assign var=subCatCount value=0} {foreach from=Category::$list item=sCategory} {if $sCategory->data.category_parent eq $category->data.category_id && !$sCategory->data.category_archived} {counter print=false assign=subCatCount}
  • {$sCategory->data.category_name}
    {$sCategory->data.category_description}
  • {/if} {/foreach} {if $subCatCount eq 0}
  • {'There are no published themes'|gettext}
  • {/if}
    {assign var=subCatCount value=0} {foreach from=Category::$list item=sCategory} {if $sCategory->data.category_parent eq $category->data.category_id && $sCategory->data.category_archived == 1} {counter print=false assign=subCatCount}
  • {$sCategory->data.category_name}
    {$sCategory->data.category_description}
  • {/if} {/foreach} {if $subCatCount eq 0}
  • {'There are no unpublished themes'|gettext}
  • {/if}