{if $LSsearch->displaySubDn} {/if} {foreach from=$page.list item=object} {if $LSsearch->displaySubDn} {/if} {foreachelse} {/foreach}
{if $LSsearch->sortBy == 'displayName'} {$LSsearch->label_objectName} {$LSsearch->sortDirection} {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}
LSselect}checked="true"{/if} class='LSobject-select' /> {$object->displayName}{$object->subDn}
{$LSsearch->label_no_result}
{if $page.nbPages > 1}

{if $page.nbPages > 10} {php}$this->assign('range', range(0,10));{/php} {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=$range 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}