ldapsaisie/public_html/templates/default/global_search.tpl
2019-05-21 12:06:24 +02:00

29 lines
932 B
Smarty

{include file='ls:top.tpl'}
<form action='global_search.php' method='post' class='LSview_search' id='LSsearch_form'>
<div class='LSview_search'>
<input type='text' name='pattern' class='LSview_search' value='{$pattern|escape:"htmlall"}'/>
<input type='submit' value='{tr msg="Search"}' name='LSsearch_submit' class='LSview_search' />
</div>
<h1>{tr msg="Global search"}</h1>
{if $LSview_actions != ''}
<ul class='LSview-actions LSview_search'>
{foreach from=$LSview_actions item=item}
{if is_array($item)}
<li class='LSview-actions'><a href='{$item.url}' class='LSview-actions'><img src='{img name=$item.action}' alt='{tr msg=$label}' title='{tr msg=label}' /> {tr msg=$item.label}</a></li>
{/if}
{/foreach}
</ul>
{/if}
{foreach from=$pages item=page}
{$page}
{foreachelse}
<p style="text-align: center">{tr msg="This search didn't get any result."}</p>
{/foreach}
</form>
{include file='ls:bottom.tpl'}