Global search : add button to trigger search

This commit is contained in:
Benjamin Renard 2019-06-05 12:52:20 +02:00
parent 1b28066189
commit 64737fcdf9
2 changed files with 7 additions and 2 deletions

View file

@ -109,11 +109,15 @@ form.LSglobal_search {
}
input.LSglobal_search {
background: url(../../images/default/find.png) no-repeat right #fff;
padding-right: 18px;
padding-right: 23px;
width: 138px!important;
}
form.LSglobal_search input[type='image'] {
margin-left: -25px;
margin-bottom: -3px;
}
ul.menu {
list-style-image: url(../../images/default/puce.png);
}

View file

@ -33,6 +33,7 @@
<form action='global_search.php' method='post' class='LSview_search LSglobal_search'>
<input type='hidden' name='LSsearch_submit' value='1'/>
<input type='text' name='pattern' class='LSview_search LSglobal_search' placeholder='{tr msg='Global search'}'/>
<input type='image' src='{img name='find'}' alt='{tr msg='Global search'}' title='{tr msg='Global search'}' />
</form>
{/if}