<div class='newslink' style='text-align: right'>
<form action='{$this->ipsclass->base_url}' method='post'>
<input type='hidden' name='automodule' value='gallery' />
<input type='hidden' name='req' value='search' />
<input type='hidden' name='search_where' value='{$type}' />
<input type='hidden' name='search_where_id' value='{$id}' />
<p>
<b>
<i>{$txt}</i></b><input name='search_for' type='text' /> 
<b>{$this->ipsclass->lang['search_in_in']}</b>&nbsp;&nbsp;<select class='select' name='search_in'><option value='caption'>{$this->ipsclass->lang['caption']}</option><option value='description'>{$this->ipsclass->lang['description']}</option></select>
<input type='submit' value='{$this->ipsclass->lang['search_button_sub']}' class='button' />
</p>
</form>
</div>