{include file='ls:top.tpl'} {if $LSsearch->displaySubDn} {/if} {if $LSsearch->extraDisplayedColumns} {foreach from=$LSsearch->visibleExtraDisplayedColumns item=conf key=cid} {/foreach} {/if} {foreach from=$page.list item=object} {if $LSsearch->displaySubDn}{/if} {if $LSsearch->extraDisplayedColumns} {foreach from=$LSsearch->visibleExtraDisplayedColumns item=conf key=cid} {/foreach} {/if} {foreachelse} {/foreach}
{if $LSsearch->sort} {if $LSsearch->sortBy == 'displayName'} {$LSsearch->label_objectName} {$LSsearch->sortDirection} {else} {$LSsearch->label_objectName} {/if} {else} {$LSsearch->label_objectName} {/if} {if $LSsearch->sort} {if $LSsearch->sortBy == 'subDn'} {$LSsearch->label_level} {$LSsearch->sortDirection} {else} {$LSsearch->label_level} {/if} {else} {$LSsearch->label_level} {/if} {if $LSsearch->sort} {if $LSsearch->sortBy == $cid} {tr msg=$conf.label} {$LSsearch->sortDirection} {else} {tr msg=$conf.label} {/if} {else} {tr msg=$conf.label} {/if} {$LSsearch->label_actions}
{$object->displayName} {$object->subDn}{$object->$cid} {foreach from=$object->actions item=item} {$item.label} {/foreach}
{$LSsearch->label_no_result}
{$LSsearch->label_total} {if $page.nbPages > 1}

{if $page.nbPages > 10} {if $page.nb > 5} {if $page.nb > $page.nbPages-6} {assign var=start value=$page.nbPages-12} {else} {assign var=start value=$page.nb-6} {/if} {else} {assign var=start value=0} {/if} < {foreach from=0|range:10 item=i} {if $page.nb==$start+$i} {$page.nb+1} {else} {$i+$start+1} {/if} {/foreach} > {else} {section name=listpage loop=$page.nbPages step=1} {if $page.nb == $smarty.section.listpage.index} {$page.nb+1} {else} {$smarty.section.listpage.index+1} {/if} {/section} {/if}

{/if} {include file='ls:bottom.tpl'}