2008-02-26 18:40:05 +01:00
|
|
|
<table class='LSobject-list' id='LSselect-object' caption='{$LSobject_list_objecttype}'>
|
|
|
|
<tr class='LSobject-list'>
|
|
|
|
<th class='LSobject-list LSobject-select-check'></th>
|
2009-01-07 20:58:08 +01:00
|
|
|
<th class='LSobject-list sortBy_displayName'>{if $LSobject_list_orderby == 'displayName'}<strong>{$LSobject_list_objectname}</strong><img src='{$LS_IMAGES_DIR}/{$LSobject_list_ordersense}.png' class='LSobject-list-ordersense' alt='{$LSobject_list_ordersense}'/>{else}{$LSobject_list_objectname}{/if}</th>
|
2008-10-09 03:31:33 +02:00
|
|
|
{if $LSobject_list_subDn}<th class='LSobject-list LSobject-list-subdn sortBy_subDn'>{if $LSobject_list_orderby == 'subDn'}<strong>{$label_level}</strong><img src='{$LS_IMAGES_DIR}/{$LSobject_list_ordersense}.png' class='LSobject-list-ordersense' alt='{$LSobject_list_ordersense}'/>{else}{$label_level}{/if}</th>{/if}
|
2008-02-26 18:40:05 +01:00
|
|
|
</tr>
|
2008-06-20 17:52:15 +02:00
|
|
|
{assign var='bis' value=false}
|
2008-02-26 18:40:05 +01:00
|
|
|
{foreach from=$LSobject_list item=object}
|
2008-06-20 17:52:15 +02:00
|
|
|
<tr class='LSobject-list{if $bis} LSobject-list-bis{assign var='bis' value=false}{else}{assign var='bis' value=true}{/if}'>
|
2008-11-14 16:19:06 +01:00
|
|
|
<td class='LSobject-list LSobject-select-check'><input type='{if $LSselect_multiple}checkbox{else}radio{/if}' name='LSobjects_selected[]' value='{$object.dn}' {if $object.select}checked="true"{/if} class='LSobject-select' /></td>
|
2009-01-07 20:58:08 +01:00
|
|
|
<td class='LSobject-list LSobject-select-names'>{$object.displayName}</td>
|
2008-06-20 17:52:15 +02:00
|
|
|
{if $LSobject_list_subDn}<td class='LSobject-list LSobject-select-level'>{$object.subDn}</td>{/if}
|
2008-02-26 18:40:05 +01:00
|
|
|
</tr>
|
2008-06-18 14:27:35 +02:00
|
|
|
{foreachelse}
|
|
|
|
<tr class='LSobject-list'>
|
|
|
|
<td colspan='3' class='LSobject-list-without-result'>{$LSobject_list_without_result_label}</td>
|
|
|
|
</tr>
|
2008-02-26 18:40:05 +01:00
|
|
|
{/foreach}
|
|
|
|
</table>
|
|
|
|
{if $LSobject_list_nbpage}
|
|
|
|
<p class='LSobject-list-page'>
|
|
|
|
{section name=listpage loop=$LSobject_list_nbpage step=1}
|
|
|
|
{if $LSobject_list_currentpage == $smarty.section.listpage.index}
|
|
|
|
<strong class='LSobject-list-page'>{$LSobject_list_currentpage+1}</strong>
|
|
|
|
{else}
|
2008-09-28 13:05:02 +02:00
|
|
|
<a href='select.php?LSobject={$LSobject_list_objecttype}&multiple={$LSselect_multiple}&page={$smarty.section.listpage.index}&{$LSobject_list_filter}' class='LSobject-list-page'>{$smarty.section.listpage.index+1}</a>
|
2008-02-26 18:40:05 +01:00
|
|
|
{/if}
|
|
|
|
{/section}
|
|
|
|
</p>
|
|
|
|
{/if}
|
2008-07-05 22:28:49 +02:00
|
|
|
<div id='LSdebug_txt'>{$LSdebug_txt}</div>
|
|
|
|
<div id='LSerror_txt'>{$LSerror_txt}</div>
|