summaryrefslogtreecommitdiff
path: root/templates/minifind.tpl
blob: 80a5279796e41291fb241421d6d5f1811398b1b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
{strip}
{form class="minifind" legend=$legend}
	{foreach from=$hidden item=value key=name}
		<input type="hidden" name="{$name}" value="{$value}" />
	{/foreach}
	{biticon ipackage="icons" iname="edit-find" iexplain="Search"}
	<input type="text" name="find" value="{$find|default:$smarty.request.find|default:$prompt|escape}" {if $prompt}onclick="if (this.value == '{$prompt}') this.value = '';"{/if}/>&nbsp;
	<input type="submit" name="search" value="{tr}Find{/tr}" />&nbsp;
	<input type="button" onclick="location.href='{$smarty.server.PHP_SELF}{if $hidden}?{/if}{foreach from=$hidden item=value key=name}{$name}={$value}&amp;{/foreach}'" value="{tr}Reset{/tr}" />
{/form}
{/strip}