{* $Id$ *} {title help="Directory" url="tiki-directory_admin_sites.php?parent=$parent"}{tr}Admin sites{/tr}{/title} {include file='tiki-directory_admin_bar.tpl'}

{tr}Parent directory category:{/tr}

{* Dislay a form to add or edit a site *}

{if $siteId}{tr}Edit a site{/tr}{else}{tr}Add a site{/tr}{/if}


{if $categs|@count ge '2'} {remarksbox type="tip" title="{tr}Tip{/tr}"}{tr}Use Ctrl+Click to select multiple options{/tr}{/remarksbox} {/if}
{if $prefs.directory_country_flag eq 'y'}
{/if}

{tr}Sites{/tr}

{* Display the list of categories (items) using pagination *} {* Links to edit, remove, browse the categories *}
{* table-responsive class cuts off css drop-down menus *} {if $prefs.directory_country_flag eq 'y'} {/if} {section name=user loop=$items} {if $prefs.directory_country_flag eq 'y'} {/if} {sectionelse} {if $prefs.directory_country_flag eq 'y'} {norecords _colspan=7} {else} {norecords _colspan=6} {/if} {/section}
{tr}Name{/tr} {tr}URL{/tr} {tr}Country{/tr} {tr}Hits{/tr} {tr}Valid{/tr}
{$items[user].name|escape} {$items[user].url}{$items[user].country} {$items[user].hits} {if $items[user].isValid eq 'y'} Yes {else} No {/if} {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|escape} {/section}
{if $items} {tr}Perform action with selected:{/tr} {/if}
{pagination_links cant=$cant_pages step=$prefs.maxRecords offset=$offset}{/pagination_links}