2008-02-26 18:40:05 +01:00
|
|
|
{include file='top.tpl'}
|
|
|
|
<form action='{$LSview_search.action}' method='post' class='LSview_search'>
|
2008-06-18 14:27:35 +02:00
|
|
|
{foreach from=$LSview_search_hidden_fields item=value key=name}
|
|
|
|
<input type='hidden' name='{$name}' value='{$value}' />
|
|
|
|
{/foreach}
|
|
|
|
<input type='text' name='LSview_pattern' class='LSview_search' value="{$LSview_search_pattern}"/>
|
|
|
|
<input type='submit' value='{$LSview_search.submit}' name='LSview_search_submit' class='LSview_search' />
|
|
|
|
<p id='LSview_search_param'>
|
|
|
|
<label class='LSview_search'>{$LSview_search_approx_label} : <input type='checkbox' name='LSview_approx' class='LSview_search' {if $LSview_search_approx!=''}checked{/if} /></label>
|
|
|
|
<label class='LSview_search'>{$LSview_search_recur_label} : <input type='checkbox' name='LSview_recur' class='LSview_search' {if $LSview_search_recur!=''}checked{/if}/></label>
|
|
|
|
</p>
|
2008-02-26 18:40:05 +01:00
|
|
|
</form>
|
|
|
|
<h1>
|
|
|
|
{$pagetitle}
|
|
|
|
</h1>
|
2008-02-12 18:59:44 +01:00
|
|
|
|
|
|
|
{if $LSview_actions != ''}
|
|
|
|
<p class='LSview-actions'>
|
|
|
|
{foreach from=$LSview_actions item=item}
|
2008-02-26 18:40:05 +01:00
|
|
|
<a href='{$item.url}' class='LSview-actions'><img src='templates/images/{$item.action}.png' alt='{$item.label}' title='{$item.label}' /> {$item.label}</a>
|
2008-02-12 18:59:44 +01:00
|
|
|
{/foreach}
|
|
|
|
</p>
|
|
|
|
{/if}
|
2008-06-18 14:27:35 +02:00
|
|
|
|
|
|
|
<table class='LSobject-list'>
|
|
|
|
<tr class='LSobject-list'>
|
|
|
|
<th class='LSobject-list'>{$LSobject_list_objectname}</th>
|
|
|
|
{if $label_level}<th class='LSobject-list'>{$label_level}</th>{/if}
|
|
|
|
<th class='LSobject-list'>{$_Actions}</th>
|
|
|
|
</tr>
|
|
|
|
{foreach from=$LSobject_list item=object}
|
2008-02-26 18:40:05 +01:00
|
|
|
<tr class='LSobject-list{if $object.tr=='bis'} LSobject-list-bis{/if}'>
|
2008-02-08 18:39:24 +01:00
|
|
|
<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>
|
2008-06-18 14:27:35 +02:00
|
|
|
{if $label_level}<td class='LSobject-list LSobject-list-subdn'>{$object.subDn}</td>{/if}
|
2008-02-12 18:59:44 +01:00
|
|
|
<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>
|
2008-02-08 18:39:24 +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>
|
|
|
|
{/foreach}
|
2008-02-08 18:39:24 +01:00
|
|
|
</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}
|
2008-02-26 18:40:05 +01:00
|
|
|
<strong class='LSobject-list-page'>{$LSobject_list_currentpage+1}</strong>
|
2008-02-08 18:39:24 +01:00
|
|
|
{else}
|
2008-02-26 18:40:05 +01:00
|
|
|
<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>
|
2008-02-08 18:39:24 +01:00
|
|
|
{/if}
|
|
|
|
{/section}
|
|
|
|
</p>
|
|
|
|
{/if}
|
2008-02-26 18:40:05 +01:00
|
|
|
{include file='bottom.tpl'}
|