{* $Id$ *} {title help="Directory"}{tr}Validate sites{/tr}{/title} {* Display the title using parent *} {include file='tiki-directory_admin_bar.tpl'}

{tr}Sites{/tr}

{* Display the list of categories (items) using pagination *} {* Links to edit, remove, browse the categories *}
{jq notonready=true} var CHECKBOX_LIST = [{{section name=user loop=$items}'sites[{$items[user].siteId}]'{if not $smarty.section.user.last},{/if}{/section}}]; {/jq}
{*the table-responsive class cuts off dropdown menus *} {if $prefs.directory_country_flag eq 'y'} {/if} {section name=user loop=$items} {if $prefs.directory_country_flag eq 'y'} {/if} {sectionelse} {norecords _colspan=6} {/section}
{if $items} {/if} {tr}Name{/tr} {tr}URL{/tr}{tr}country{/tr}{tr}Hits{/tr} {tr}Action{/tr}
{$items[user].name} {$items[user].url}{$items[user].country}{$items[user].hits} {actions} {strip} {icon name='edit' _menu_text='y' _menu_icon='y' alt="{tr}Edit{/tr}"} {icon name='remove' _menu_text='y' _menu_icon='y' alt="{tr}Remove{/tr}"} {/strip} {/actions}
  {tr}Directory Categories:{/tr}{assign var=fsfs value=1} {section name=ii loop=$items[user].cats} {if $fsfs}{assign var=fsfs value=0}{else}, {/if} {$items[user].cats[ii].path} {/section}
{if $items}
{tr}Perform action with selected:{/tr} {/if}
{pagination_links cant=$cant_pages step=$prefs.maxRecords offset=$offset}{/pagination_links}