{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|escape:"htmlall"} {$LSsearch->sortDirection} {else} {$LSsearch->label_objectName|escape:"htmlall"} {/if} {else} {$LSsearch->label_objectName|escape:"htmlall"} {/if} {if $LSsearch->sort} {if $LSsearch->sortBy == 'subDn'} {$LSsearch->label_level|escape:"htmlall"} {$LSsearch->sortDirection} {else} {$LSsearch->label_level|escape:"htmlall"} {/if} {else} {$LSsearch->label_level|escape:"htmlall"} {/if} {if $LSsearch->sort} {if $LSsearch->sortBy == $cid} {tr msg=$conf.label|escape:"htmlall"} {$LSsearch->sortDirection} {else} {tr msg=$conf.label} {/if} {else} {tr msg=$conf.label} {/if} {$LSsearch->label_actions|escape:"htmlall"}
{$object->displayName|escape:"htmlall"} {$object->subDn|escape:"htmlall"}{if !isset($conf.escape) || $conf.escape}{$object->$cid|escape:"htmlall"}{else}{$object->$cid}{/if} {foreach from=$object->actions item=item} {$item.label|escape:"htmlall"} {/foreach}
{$LSsearch->label_no_result|escape:"htmlall"}
{$LSsearch->label_total|escape:"htmlall"} {if !empty($page.list)}

{tr msg='Nb / page :'} {foreach from=$LSsearch->getParam('nbObjectsByPageChoices') item=choice} {if $LSsearch->getParam('nbObjectsByPage') == $choice} {$choice} {else} {$choice} {/if} {/foreach}

{/if} {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'}