mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 11:52:59 +01:00
1e2316d76f
- Ajout du principe de relations entre type d'objets (LSrelation) Exemple : Utilisateur appartenant à un groupe - Ajout du LSformElement_select_object : Sélection d'un objet à travers une interface plus conviviale qu'une liste déroulante.
48 lines
2.3 KiB
Smarty
48 lines
2.3 KiB
Smarty
{include file='top.tpl'}
|
|
<form action='{$LSview_search.action}' method='post' class='LSview_search'>
|
|
<input type='hidden' name='LSobject' value='{$LSview_search.LSobject}' />
|
|
<input type='text' name='LSview_pattern' class='LSview_search' />
|
|
<input type='submit' value='{$LSview_search.submit}' class='LSview_search' />
|
|
<label class='LSview_search'>Recherche approximative : <input type='checkbox' name='LSview_approx' class='LSview_search' /></label>
|
|
</form>
|
|
<h1>
|
|
{$pagetitle}
|
|
</h1>
|
|
|
|
{if $LSview_actions != ''}
|
|
<p class='LSview-actions'>
|
|
{foreach from=$LSview_actions item=item}
|
|
<a href='{$item.url}' class='LSview-actions'><img src='templates/images/{$item.action}.png' alt='{$item.label}' title='{$item.label}' /> {$item.label}</a>
|
|
{/foreach}
|
|
</p>
|
|
{/if}
|
|
<table class='LSobject-list'>
|
|
<tr class='LSobject-list'>
|
|
<th class='LSobject-list'>{$LSobject_list_objectname}</th>
|
|
<th class='LSobject-list'>{$_Actions}</th>
|
|
</tr>
|
|
{foreach from=$LSobject_list item=object}
|
|
<tr class='LSobject-list{if $object.tr=='bis'} LSobject-list-bis{/if}'>
|
|
<td class='LSobject-list LSobject-list-names'><a href='view.php?LSobject={$LSobject_list_objecttype}&dn={$object.dn}' class='LSobject-list'>{$object.displayValue}</a> </td>
|
|
<td class='LSobject-list LSobject-list-actions'>
|
|
{if $object.actions!=''}
|
|
{foreach from=$object.actions item=item}
|
|
<a href='{$item.url}' class='LSobject-list-actions'><img src='templates/images/{$item.action}.png' alt='{$item.label}' title='{$item.label}'/></a>
|
|
{/foreach}
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
{/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}
|
|
<a href='view.php?LSobject={$LSobject_list_objecttype}&page={$smarty.section.listpage.index}&{$LSobject_list_filter}' class='LSobject-list-page'>{$smarty.section.listpage.index+1}</a>
|
|
{/if}
|
|
{/section}
|
|
</p>
|
|
{/if}
|
|
{include file='bottom.tpl'}
|