Commit fc339ad9 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie

Put the search form on the search.php page in an actual form, so it can

be submitted by pressing enter
parent 066e8f32
......@@ -3,14 +3,16 @@
{include file="columnfullstart.tpl"}
<div class="searchform">
<h2>{str tag="search"}</h2>
<form action="" method="get" onsubmit="doSearch(); return false;">
<input type="text" name="search_query" id="search_query">
<input type="text" name="search_query" id="search_query" value="{$search_query_value|escape}">
<select id="search_type">
<option value="user">{str tag=users}</option>
<option value="community">{str tag=communities}</option>
<button type="button" onclick="doSearch();">{str tag="go"}</button>
<input type="submit" class="submit" value="{str tag='go'}">
<div id="seachresults">
<h3>{str tag="results"}</h3>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment