+ {if $LSsearch->sort} + + {if $LSsearch->sortBy == 'displayName'} + {$LSsearch->label_objectName|escape:'htmlall'} + + {else} + {$LSsearch->label_objectName|escape:'htmlall'} + {/if} + + {else} + {$LSsearch->label_objectName|escape:'htmlall'} + {/if} + | + {if $LSsearch->displaySubDn} ++ {if $LSsearch->sort} + + {if $LSsearch->sortBy == 'subDn'} + {$LSsearch->label_level|escape:'htmlall'} + + {else} + {$LSsearch->label_level|escape:'htmlall'} + {/if} + + {else} + {$LSsearch->label_level|escape:'htmlall'} + {/if} + | + {/if} +{$LSsearch->label_actions} | +
---|---|---|
dn|escape:'url'}' class='LSobject-list'>{$object->displayName|escape:'htmlall'} | + {if $LSsearch->displaySubDn}{$object->subDn|escape:'htmlall'} | {/if} ++ {foreach from=$object->actions item=item} + + {/foreach} + | +
{$LSsearch->label_no_result|escape:'htmlall'} | +
+ + {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} diff --git a/public_html/templates/default/top.tpl b/public_html/templates/default/top.tpl index 2ca5bc01..cb464ed5 100644 --- a/public_html/templates/default/top.tpl +++ b/public_html/templates/default/top.tpl @@ -28,6 +28,14 @@ {/if} + + {if $globalSearch} + + {/if} +