<form action="index.php" method="get">

  <input type="hidden" name="p" value="forum" />
  <input type="hidden" name="area" value="{$area|default:'1'}" />
  <input type="hidden" name="action" value="xsearch" />
  <input name="search_post" type="hidden" value="1">
  <input type="text" name="pattern" size="30" />
  <input class="button" type="submit" value="{$lang.search}" />
  <input class="button" type="button" onclick="location.href='index.php?p=forum&amp;action=search_mask&amp;area={$area|default:'1'}';" value="{$lang.f_link_search_mask}" />
</form>
